Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/fipsmodule/rsa/
Drsa_impl.c182 if (rsa->mont_p == NULL) { in freeze_private_key()
183 rsa->mont_p = BN_MONT_CTX_new_consttime(rsa->p, ctx); in freeze_private_key()
184 if (rsa->mont_p == NULL) { in freeze_private_key()
188 const BIGNUM *p_fixed = &rsa->mont_p->N; in freeze_private_key()
204 rsa->mont_p)) { in freeze_private_key()
233 rsa->mont_p, ctx); in freeze_private_key()
755 bn_less_than_montgomery_R(rsa->q, rsa->mont_p) && in rsa_default_private_transform()
818 const BN_MONT_CTX *mont_p, const BIGNUM *q, in mod_montgomery() argument
823 if (!bn_less_than_montgomery_R(q, mont_p)) { in mod_montgomery()
829 !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/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/rsa/
Drsa_impl.c177 if (rsa->mont_p == NULL) { in freeze_private_key()
178 rsa->mont_p = BN_MONT_CTX_new_consttime(rsa->p, ctx); in freeze_private_key()
179 if (rsa->mont_p == NULL) { in freeze_private_key()
183 const BIGNUM *p_fixed = &rsa->mont_p->N; in freeze_private_key()
199 rsa->mont_p)) { in freeze_private_key()
228 rsa->mont_p, ctx); in freeze_private_key()
760 bn_less_than_montgomery_R(rsa->q, rsa->mont_p) && in rsa_default_private_transform()
823 const BN_MONT_CTX *mont_p, const BIGNUM *q, in mod_montgomery() argument
828 if (!bn_less_than_montgomery_R(q, mont_p)) { in mod_montgomery()
834 !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.h624 BN_CTX *ctx, const BN_MONT_CTX *mont_p); in OPENSSL_MSVC_PRAGMA()
630 BN_CTX *ctx, const BN_MONT_CTX *mont_p); in OPENSSL_MSVC_PRAGMA()
/external/rust/crates/quiche/deps/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.h606 BN_CTX *ctx, const BN_MONT_CTX *mont_p); in OPENSSL_MSVC_PRAGMA()
612 BN_CTX *ctx, const BN_MONT_CTX *mont_p); in OPENSSL_MSVC_PRAGMA()
/external/rust/crates/quiche/deps/boringssl/src/include/openssl/
Drsa.h720 BN_MONT_CTX *mont_p; member
/external/boringssl/src/include/openssl/
Drsa.h720 BN_MONT_CTX *mont_p; member
/external/rust/crates/quiche/deps/boringssl/src/crypto/rsa_extra/
Drsa_test.cc933 EXPECT_FALSE(rsa->mont_p); in TEST()
/external/boringssl/src/crypto/rsa_extra/
Drsa_test.cc935 EXPECT_FALSE(rsa->mont_p); in TEST()