New function BN_MONT_CTX_set_locked, to set montgomery parameters in a
authorDr. Stephen Henson <steve@openssl.org>
Fri, 22 Apr 2005 13:17:49 +0000 (13:17 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Fri, 22 Apr 2005 13:17:49 +0000 (13:17 +0000)
commit4ed56cba63cc1bcaf0d8ecf1d421b1d6d5b8a159
treef11e9cb64533abd645c43a0aafa4b6ffa3532733
parent145878ca29ece029bcce79df3ca7b8c9fc574455
New function BN_MONT_CTX_set_locked, to set montgomery parameters in a
threadsafe manner.

Modify or add calls to use it in rsa, dsa and dh algorithms.
CHANGES
crypto/bn/bn.h
crypto/bn/bn_mont.c
crypto/dh/dh_key.c
crypto/dsa/dsa_ossl.c
crypto/rsa/rsa_eay.c
fips/dh/fips_dh_key.c
fips/dsa/fips_dsa_ossl.c
fips/fipshashes.c
fips/rsa/fips_rsa_eay.c