RSA keygen fixes
authorslontis <shane.lontis@oracle.com>
Mon, 30 May 2022 07:56:53 +0000 (17:56 +1000)
committerTomas Mraz <tomas@openssl.org>
Mon, 13 Jun 2022 08:56:03 +0000 (10:56 +0200)
commitad7e0fd550a9eb2946edf38003ebc6d5b988dac7
tree0d2e39bd4488c848c8c90cf92b2eff411842bf62
parenta644cb7c1c19c78e2ca393c8ca36989e7ca61715
RSA keygen fixes

Fixes #18321

Increase the iteration factor used when 'Computing a Probable Prime Factor Based on Auxiliary Primes' from 5 to 20.
This matches the algorithm update made in FIPS 186-5.

Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18429)
crypto/bn/bn_rsa_fips186_4.c