Home
last modified time | relevance | path

Searched refs:mont_n (Results 1 – 4 of 4) sorted by relevance

/external/boringssl/src/crypto/rsa/
Drsa_impl.c156 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()
Dblinding.c439 mont_ctx = BN_MONT_CTX_set_locked(&rsa->mont_n, &rsa->lock, rsa->n, ctx); in rsa_setup_blinding()
Drsa.c151 BN_MONT_CTX_free(rsa->mont_n); in RSA_free()
/external/boringssl/src/include/openssl/
Drsa.h570 BN_MONT_CTX *mont_n; member