Searched refs:bn_mod_exp (Results 1 – 4 of 4) sorted by relevance
/external/boringssl/src/crypto/rsa/ |
D | blinding.c | 133 int (*bn_mod_exp)(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, member 288 int (*bn_mod_exp)(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, in BN_BLINDING_create_param() 319 if (bn_mod_exp != NULL) { in BN_BLINDING_create_param() 320 ret->bn_mod_exp = bn_mod_exp; in BN_BLINDING_create_param() 348 if (ret->bn_mod_exp != NULL && ret->mont != NULL) { in BN_BLINDING_create_param() 349 if (!ret->bn_mod_exp(ret->A, ret->A, ret->e, ret->mod, ctx, ret->mont)) { in BN_BLINDING_create_param() 445 ret = BN_BLINDING_create_param(NULL, e, n, ctx, rsa->meth->bn_mod_exp, in rsa_setup_blinding()
|
D | rsa_impl.c | 161 if (!rsa->meth->bn_mod_exp(result, f, rsa->e, rsa->n, ctx, rsa->mont_n)) { in rsa_default_encrypt() 485 if (!rsa->meth->bn_mod_exp(result, f, rsa->e, rsa->n, ctx, rsa->mont_n)) { in rsa_default_verify_raw() 588 if (!rsa->meth->bn_mod_exp(result, f, d, rsa->n, ctx, rsa->mont_n)) { in rsa_default_private_transform() 674 if (!rsa->meth->bn_mod_exp(m1, r1, dmq1, rsa->q, ctx, rsa->mont_q)) { in mod_exp() 688 if (!rsa->meth->bn_mod_exp(r0, r1, dmp1, rsa->p, ctx, rsa->mont_p)) { in mod_exp() 753 if (!rsa->meth->bn_mod_exp(m1, r1, exp, prime, ctx, ap->mont)) { 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 | internal.h | 108 int (*bn_mod_exp)(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
|
/external/boringssl/src/include/openssl/ |
D | rsa.h | 526 int (*bn_mod_exp)(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, member
|