openssl/providers/implementations/ciphers
Benjamin Kaduk 7cc5e0d283 Allow oversized buffers for provider cipher IV fetch
When we're fetching an IV, there's no need to enforce that the
provided buffer is exactly the same size as the IV we want to
write into it.  This might happen, for example, when
EVP_CIPHER_CTX_iv_noconst() passes sizeof(ctx->iv) (that is,
EVP_MAX_IV_LENGTH) for an AES-GCM cipher that uses a shorter IV.
AES-OCB and CCM were also affected.

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/12039)
2020-06-20 09:46:41 -07:00
..
build.info Fix no-pic static builds 2020-04-15 11:46:00 +02:00
cipher_aes_cbc_hmac_sha1_hw.c Update copyright year 2020-04-23 13:55:52 +01:00
cipher_aes_cbc_hmac_sha256_hw.c Update copyright year 2020-04-23 13:55:52 +01:00
cipher_aes_cbc_hmac_sha.c Set cipher IV as octet string and pointer from providers 2020-06-20 09:46:30 -07:00
cipher_aes_cbc_hmac_sha.h Update copyright year 2020-04-23 13:55:52 +01:00
cipher_aes_ccm_hw_aesni.inc
cipher_aes_ccm_hw_s390x.inc
cipher_aes_ccm_hw_t4.inc
cipher_aes_ccm_hw.c Update copyright year 2020-04-23 13:55:52 +01:00
cipher_aes_ccm.c Update copyright year 2020-04-23 13:55:52 +01:00
cipher_aes_ccm.h
cipher_aes_gcm_hw_aesni.inc Update copyright year 2020-04-23 13:55:52 +01:00
cipher_aes_gcm_hw_armv8.inc Update copyright year 2020-04-23 13:55:52 +01:00
cipher_aes_gcm_hw_s390x.inc
cipher_aes_gcm_hw_t4.inc Update copyright year 2020-04-23 13:55:52 +01:00
cipher_aes_gcm_hw.c Update copyright year 2020-04-23 13:55:52 +01:00
cipher_aes_gcm.c Update copyright year 2020-04-23 13:55:52 +01:00
cipher_aes_gcm.h
cipher_aes_hw_aesni.inc
cipher_aes_hw_s390x.inc
cipher_aes_hw_t4.inc
cipher_aes_hw.c Update copyright year 2020-04-23 13:55:52 +01:00
cipher_aes_ocb_hw.c Update copyright year 2020-04-23 13:55:52 +01:00
cipher_aes_ocb.c Allow oversized buffers for provider cipher IV fetch 2020-06-20 09:46:41 -07:00
cipher_aes_ocb.h
cipher_aes_siv_hw.c Update copyright year 2020-04-23 13:55:52 +01:00
cipher_aes_siv.c Update copyright year 2020-04-23 13:55:52 +01:00
cipher_aes_siv.h
cipher_aes_wrp.c Update copyright year 2020-04-23 13:55:52 +01:00
cipher_aes_xts_fips.c Rename FIPS_MODE to FIPS_MODULE 2020-04-28 15:37:37 +02:00
cipher_aes_xts_hw.c Update copyright year 2020-04-23 13:55:52 +01:00
cipher_aes_xts.c Update copyright year 2020-04-23 13:55:52 +01:00
cipher_aes_xts.h
cipher_aes.c Update copyright year 2020-04-23 13:55:52 +01:00
cipher_aes.h
cipher_aria_ccm_hw.c
cipher_aria_ccm.c
cipher_aria_ccm.h
cipher_aria_gcm_hw.c Update copyright year 2020-04-23 13:55:52 +01:00
cipher_aria_gcm.c
cipher_aria_gcm.h
cipher_aria_hw.c
cipher_aria.c
cipher_aria.h
cipher_blowfish_hw.c Update copyright year 2020-04-23 13:55:52 +01:00
cipher_blowfish.c Update copyright year 2020-04-23 13:55:52 +01:00
cipher_blowfish.h
cipher_camellia_hw_t4.inc
cipher_camellia_hw.c Update copyright year 2020-04-23 13:55:52 +01:00
cipher_camellia.c Update copyright year 2020-04-23 13:55:52 +01:00
cipher_camellia.h
cipher_cast5_hw.c Update copyright year 2020-04-23 13:55:52 +01:00
cipher_cast5.c Fix incorrect default keysize for CAST ofb and cfb modes. 2020-05-05 09:38:08 +10:00
cipher_cast.h
cipher_chacha20_hw.c
cipher_chacha20_poly1305_hw.c
cipher_chacha20_poly1305.c
cipher_chacha20_poly1305.h
cipher_chacha20.c
cipher_chacha20.h
cipher_des_hw.c Add solaris assembler fixes for legacy provider 2020-05-02 17:55:07 +10:00
cipher_des.c Update copyright year 2020-04-23 13:55:52 +01:00
cipher_des.h
cipher_desx_hw.c Update copyright year 2020-04-23 13:55:52 +01:00
cipher_desx.c Update copyright year 2020-04-23 13:55:52 +01:00
cipher_idea_hw.c Update copyright year 2020-04-23 13:55:52 +01:00
cipher_idea.c Update copyright year 2020-04-23 13:55:52 +01:00
cipher_idea.h
cipher_null.c Implement the NULL cipher in the default provider 2020-01-20 15:28:39 +00:00
cipher_rc2_hw.c Update copyright year 2020-04-23 13:55:52 +01:00
cipher_rc2.c Update copyright year 2020-04-23 13:55:52 +01:00
cipher_rc2.h
cipher_rc4_hmac_md5_hw.c Update copyright year 2020-04-23 13:55:52 +01:00
cipher_rc4_hmac_md5.c Update copyright year 2020-04-23 13:55:52 +01:00
cipher_rc4_hmac_md5.h
cipher_rc4_hw.c Update copyright year 2020-04-23 13:55:52 +01:00
cipher_rc4.c Update copyright year 2020-04-23 13:55:52 +01:00
cipher_rc4.h
cipher_rc5_hw.c Update copyright year 2020-04-23 13:55:52 +01:00
cipher_rc5.c Update copyright year 2020-04-23 13:55:52 +01:00
cipher_rc5.h
cipher_seed_hw.c Update copyright year 2020-04-23 13:55:52 +01:00
cipher_seed.c Update copyright year 2020-04-23 13:55:52 +01:00
cipher_seed.h
cipher_sm4_hw.c
cipher_sm4.c
cipher_sm4.h
cipher_tdes_common.c Fix EVP_DigestSign interface when used with DES CMAC 2020-04-11 00:31:57 +02:00
cipher_tdes_default_hw.c Update copyright year 2020-04-23 13:55:52 +01:00
cipher_tdes_default.c Update copyright year 2020-04-23 13:55:52 +01:00
cipher_tdes_default.h
cipher_tdes_hw.c Update copyright year 2020-04-23 13:55:52 +01:00
cipher_tdes_wrap_hw.c Update copyright year 2020-04-23 13:55:52 +01:00
cipher_tdes_wrap.c Update copyright year 2020-04-23 13:55:52 +01:00
cipher_tdes.c Move legacy ciphers into the legacy provider 2020-04-09 12:47:46 +10:00
cipher_tdes.h Update copyright year 2020-04-23 13:55:52 +01:00
ciphercommon_block.c Update copyright year 2020-04-23 13:55:52 +01:00
ciphercommon_ccm_hw.c
ciphercommon_ccm.c Allow oversized buffers for provider cipher IV fetch 2020-06-20 09:46:41 -07:00
ciphercommon_gcm_hw.c Update copyright year 2020-04-23 13:55:52 +01:00
ciphercommon_gcm.c Allow oversized buffers for provider cipher IV fetch 2020-06-20 09:46:41 -07:00
ciphercommon_hw.c
ciphercommon_local.h
ciphercommon.c Update copyright year 2020-04-23 13:55:52 +01:00