openssl/providers/implementations/ciphers
Tomas Mraz 8bc5b0a570 chacha20: Properly reinitialize the cipher context with NULL key
Same for chacha20-poly1305.

The test_cipher_reinit and test_cipher_reinit_partialupdate is modified
to test this case of cipher context reinitialization.

Fixes #13064

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13850)
2021-01-13 18:04:28 +01:00
..
build.info Change AES-CTS modes CS2 and CS3 to also be inside the fips module. 2020-12-14 13:46:49 +10:00
cipher_aes_cbc_hmac_sha1_hw.c remove unused assignments 2020-12-03 11:21:33 +10:00
cipher_aes_cbc_hmac_sha256_hw.c remove unused assignments 2020-12-03 11:21:33 +10:00
cipher_aes_cbc_hmac_sha.c Fix RC4-MD5 based ciphersuites 2020-11-25 10:14:43 +00: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 2020-10-15 14:10:06 +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 2020-10-15 14:10:06 +01:00
cipher_aes_ccm_hw.c
cipher_aes_ccm.c
cipher_aes_ccm.h Update copyright year 2020-10-15 14:10:06 +01:00
cipher_aes_cts.c Change AES-CTS modes CS2 and CS3 to also be inside the fips module. 2020-12-14 13:46:49 +10:00
cipher_aes_cts.h
cipher_aes_cts.inc prov: prefix all exposed 'cipher' symbols with ossl_ 2020-10-01 10:33:57 +10:00
cipher_aes_gcm_hw_aesni.inc
cipher_aes_gcm_hw_armv8.inc
cipher_aes_gcm_hw_s390x.inc Update copyright year 2020-10-15 14:10:06 +01:00
cipher_aes_gcm_hw_t4.inc
cipher_aes_gcm_hw.c
cipher_aes_gcm.c
cipher_aes_gcm.h Update copyright year 2020-10-15 14:10:06 +01:00
cipher_aes_hw_aesni.inc Update copyright year 2020-10-15 14:10:06 +01:00
cipher_aes_hw_s390x.inc Update copyright year 2020-10-15 14:10:06 +01:00
cipher_aes_hw_t4.inc Update copyright year 2020-11-05 13:37:26 +00:00
cipher_aes_hw.c prov: prefix all exposed 'cipher' symbols with ossl_ 2020-10-01 10:33:57 +10:00
cipher_aes_ocb_hw.c
cipher_aes_ocb.c Fix instances of pointer addition with the NULL pointer 2020-11-30 10:37:14 +00:00
cipher_aes_ocb.h Update copyright year 2020-10-15 14:10:06 +01:00
cipher_aes_siv_hw.c Rename OPENSSL_CTX prefix to OSSL_LIB_CTX 2020-10-15 11:59:53 +01:00
cipher_aes_siv.c Rename some occurrences of 'library_context' and 'lib_ctx' to 'libctx' 2020-10-15 12:00:21 +01:00
cipher_aes_siv.h Rename OPENSSL_CTX prefix to OSSL_LIB_CTX 2020-10-15 11:59:53 +01:00
cipher_aes_wrp.c Add AES KW inverse ciphers to the EVP layer 2020-11-02 09:22:14 +10:00
cipher_aes_xts_fips.c
cipher_aes_xts_hw.c Fix Aes-xts potential failure on aarch64 2020-10-20 13:45:01 +02:00
cipher_aes_xts.c prov: prefix all exposed 'cipher' symbols with ossl_ 2020-10-01 10:33:57 +10:00
cipher_aes_xts.h Update copyright year 2020-10-15 14:10:06 +01:00
cipher_aes.c prov: prefix all exposed 'cipher' symbols with ossl_ 2020-10-01 10:33:57 +10:00
cipher_aes.h Update copyright year 2020-10-15 14:10:06 +01:00
cipher_aria_ccm_hw.c Update copyright year 2020-10-15 14:10:06 +01:00
cipher_aria_ccm.c
cipher_aria_ccm.h Update copyright year 2020-10-15 14:10:06 +01:00
cipher_aria_gcm_hw.c
cipher_aria_gcm.c
cipher_aria_gcm.h Update copyright year 2020-10-15 14:10:06 +01:00
cipher_aria_hw.c Update copyright year 2020-10-15 14:10:06 +01:00
cipher_aria.c prov: prefix all exposed 'cipher' symbols with ossl_ 2020-10-01 10:33:57 +10:00
cipher_aria.h Update copyright year 2020-10-15 14:10:06 +01:00
cipher_blowfish_hw.c
cipher_blowfish.c prov: prefix all exposed 'cipher' symbols with ossl_ 2020-10-01 10:33:57 +10:00
cipher_blowfish.h Update copyright year 2020-10-15 14:10:06 +01:00
cipher_camellia_hw_t4.inc Update copyright year 2020-11-05 13:37:26 +00:00
cipher_camellia_hw.c prov: prefix all exposed 'cipher' symbols with ossl_ 2020-10-01 10:33:57 +10:00
cipher_camellia.c prov: prefix all exposed 'cipher' symbols with ossl_ 2020-10-01 10:33:57 +10:00
cipher_camellia.h Update copyright year 2020-10-15 14:10:06 +01:00
cipher_cast5_hw.c
cipher_cast5.c prov: prefix all exposed 'cipher' symbols with ossl_ 2020-10-01 10:33:57 +10:00
cipher_cast.h Update copyright year 2020-10-15 14:10:06 +01:00
cipher_chacha20_hw.c chacha20: Properly reinitialize the cipher context with NULL key 2021-01-13 18:04:28 +01:00
cipher_chacha20_poly1305_hw.c chacha20: Properly reinitialize the cipher context with NULL key 2021-01-13 18:04:28 +01:00
cipher_chacha20_poly1305.c prov: prefix all exposed 'cipher' symbols with ossl_ 2020-10-01 10:33:57 +10:00
cipher_chacha20_poly1305.h Update copyright year 2020-10-15 14:10:06 +01:00
cipher_chacha20.c prov: prefix all exposed 'cipher' symbols with ossl_ 2020-10-01 10:33:57 +10:00
cipher_chacha20.h
cipher_des_hw.c
cipher_des.c prov: prefix all exposed 'cipher' symbols with ossl_ 2020-10-01 10:33:57 +10:00
cipher_des.h
cipher_desx_hw.c
cipher_desx.c
cipher_idea_hw.c
cipher_idea.c prov: prefix all exposed 'cipher' symbols with ossl_ 2020-10-01 10:33:57 +10:00
cipher_idea.h Update copyright year 2020-10-15 14:10:06 +01:00
cipher_null.c prov: prefix all exposed 'cipher' symbols with ossl_ 2020-10-01 10:33:57 +10:00
cipher_rc2_hw.c
cipher_rc2.c prov: prefix all exposed 'cipher' symbols with ossl_ 2020-10-01 10:33:57 +10: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 Fix enable-weak-ssl-ciphers 2021-01-13 09:04:49 +00:00
cipher_rc4_hmac_md5.h Update copyright year 2020-10-15 14:10:06 +01:00
cipher_rc4_hw.c
cipher_rc4.c prov: prefix all exposed 'cipher' symbols with ossl_ 2020-10-01 10:33:57 +10:00
cipher_rc4.h Update copyright year 2020-10-15 14:10:06 +01:00
cipher_rc5_hw.c
cipher_rc5.c prov: prefix all exposed 'cipher' symbols with ossl_ 2020-10-01 10:33:57 +10:00
cipher_rc5.h Update copyright year 2020-10-15 14:10:06 +01:00
cipher_seed_hw.c
cipher_seed.c prov: prefix all exposed 'cipher' symbols with ossl_ 2020-10-01 10:33:57 +10:00
cipher_seed.h Update copyright year 2020-10-15 14:10:06 +01:00
cipher_sm4_hw.c Update copyright year 2020-10-15 14:10:06 +01:00
cipher_sm4.c prov: prefix all exposed 'cipher' symbols with ossl_ 2020-10-01 10:33:57 +10:00
cipher_sm4.h Update copyright year 2020-10-15 14:10:06 +01:00
cipher_tdes_common.c prov: prefix all exposed 'cipher' symbols with ossl_ 2020-10-01 10:33:57 +10:00
cipher_tdes_default_hw.c prov: prefix all exposed 'cipher' symbols with ossl_ 2020-10-01 10:33:57 +10:00
cipher_tdes_default.c
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 Convert all {NAME}err() in providers/ to their corresponding ERR_raise() call 2020-11-11 12:15:48 +01:00
cipher_tdes.c
cipher_tdes.h prov: prefix all exposed 'cipher' symbols with ossl_ 2020-10-01 10:33:57 +10:00
ciphercommon_block.c Rename OPENSSL_CTX prefix to OSSL_LIB_CTX 2020-10-15 11:59:53 +01:00
ciphercommon_ccm_hw.c
ciphercommon_ccm.c
ciphercommon_gcm_hw.c
ciphercommon_gcm.c Rename some occurrences of 'library_context' and 'lib_ctx' to 'libctx' 2020-10-15 12:00:21 +01:00
ciphercommon_hw.c Update copyright year 2020-10-15 14:10:06 +01:00
ciphercommon_local.h Rename OPENSSL_CTX prefix to OSSL_LIB_CTX 2020-10-15 11:59:53 +01:00
ciphercommon.c Update copyright year 2021-01-07 13:38:50 +00:00