RSA key generation: ensure BN_mod_inverse and BN_mod_exp_mont both get called with... 49/183449/1
authorBilly Brumley <bbrumley@gmail.com>
Wed, 11 Apr 2018 07:10:58 +0000 (10:10 +0300)
committerDariusz Michaluk <d.michaluk@samsung.com>
Thu, 5 Jul 2018 11:46:30 +0000 (13:46 +0200)
commit712dc5df9cfc3c91b80d1772cf698648f997b22e
treee20f40664e324e4f7c3973641fd419558467c4c2
parent6d0cfc576a5b26869c0bf427b2c4f44a3a51556e
RSA key generation: ensure BN_mod_inverse and BN_mod_exp_mont both get called with BN_FLG_CONSTTIME flag set.

CVE-2018-0737

Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(cherry picked from commit 6939eab03a6e23d2bd2c3f5e34fe1d48e542e787)

Change-Id: I7ff51315e409dd39d6e0e9174d43d3221940bed2
crypto/rsa/rsa_gen.c