]> git.ipfire.org Git - thirdparty/openssl.git/commit
rsa/rsa_ossl.c: cache MONT_CTX for public modulus earlier.
authorAndy Polyakov <appro@openssl.org>
Wed, 7 Nov 2018 21:07:22 +0000 (22:07 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 23 Nov 2018 16:36:39 +0000 (16:36 +0000)
commit7dac8144a760f0d9780cd7eb0771894874becd78
tree344172484d8992015910f690d7d626ac2cfc2ee6
parentb97cbe05a3a4bf18b6bd6262dbda04b87256a54c
rsa/rsa_ossl.c: cache MONT_CTX for public modulus earlier.

Blinding is performed more efficiently and securely if MONT_CTX for public
modulus is available by the time blinding parameter are instantiated. So
make sure it's the case.

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(cherry picked from commit 2cc3f68cde77af23c61fbad65470602ee86f2575)

Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/7586)
crypto/rsa/rsa_ossl.c