openssl/crypto/evp
Matt Caswell 26675d1cf4 Ensure that rc5 doesn't try to use a key longer than 2040 bits
The maximum key length for rc5 is 2040 bits so we should not attempt to
use keys longer than this.

Issue found by OSS-Fuzz and Guido Vranken.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/8834)

(cherry picked from commit 792cb4ee8d)
2019-07-01 10:23:54 +01:00
..
bio_b64.c
bio_enc.c
bio_md.c
bio_ok.c Fix Typos 2019-07-01 02:02:06 +08:00
build.info s390x assembly pack: add KIMD/KLMD code path for sha3/shake 2018-08-06 12:04:52 +02:00
c_allc.c
c_alld.c
cmeth_lib.c
digest.c Update copyright year 2019-05-28 14:49:38 +02:00
e_aes.c Excise AES-XTS FIPS check. 2019-06-25 03:37:17 +10:00
e_aes_cbc_hmac_sha1.c
e_aes_cbc_hmac_sha256.c
e_aria.c Update copyright year 2019-05-28 14:49:38 +02:00
e_bf.c
e_camellia.c
e_cast.c
e_chacha20_poly1305.c Update copyright year 2019-05-28 14:49:38 +02:00
e_des.c
e_des3.c
e_idea.c
e_null.c
e_old.c
e_rc2.c Update copyright year 2018-11-20 13:27:36 +00:00
e_rc4.c
e_rc4_hmac_md5.c
e_rc5.c Ensure that rc5 doesn't try to use a key longer than 2040 bits 2019-07-01 10:23:54 +01:00
e_seed.c
e_sm4.c
e_xcbc_d.c
encode.c
evp_cnf.c
evp_enc.c Revert "EVP_*Update: ensure that input NULL with length 0 isn't passed" 2019-05-21 14:44:48 +01:00
evp_err.c Ensure that rc5 doesn't try to use a key longer than 2040 bits 2019-07-01 10:23:54 +01:00
evp_key.c
evp_lib.c Allow EVP_MD_CTX_set_pkey_ctx to accept NULL pctx 2018-09-07 18:12:26 +08:00
evp_locl.h
evp_pbe.c Update copyright year 2018-09-11 13:45:17 +01:00
evp_pkey.c
m_md2.c
m_md4.c
m_md5.c
m_md5_sha1.c
m_mdc2.c
m_null.c
m_ripemd.c
m_sha1.c
m_sha3.c Update copyright year 2018-09-11 13:45:17 +01:00
m_sigver.c Update document for SM2 stuffs 2018-09-07 18:12:26 +08:00
m_wp.c
names.c
p5_crpt.c
p5_crpt2.c
p_dec.c
p_enc.c
p_lib.c Update copyright year 2019-05-28 14:49:38 +02:00
p_open.c Update copyright year 2019-05-28 14:49:38 +02:00
p_seal.c Update copyright year 2018-09-11 13:45:17 +01:00
p_sign.c
p_verify.c
pbe_scrypt.c
pmeth_fn.c
pmeth_gn.c
pmeth_lib.c Make some return checks consistent with others 2018-09-13 23:23:18 +09:00