Searched refs:mont_p (Results 1 – 6 of 6) sorted by relevance
/external/boringssl/src/crypto/fipsmodule/rsa/ |
D | rsa_impl.c | 176 if (rsa->mont_p == NULL) { in freeze_private_key() 177 rsa->mont_p = BN_MONT_CTX_new_consttime(rsa->p, ctx); in freeze_private_key() 178 if (rsa->mont_p == NULL) { in freeze_private_key() 182 const BIGNUM *p_fixed = &rsa->mont_p->N; in freeze_private_key() 198 rsa->mont_p)) { in freeze_private_key() 227 rsa->mont_p, ctx); in freeze_private_key() 737 bn_less_than_montgomery_R(rsa->q, rsa->mont_p) && in rsa_default_private_transform() 800 const BN_MONT_CTX *mont_p, const BIGNUM *q, in mod_montgomery() argument 805 if (!bn_less_than_montgomery_R(q, mont_p)) { in mod_montgomery() 811 !BN_from_montgomery(r, I, mont_p, ctx) || in mod_montgomery() [all …]
|
D | rsa.c | 148 BN_MONT_CTX_free(rsa->mont_p); in RSA_free()
|
/external/boringssl/src/crypto/fipsmodule/bn/ |
D | gcd.c | 357 BN_CTX *ctx, const BN_MONT_CTX *mont_p) { in bn_mod_inverse_prime() argument 363 BN_mod_exp_mont(out, a, p_minus_2, p, ctx, mont_p); in bn_mod_inverse_prime() 369 BN_CTX *ctx, const BN_MONT_CTX *mont_p) { in bn_mod_inverse_secret_prime() argument 375 BN_mod_exp_mont_consttime(out, a, p_minus_2, p, ctx, mont_p); in bn_mod_inverse_secret_prime()
|
D | internal.h | 572 BN_CTX *ctx, const BN_MONT_CTX *mont_p); in OPENSSL_MSVC_PRAGMA() 578 BN_CTX *ctx, const BN_MONT_CTX *mont_p); in OPENSSL_MSVC_PRAGMA()
|
/external/boringssl/src/include/openssl/ |
D | rsa.h | 690 BN_MONT_CTX *mont_p; member
|
/external/boringssl/src/crypto/rsa_extra/ |
D | rsa_test.cc | 932 EXPECT_FALSE(rsa->mont_p); in TEST()
|