Home
last modified time | relevance | path

Searched refs:inv_small_mod_large_mont (Results 1 – 4 of 4) sorted by relevance

/external/boringssl/src/crypto/fipsmodule/rsa/
Drsa_impl.c215 if (rsa->inv_small_mod_large_mont == NULL) { in freeze_private_key()
216 BIGNUM *inv_small_mod_large_mont = BN_new(); in freeze_private_key() local
219 ok = inv_small_mod_large_mont != NULL && in freeze_private_key()
220 bn_mod_inverse_secret_prime(inv_small_mod_large_mont, rsa->p, in freeze_private_key()
222 BN_to_montgomery(inv_small_mod_large_mont, in freeze_private_key()
223 inv_small_mod_large_mont, rsa->mont_q, ctx); in freeze_private_key()
225 ok = inv_small_mod_large_mont != NULL && in freeze_private_key()
226 BN_to_montgomery(inv_small_mod_large_mont, rsa->iqmp, in freeze_private_key()
230 BN_free(inv_small_mod_large_mont); in freeze_private_key()
233 rsa->inv_small_mod_large_mont = inv_small_mod_large_mont; in freeze_private_key()
[all …]
Drsa.c153 BN_free(rsa->inv_small_mod_large_mont); in RSA_free()
/external/boringssl/src/include/openssl/
Drsa.h703 BIGNUM *inv_small_mod_large_mont; member
/external/boringssl/src/crypto/rsa_extra/
Drsa_test.cc937 EXPECT_FALSE(rsa->inv_small_mod_large_mont); in TEST()