/external/boringssl/src/crypto/fipsmodule/rsa/ |
D | rsa_impl.c | 182 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 …]
|
D | rsa.c | 148 BN_MONT_CTX_free(rsa->mont_p); in RSA_free()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/rsa/ |
D | rsa_impl.c | 177 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 …]
|
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 | 624 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/ |
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 | 606 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/ |
D | rsa.h | 720 BN_MONT_CTX *mont_p; member
|
/external/boringssl/src/include/openssl/ |
D | rsa.h | 720 BN_MONT_CTX *mont_p; member
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/rsa_extra/ |
D | rsa_test.cc | 933 EXPECT_FALSE(rsa->mont_p); in TEST()
|
/external/boringssl/src/crypto/rsa_extra/ |
D | rsa_test.cc | 935 EXPECT_FALSE(rsa->mont_p); in TEST()
|