Home
last modified time | relevance | path

Searched refs:mont_p (Results 1 – 6 of 6) sorted by relevance

/external/boringssl/src/crypto/fipsmodule/rsa/
Drsa_impl.c176 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 …]
Drsa.c148 BN_MONT_CTX_free(rsa->mont_p); in RSA_free()
/external/boringssl/src/crypto/fipsmodule/bn/
Dgcd.c357 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()
Dinternal.h572 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/
Drsa.h690 BN_MONT_CTX *mont_p; member
/external/boringssl/src/crypto/rsa_extra/
Drsa_test.cc932 EXPECT_FALSE(rsa->mont_p); in TEST()