openssl/providers/implementations/ciphers
Shane Lontis 95cf64404c Fix incorrect default keysize for CAST ofb and cfb modes.
Fixes #11459

It was incorrectly using 8 bytes instead of 16 as the default.
This was verified by expanding the macros used in e_cast.c.
The issue occurs if EVP_CIPHER_CTX_set_key_length() is not called.
evp_test.c hides this issue as it always calls EVP_CIPHER_CTX_set_key_length() before
using EVP_CipherInit_ex(...., key, ..).

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/11707)
2020-05-05 09:38:08 +10: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 Update copyright year 2020-04-23 13:55:52 +01:00
cipher_aes_cbc_hmac_sha.h Update copyright year 2020-04-23 13:55:52 +01:00
cipher_aes_ccm_hw_aesni.inc Move providers/common/{ciphers,digests}/* to providers/implementations 2019-12-11 12:55:48 +01:00
cipher_aes_ccm_hw_s390x.inc Move providers/common/{ciphers,digests}/* to providers/implementations 2019-12-11 12:55:48 +01:00
cipher_aes_ccm_hw_t4.inc Move providers/common/{ciphers,digests}/* to providers/implementations 2019-12-11 12:55:48 +01:00
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 EVP & PROV: Fix all platform inclusions 2019-12-19 13:33:35 +01:00
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 Move providers/common/{ciphers,digests}/* to providers/implementations 2019-12-11 12:55:48 +01:00
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 EVP & PROV: Fix all platform inclusions 2019-12-19 13:33:35 +01:00
cipher_aes_hw_aesni.inc Fix Use after free when copying cipher ctx 2019-11-18 13:13:05 +10:00
cipher_aes_hw_s390x.inc fix s390 compile error due to missing comma. 2019-11-19 10:38:05 +10:00
cipher_aes_hw_t4.inc Fix Use after free when copying cipher ctx 2019-11-18 13:13:05 +10:00
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 coverity: 1462544 Dereference after null check 2020-04-30 20:21:31 +10:00
cipher_aes_ocb.h EVP & PROV: Fix all platform inclusions 2019-12-19 13:33:35 +01:00
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 EVP & PROV: Fix all platform inclusions 2019-12-19 13:33:35 +01:00
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 EVP & PROV: Fix all platform inclusions 2019-12-19 13:33:35 +01:00
cipher_aes.c Update copyright year 2020-04-23 13:55:52 +01:00
cipher_aes.h EVP & PROV: Fix all platform inclusions 2019-12-19 13:33:35 +01:00
cipher_aria_ccm_hw.c Providers: move all ciphers 2019-10-10 14:12:15 +02:00
cipher_aria_ccm.c Cleanup: move providers/common/include/internal/provider_args.h 2019-10-10 14:12:15 +02:00
cipher_aria_ccm.h Move providers/common/{ciphers,digests}/* to providers/implementations 2019-12-11 12:55:48 +01:00
cipher_aria_gcm_hw.c Update copyright year 2020-04-23 13:55:52 +01:00
cipher_aria_gcm.c Cleanup: move providers/common/include/internal/provider_args.h 2019-10-10 14:12:15 +02:00
cipher_aria_gcm.h Move providers/common/{ciphers,digests}/* to providers/implementations 2019-12-11 12:55:48 +01:00
cipher_aria_hw.c Fix Use after free when copying cipher ctx 2019-11-18 13:13:05 +10:00
cipher_aria.c Fix Use after free when copying cipher ctx 2019-11-18 13:13:05 +10:00
cipher_aria.h Providers: move all ciphers 2019-10-10 14:12:15 +02:00
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 Providers: move all ciphers 2019-10-10 14:12:15 +02:00
cipher_camellia_hw_t4.inc Fix Use after free when copying cipher ctx 2019-11-18 13:13:05 +10:00
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 EVP & PROV: Fix all platform inclusions 2019-12-19 13:33:35 +01:00
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 Providers: move all ciphers 2019-10-10 14:12:15 +02:00
cipher_chacha20_hw.c Add ChaCha related ciphers to default provider 2019-10-16 16:18:42 +10:00
cipher_chacha20_poly1305_hw.c Fix typo in cipher_chacha20_poly1305_hw.c. 2019-10-31 10:50:38 +00:00
cipher_chacha20_poly1305.c Make sure we handle input NULL with length 0 2019-11-29 10:41:06 +00:00
cipher_chacha20_poly1305.h Add ChaCha related ciphers to default provider 2019-10-16 16:18:42 +10:00
cipher_chacha20.c ciphers/chacha20,poly1303: Fix two coverity errors 2019-10-20 23:58:05 +02:00
cipher_chacha20.h Add ChaCha related ciphers to default provider 2019-10-16 16:18:42 +10:00
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 EVP & PROV: Fix all platform inclusions 2019-12-19 13:33:35 +01:00
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 Providers: move all ciphers 2019-10-10 14:12:15 +02:00
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 Providers: move all ciphers 2019-10-10 14:12:15 +02:00
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 Add rc4_hmac_md5 cipher to default provider 2019-11-11 10:04:46 +10:00
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 Providers: move all ciphers 2019-10-10 14:12:15 +02:00
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 Providers: move all ciphers 2019-10-10 14:12:15 +02:00
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 Providers: move all ciphers 2019-10-10 14:12:15 +02:00
cipher_sm4_hw.c Fix Use after free when copying cipher ctx 2019-11-18 13:13:05 +10:00
cipher_sm4.c Fix Use after free when copying cipher ctx 2019-11-18 13:13:05 +10:00
cipher_sm4.h Providers: move all ciphers 2019-10-10 14:12:15 +02:00
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 Providers: move all ciphers 2019-10-10 14:12:15 +02:00
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 Move providers/common/{ciphers,digests}/* to providers/implementations 2019-12-11 12:55:48 +01:00
ciphercommon_ccm.c Update copyright year 2020-04-23 13:55:52 +01:00
ciphercommon_gcm_hw.c Update copyright year 2020-04-23 13:55:52 +01:00
ciphercommon_gcm.c Update copyright year 2020-04-23 13:55:52 +01:00
ciphercommon_hw.c Optimize AES-ECB mode in OpenSSL for both aarch64 and aarch32 2019-12-11 18:56:11 +01:00
ciphercommon_local.h Move providers/common/{ciphers,digests}/* to providers/implementations 2019-12-11 12:55:48 +01:00
ciphercommon.c Update copyright year 2020-04-23 13:55:52 +01:00