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:09:38 +0000 (10:09 +0100)
commitd32bf5494098b4a4bca075640c4c96d2cee1b4f0
tree2738a4aff72f90f7ac30e7f1e5cb1bfcd7387e68
parent64aa3d080ed66bd4e1829120312f5a840807c856
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