Searched refs:mont_n (Results 1 – 4 of 4) sorted by relevance
/external/boringssl/src/crypto/rsa/ |
D | rsa_impl.c | 156 if (BN_MONT_CTX_set_locked(&rsa->mont_n, &rsa->lock, rsa->n, ctx) == NULL) { in rsa_default_encrypt() 161 if (!rsa->meth->bn_mod_exp(result, f, rsa->e, rsa->n, ctx, rsa->mont_n)) { in rsa_default_encrypt() 480 if (BN_MONT_CTX_set_locked(&rsa->mont_n, &rsa->lock, rsa->n, ctx) == NULL) { in rsa_default_verify_raw() 485 if (!rsa->meth->bn_mod_exp(result, f, rsa->e, rsa->n, ctx, rsa->mont_n)) { in rsa_default_verify_raw() 582 if (BN_MONT_CTX_set_locked(&rsa->mont_n, &rsa->lock, rsa->n, ctx) == in rsa_default_private_transform() 588 if (!rsa->meth->bn_mod_exp(result, f, d, rsa->n, ctx, rsa->mont_n)) { in rsa_default_private_transform() 659 if (BN_MONT_CTX_set_locked(&rsa->mont_n, &rsa->lock, rsa->n, ctx) == NULL) { in mod_exp() 770 if (!rsa->meth->bn_mod_exp(vrfy, r0, rsa->e, rsa->n, ctx, rsa->mont_n)) { in mod_exp() 798 if (!rsa->meth->bn_mod_exp(r0, I, d, rsa->n, ctx, rsa->mont_n)) { in mod_exp()
|
D | blinding.c | 439 mont_ctx = BN_MONT_CTX_set_locked(&rsa->mont_n, &rsa->lock, rsa->n, ctx); in rsa_setup_blinding()
|
D | rsa.c | 151 BN_MONT_CTX_free(rsa->mont_n); in RSA_free()
|
/external/boringssl/src/include/openssl/ |
D | rsa.h | 570 BN_MONT_CTX *mont_n; member
|