Searched refs:mont_n (Results 1 – 4 of 4) sorted by relevance
/external/boringssl/src/crypto/fipsmodule/rsa/ |
D | rsa_impl.c | 153 if (rsa->mont_n == NULL) { in freeze_private_key() 154 rsa->mont_n = BN_MONT_CTX_new_for_modulus(rsa->n, ctx); in freeze_private_key() 155 if (rsa->mont_n == NULL) { in freeze_private_key() 159 const BIGNUM *n_fixed = &rsa->mont_n->N; in freeze_private_key() 320 if (!BN_MONT_CTX_set_locked(&rsa->mont_n, &rsa->lock, rsa->n, ctx) || in RSA_encrypt() 321 !BN_mod_exp_mont(result, f, rsa->e, &rsa->mont_n->N, ctx, rsa->mont_n)) { in RSA_encrypt() 360 assert(rsa->mont_n != NULL); in rsa_blinding_get() 630 if (!BN_MONT_CTX_set_locked(&rsa->mont_n, &rsa->lock, rsa->n, ctx) || in RSA_verify_raw() 631 !BN_mod_exp_mont(result, f, rsa->e, &rsa->mont_n->N, ctx, rsa->mont_n)) { in RSA_verify_raw() 726 if (!BN_BLINDING_convert(f, blinding, rsa->e, rsa->mont_n, ctx)) { in rsa_default_private_transform() [all …]
|
D | rsa.c | 147 BN_MONT_CTX_free(rsa->mont_n); in RSA_free()
|
/external/boringssl/src/include/openssl/ |
D | rsa.h | 689 BN_MONT_CTX *mont_n; member
|
/external/boringssl/src/crypto/rsa_extra/ |
D | rsa_test.cc | 931 EXPECT_FALSE(rsa->mont_n); in TEST()
|