[openssl/openssl] 87abde: Avoid generating RSA keys with p < q
Rajarshi Karmakar
noreply at github.com
Fri Apr 28 17:52:41 UTC 2023
Branch: refs/heads/openssl-3.0
Home: https://github.com/openssl/openssl
Commit: 87abde51db6250d89a59d503965a045f9996c687
https://github.com/openssl/openssl/commit/87abde51db6250d89a59d503965a045f9996c687
Author: rkarmaka98 <rkarmaka98 at gmail.com>
Date: 2023-04-28 (Fri, 28 Apr 2023)
Changed paths:
M crypto/rsa/rsa_sp800_56b_gen.c
Log Message:
-----------
Avoid generating RSA keys with p < q
We swap p and q in that case except when ACVP tests are being run.
Fixes #20823
Reviewed-by: Tom Cosgrove <tom.cosgrove at arm.com>
Reviewed-by: Paul Dale <pauli at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20833)
(cherry picked from commit dc231eb598460aec239c7f597f560bca47d9f72a)
More information about the openssl-commits
mailing list