Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/fipsmodule/rsa/
Drsa_impl.c183 if (!BN_MONT_CTX_set_locked(&rsa->mont_n, &rsa->lock, rsa->n, ctx) || in RSA_encrypt()
184 !BN_mod_exp_mont(result, f, rsa->e, rsa->n, ctx, rsa->mont_n)) { in RSA_encrypt()
226 assert(rsa->mont_n != NULL); in rsa_blinding_get()
496 if (!BN_MONT_CTX_set_locked(&rsa->mont_n, &rsa->lock, rsa->n, ctx) || in RSA_verify_raw()
497 !BN_mod_exp_mont(result, f, rsa->e, rsa->n, ctx, rsa->mont_n)) { in RSA_verify_raw()
570 if (!BN_MONT_CTX_set_locked(&rsa->mont_n, &rsa->lock, rsa->n, ctx)) { in rsa_default_private_transform()
592 if (!BN_BLINDING_convert(f, blinding, rsa->e, rsa->mont_n, ctx)) { in rsa_default_private_transform()
603 rsa->mont_n)) { in rsa_default_private_transform()
619 !BN_mod_exp_mont(vrfy, result, rsa->e, rsa->n, ctx, rsa->mont_n) || in rsa_default_private_transform()
628 !BN_BLINDING_invert(result, blinding, rsa->mont_n, ctx)) { in rsa_default_private_transform()
[all …]
Drsa.c143 BN_MONT_CTX_free(rsa->mont_n); in RSA_free()
/external/boringssl/src/include/openssl/
Drsa.h637 BN_MONT_CTX *mont_n; member