Ensure that rc5 doesn't try to use a key longer than 2040 bits
authorMatt Caswell <matt@openssl.org>
Fri, 26 Apr 2019 11:11:13 +0000 (12:11 +0100)
committerMatt Caswell <matt@openssl.org>
Mon, 1 Jul 2019 09:18:37 +0000 (10:18 +0100)
commit792cb4ee8d82e4b063f707fc9f4992271ffd65ab
tree156e8395a325dd9503a17a02326a07c0a4034f43
parent08607613d573de9e3e021227506759f4f58debc6
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)
crypto/err/openssl.txt
crypto/evp/e_rc5.c
crypto/evp/evp_err.c
doc/man3/EVP_rc5_32_12_16_cbc.pod
include/openssl/evperr.h