Fixed error in propagating BN_FLG_CONSTTIME flag through BN_MONT_CTX_set, which could...
authorSamuel Weiser <samuel.weiser@iaik.tugraz.at>
Fri, 15 Sep 2017 20:12:53 +0000 (22:12 +0200)
committerMatt Caswell <matt@openssl.org>
Wed, 27 Sep 2017 09:12:19 +0000 (10:12 +0100)
commita703f4473f1ce8f0080e420800eefb1fba9258ed
treee45a70251b320690148ff4da48d9913ddf19a9ee
parented0245e08fdf374cd6351a1ae8117d7382115a21
Fixed error in propagating BN_FLG_CONSTTIME flag through BN_MONT_CTX_set, which could lead to information disclosure on RSA primes p and q.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4377)

(cherry picked from commit 3de81a5912041a70884cf4e52e7213f3b5dfa747)
crypto/bn/bn_mont.c