]> git.ipfire.org Git - thirdparty/openssl.git/commit
rsa: special case the strengths of RSA with 7680 and 15360 bits
authorPauli <pauli@openssl.org>
Sun, 23 May 2021 05:28:30 +0000 (15:28 +1000)
committerPauli <pauli@openssl.org>
Wed, 26 May 2021 10:39:38 +0000 (20:39 +1000)
commit1cf520e9d045c1d97c740367b1b94db88e90d9db
tree51d3f167b4d79f2c7b7788c789586b3652035a3a
parent1ee04b791b396385cce2a0c46c112158b2005293
rsa: special case the strengths of RSA with 7680 and 15360 bits

Also cap the strengths for values under these two because the formula
overestimates around them.

The formula NIST gives doesn't match the table also presented in IG 7.5

Partial fix for #15421

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
(Merged from https://github.com/openssl/openssl/pull/15428)
crypto/rsa/rsa_lib.c