openssl/providers
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
..
common Rename FIPS_MODE to FIPS_MODULE 2020-04-28 15:37:37 +02:00
fips Amend references to "OpenSSL license" 2020-04-29 15:27:22 +02:00
implementations Fix incorrect default keysize for CAST ofb and cfb modes. 2020-05-05 09:38:08 +10:00
build.info Rename FIPS_MODE to FIPS_MODULE 2020-04-28 15:37:37 +02:00
defltprov.c Update copyright year 2020-04-23 13:55:52 +01:00
legacyprov.c Fix incorrect default keysize for CAST ofb and cfb modes. 2020-05-05 09:38:08 +10:00
nullprov.c Add a null provider which implements no algorithms. 2020-04-09 17:12:35 +10:00