Minor cleanup of the rsa mp limits code
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Mon, 11 Dec 2017 15:10:36 +0000 (16:10 +0100)
committerBernd Edlinger <bernd.edlinger@hotmail.de>
Wed, 13 Dec 2017 16:29:01 +0000 (17:29 +0100)
commitf90852093f149ae942a77c2c27d2a61888cff8e9
tree1fc036ace6026e91a0e694b7e54b0d7ed743480a
parent391d6da43eb8f8c87d6f7a8b7f5836f1a0d30fc0
Minor cleanup of the rsa mp limits code

Reduce RSA_MAX_PRIME_NUM to 5.
Remove no longer used RSA_MIN_PRIME_SIZE.
Make rsa_multip_cap honor RSA_MAX_PRIME_NUM.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4905)
crypto/rsa/rsa_locl.h
crypto/rsa/rsa_mp.c