openssl/providers/implementations/ciphers
Tomas Mraz 3a95d1e41a update/final: Return error if key is not set
Also make sure the key is not set if the key
length is changed on the context after the key was
set previously.

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22590)
2023-11-03 13:36:13 +01:00
..
build.info Remove AES SIV ciphers from the FIPS provider 2023-03-01 18:35:01 +11:00
cipher_aes_cbc_hmac_sha1_hw.c Update copyright year 2021-06-17 13:24:59 +01:00
cipher_aes_cbc_hmac_sha256_hw.c Update copyright year 2021-06-17 13:24:59 +01:00
cipher_aes_cbc_hmac_sha.c Add dupctx support to rc4_hmac_md5 algo 2023-09-12 15:59:11 +02:00
cipher_aes_cbc_hmac_sha.h prov: prefix all exposed 'cipher' symbols with ossl_ 2020-10-01 10:33:57 +10:00
cipher_aes_ccm_hw_aesni.inc Update copyright year 2021-03-11 13:27:36 +00:00
cipher_aes_ccm_hw_rv32i.inc Copyright year updates 2023-09-07 09:59:15 +01:00
cipher_aes_ccm_hw_rv64i.inc riscv: Implement AES-192 2023-10-26 15:55:49 +01:00
cipher_aes_ccm_hw_s390x.inc Update copyright year 2020-10-15 14:10:06 +01:00
cipher_aes_ccm_hw_t4.inc Update copyright year 2021-03-11 13:27:36 +00:00
cipher_aes_ccm_hw.c Copyright year updates 2023-09-07 09:59:15 +01:00
cipher_aes_ccm.c Copyright year updates 2023-09-28 14:23:29 +01:00
cipher_aes_ccm.h Update copyright year 2020-10-15 14:10:06 +01:00
cipher_aes_cts.inc Refactor cipher aes_cts code so that it can be used by other 128bit ciphers 2021-08-18 08:38:40 +10:00
cipher_aes_gcm_hw_aesni.inc Update copyright year 2022-05-03 13:34:51 +01:00
cipher_aes_gcm_hw_armv8.inc Update copyright year 2022-05-03 13:34:51 +01:00
cipher_aes_gcm_hw_ppc.inc Fix AES-GCM on Power 8 CPUs 2022-09-13 14:41:39 +02:00
cipher_aes_gcm_hw_rv32i.inc Copyright year updates 2023-09-07 09:59:15 +01:00
cipher_aes_gcm_hw_rv64i.inc Provide additional AES-GCM test patterns to enhance test coverage. 2023-10-26 15:55:50 +01:00
cipher_aes_gcm_hw_s390x.inc Update copyright year 2021-06-17 13:24:59 +01:00
cipher_aes_gcm_hw_t4.inc Update copyright year 2021-03-11 13:27:36 +00:00
cipher_aes_gcm_hw_vaes_avx512.inc Avoid another copy of key schedule pointer in PROV_GCM_CTX 2023-10-16 12:12:36 +02:00
cipher_aes_gcm_hw.c Minor changes of the GCM-related code. 2023-10-26 15:55:50 +01:00
cipher_aes_gcm_siv_hw.c Fix AES-GCM-SIV endian issues 2022-08-01 10:23:57 +02:00
cipher_aes_gcm_siv_polyval.c Copyright year updates 2023-09-07 09:59:15 +01:00
cipher_aes_gcm_siv.c Fix aes_gcm_siv dupctx function 2023-09-12 15:59:11 +02:00
cipher_aes_gcm_siv.h Fix AES-GCM-SIV endian issues 2022-08-01 10:23:57 +02:00
cipher_aes_gcm.c Copyright year updates 2023-09-28 14:23:29 +01:00
cipher_aes_gcm.h Update copyright year 2021-06-17 13:24:59 +01:00
cipher_aes_hw_aesni.inc Update copyright year 2021-02-18 15:05:17 +00:00
cipher_aes_hw_rv32i.inc Copyright year updates 2023-09-07 09:59:15 +01:00
cipher_aes_hw_rv64i.inc riscv: Provide vector crypto implementation of AES-ECB mode. 2023-10-26 15:55:50 +01:00
cipher_aes_hw_s390x.inc Fix CipherInit on s390x. 2021-06-08 14:32:44 +10:00
cipher_aes_hw_t4.inc Update copyright year 2021-02-18 15:05:17 +00:00
cipher_aes_hw.c Copyright year updates 2023-09-07 09:59:15 +01:00
cipher_aes_ocb_hw.c riscv: Implement AES-192 2023-10-26 15:55:49 +01:00
cipher_aes_ocb.c When changing IV length invalidate previously set IV 2023-11-03 13:36:13 +01:00
cipher_aes_ocb.h Update copyright year 2020-10-15 14:10:06 +01:00
cipher_aes_siv_hw.c Update copyright year 2021-04-08 13:04:41 +01:00
cipher_aes_siv.c "foo * bar" should be "foo *bar" 2023-09-11 10:15:30 +02:00
cipher_aes_siv.h Update copyright year 2021-02-18 15:05:17 +00:00
cipher_aes_wrp.c implement dupctx for aes_WRAP methods 2023-09-12 15:59:11 +02:00
cipher_aes_xts_fips.c Update copyright year 2021-04-08 13:04:41 +01:00
cipher_aes_xts_hw.c riscv: Provide vector crypto implementation of AES-128/256-XTS mode. 2023-10-26 15:55:50 +01:00
cipher_aes_xts.c Copyright year updates 2023-09-07 09:59:15 +01:00
cipher_aes_xts.h Update copyright year 2021-04-08 13:04:41 +01:00
cipher_aes.c Stop raising ERR_R_MALLOC_FAILURE in most places 2022-10-05 14:02:03 +02:00
cipher_aes.h Update copyright year 2020-10-15 14:10:06 +01:00
cipher_aria_ccm_hw.c Add ossl_aria symbols 2021-03-18 17:52:37 +10:00
cipher_aria_ccm.c Copyright year updates 2023-09-28 14:23:29 +01:00
cipher_aria_ccm.h Update copyright year 2020-10-15 14:10:06 +01:00
cipher_aria_gcm_hw.c Add ossl_aria symbols 2021-03-18 17:52:37 +10:00
cipher_aria_gcm.c Copyright year updates 2023-09-28 14:23:29 +01:00
cipher_aria_gcm.h Update copyright year 2020-10-15 14:10:06 +01:00
cipher_aria_hw.c Add ossl_aria symbols 2021-03-18 17:52:37 +10:00
cipher_aria.c Stop raising ERR_R_MALLOC_FAILURE in most places 2022-10-05 14:02:03 +02:00
cipher_aria.h Update copyright year 2020-10-15 14:10:06 +01:00
cipher_blowfish_hw.c prov: prefix provider internal functions with ossl_ 2020-09-29 16:33:16 +10:00
cipher_blowfish.c Stop raising ERR_R_MALLOC_FAILURE in most places 2022-10-05 14:02:03 +02:00
cipher_blowfish.h Update copyright year 2020-10-15 14:10:06 +01:00
cipher_camellia_cts.inc Add support for camellia cbc cts mode 2021-08-18 08:38:40 +10:00
cipher_camellia_hw_t4.inc Update copyright year 2021-02-18 15:05:17 +00:00
cipher_camellia_hw.c Update copyright year 2021-02-18 15:05:17 +00:00
cipher_camellia.c Stop raising ERR_R_MALLOC_FAILURE in most places 2022-10-05 14:02:03 +02:00
cipher_camellia.h Update copyright year 2021-06-17 13:24:59 +01:00
cipher_cast5_hw.c prov: prefix provider internal functions with ossl_ 2020-09-29 16:33:16 +10:00
cipher_cast5.c Stop raising ERR_R_MALLOC_FAILURE in most places 2022-10-05 14:02:03 +02:00
cipher_cast.h Update copyright year 2020-10-15 14:10:06 +01:00
cipher_chacha20_hw.c Update copyright year 2021-01-28 13:54:57 +01:00
cipher_chacha20_poly1305_hw.c Copyright year updates 2023-09-07 09:59:15 +01:00
cipher_chacha20_poly1305.c implement dupctx for chacha20_poly1305 2023-09-12 15:59:11 +02:00
cipher_chacha20_poly1305.h Copyright year updates 2023-09-07 09:59:15 +01:00
cipher_chacha20.c Copyright year updates 2023-09-07 09:59:15 +01:00
cipher_chacha20.h Update copyright year 2021-03-11 13:27:36 +00:00
cipher_cts.c Update copyright year 2022-05-03 13:34:51 +01:00
cipher_cts.h Copyright year updates 2023-09-07 09:59:15 +01:00
cipher_des_hw.c Fix Coverity 1498605 & 1498606: uninitialised value 2022-07-06 10:37:12 +10:00
cipher_des.c update/final: Return error if key is not set 2023-11-03 13:36:13 +01:00
cipher_des.h Update copyright year 2021-02-18 15:05:17 +00:00
cipher_desx_hw.c prov: prefix provider internal functions with ossl_ 2020-09-29 16:33:16 +10:00
cipher_desx.c Update copyright year 2020-04-23 13:55:52 +01:00
cipher_idea_hw.c prov: prefix provider internal functions with ossl_ 2020-09-29 16:33:16 +10:00
cipher_idea.c Stop raising ERR_R_MALLOC_FAILURE in most places 2022-10-05 14:02:03 +02:00
cipher_idea.h Update copyright year 2020-10-15 14:10:06 +01:00
cipher_null.c Copyright year updates 2023-09-07 09:59:15 +01:00
cipher_rc2_hw.c prov: prefix provider internal functions with ossl_ 2020-09-29 16:33:16 +10:00
cipher_rc2.c "foo * bar" should be "foo *bar" 2023-09-11 10:15:30 +02:00
cipher_rc2.h Update copyright year 2020-10-15 14:10:06 +01:00
cipher_rc4_hmac_md5_hw.c Fix RC4-MD5 based ciphersuites 2020-11-25 10:14:43 +00:00
cipher_rc4_hmac_md5.c Add dupctx support to rc4_hmac_md5 algo 2023-09-12 15:59:11 +02:00
cipher_rc4_hmac_md5.h Copyright year updates 2023-09-07 09:59:15 +01:00
cipher_rc4_hw.c prov: prefix provider internal functions with ossl_ 2020-09-29 16:33:16 +10:00
cipher_rc4.c "foo * bar" should be "foo *bar" 2023-09-11 10:15:30 +02:00
cipher_rc4.h Update copyright year 2020-10-15 14:10:06 +01:00
cipher_rc5_hw.c prov: prefix provider internal functions with ossl_ 2020-09-29 16:33:16 +10:00
cipher_rc5.c "foo * bar" should be "foo *bar" 2023-09-11 10:15:30 +02:00
cipher_rc5.h Fix PROV_RC5_CTX's original structure name 2022-09-12 08:38:48 +02:00
cipher_seed_hw.c prov: prefix provider internal functions with ossl_ 2020-09-29 16:33:16 +10:00
cipher_seed.c Stop raising ERR_R_MALLOC_FAILURE in most places 2022-10-05 14:02:03 +02:00
cipher_seed.h Update copyright year 2020-10-15 14:10:06 +01:00
cipher_sm4_ccm_hw_rv64i.inc Update for Zvkb extension. 2023-10-26 15:55:50 +01:00
cipher_sm4_ccm_hw.c riscv: SM4: Provide a Zvksed-based implementation 2023-10-26 15:55:49 +01:00
cipher_sm4_ccm.c Copyright year updates 2023-09-28 14:23:29 +01:00
cipher_sm4_ccm.h riscv: SM4: Provide a Zvksed-based implementation 2023-10-26 15:55:49 +01:00
cipher_sm4_gcm_hw_rv64i.inc Update for Zvkb extension. 2023-10-26 15:55:50 +01:00
cipher_sm4_gcm_hw.c riscv: SM4: Provide a Zvksed-based implementation 2023-10-26 15:55:49 +01:00
cipher_sm4_gcm.c Copyright year updates 2023-09-28 14:23:29 +01:00
cipher_sm4_gcm.h providers: Add SM4 GCM implementation 2021-09-28 19:27:58 +10:00
cipher_sm4_hw_rv64i.inc Update for Zvkb extension. 2023-10-26 15:55:50 +01:00
cipher_sm4_hw.c riscv: SM4: Provide a Zvksed-based implementation 2023-10-26 15:55:49 +01:00
cipher_sm4_xts_hw_rv64i.inc Update for Zvkb extension. 2023-10-26 15:55:50 +01:00
cipher_sm4_xts_hw.c riscv: SM4: Provide a Zvksed-based implementation 2023-10-26 15:55:49 +01:00
cipher_sm4_xts.c Copyright year updates 2023-09-07 09:59:15 +01:00
cipher_sm4_xts.h Copyright year updates 2023-09-07 09:59:15 +01:00
cipher_sm4.c Stop raising ERR_R_MALLOC_FAILURE in most places 2022-10-05 14:02:03 +02:00
cipher_sm4.h Update copyright year 2022-05-03 13:34:51 +01:00
cipher_tdes_common.c update/final: Return error if key is not set 2023-11-03 13:36:13 +01:00
cipher_tdes_default_hw.c Fix Coverity 1498605 & 1498606: uninitialised value 2022-07-06 10:37:12 +10:00
cipher_tdes_default.c Update copyright year 2022-05-03 13:34:51 +01:00
cipher_tdes_default.h Update copyright year 2020-10-15 14:10:06 +01:00
cipher_tdes_hw.c prov: prefix all exposed 'cipher' symbols with ossl_ 2020-10-01 10:33:57 +10:00
cipher_tdes_wrap_hw.c prov: prefix all exposed 'cipher' symbols with ossl_ 2020-10-01 10:33:57 +10:00
cipher_tdes_wrap.c Copyright year updates 2023-09-07 09:59:15 +01:00
cipher_tdes.c Update copyright year 2022-05-03 13:34:51 +01:00
cipher_tdes.h Copyright year updates 2023-09-07 09:59:15 +01:00
ciphercommon_block.c Copyright year updates 2023-09-07 09:59:15 +01:00
ciphercommon_ccm_hw.c Update copyright year 2021-03-11 13:27:36 +00:00
ciphercommon_ccm.c When changing IV length invalidate previously set IV 2023-11-03 13:36:13 +01:00
ciphercommon_gcm_hw.c Update copyright year 2021-03-11 13:27:36 +00:00
ciphercommon_gcm.c When changing IV length invalidate previously set IV 2023-11-03 13:36:13 +01:00
ciphercommon_hw.c Fix param indentation in ciphercommon_hw.c 2021-06-01 15:22:30 +10:00
ciphercommon_local.h Update copyright year 2021-03-11 13:27:36 +00:00
ciphercommon.c update/final: Return error if key is not set 2023-11-03 13:36:13 +01:00