RSA key generation: ensure BN_mod_inverse and BN_mod_exp_mont both get called with...
authorBilly Brumley <bbrumley@gmail.com>
Wed, 11 Apr 2018 07:10:58 +0000 (10:10 +0300)
committerMatt Caswell <matt@openssl.org>
Mon, 16 Apr 2018 15:21:05 +0000 (16:21 +0100)
commit349a41da1ad88ad87825414752a8ff5fdd6a6c3f
treef7de2191483048af0e3dd410bc74eb8ba41c143e
parentd1a64149b061172d120559aea289498ec680b497
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)
crypto/rsa/rsa_gen.c