Home
last modified time | relevance | path

Searched refs:bn_mod_exp (Results 1 – 18 of 18) sorted by relevance

/external/openssl/crypto/bn/
Dbn_blind.c132 int (*bn_mod_exp)(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, member
308 int (*bn_mod_exp)(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, in BN_BLINDING_create_param()
337 if (bn_mod_exp != NULL) in BN_BLINDING_create_param()
338 ret->bn_mod_exp = bn_mod_exp; in BN_BLINDING_create_param()
365 if (ret->bn_mod_exp != NULL && ret->m_ctx != NULL) in BN_BLINDING_create_param()
367 if (!ret->bn_mod_exp(ret->A, ret->A, ret->e, ret->mod, ctx, ret->m_ctx)) in BN_BLINDING_create_param()
Dbn.h608 int (*bn_mod_exp)(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
/external/chromium_org/third_party/boringssl/src/crypto/rsa/
Dblinding.c128 int (*bn_mod_exp)(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, member
292 int (*bn_mod_exp)(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, in BN_BLINDING_create_param()
325 if (bn_mod_exp != NULL) { in BN_BLINDING_create_param()
326 ret->bn_mod_exp = bn_mod_exp; in BN_BLINDING_create_param()
354 if (ret->bn_mod_exp != NULL && ret->m_ctx != NULL) { in BN_BLINDING_create_param()
355 if (!ret->bn_mod_exp(ret->A, ret->A, ret->e, ret->mod, ctx, ret->m_ctx)) { in BN_BLINDING_create_param()
450 ret = BN_BLINDING_create_param(NULL, e, n, ctx, rsa->meth->bn_mod_exp, in rsa_setup_blinding()
Drsa_impl.c172 if (!rsa->meth->bn_mod_exp(result, f, rsa->e, rsa->n, ctx, rsa->_method_mod_n)) { in encrypt()
504 if (!rsa->meth->bn_mod_exp(result, f, rsa->e, rsa->n, ctx, in verify_raw()
608 if (!rsa->meth->bn_mod_exp(result, f, d, rsa->n, ctx, rsa->_method_mod_n)) { in private_transform()
690 if (!rsa->meth->bn_mod_exp(m1, r1, dmq1, rsa->q, ctx, rsa->_method_mod_q)) { in mod_exp()
704 if (!rsa->meth->bn_mod_exp(r0, r1, dmp1, rsa->p, ctx, rsa->_method_mod_p)) { in mod_exp()
750 if (!rsa->meth->bn_mod_exp(vrfy, r0, rsa->e, rsa->n, ctx, in mod_exp()
779 if (!rsa->meth->bn_mod_exp(r0, I, d, rsa->n, ctx, rsa->_method_mod_n)) { in mod_exp()
Dinternal.h89 int (*bn_mod_exp)(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
/external/openssl/crypto/rsa/
Drsa_eay.c230 if (!rsa->meth->bn_mod_exp(ret,f,rsa->e,rsa->n,ctx, in RSA_eay_public_encrypt()
451 if (!rsa->meth->bn_mod_exp(ret,f,d,rsa->n,ctx, in RSA_eay_private_encrypt()
583 if (!rsa->meth->bn_mod_exp(ret,f,d,rsa->n,ctx, in RSA_eay_private_decrypt()
696 if (!rsa->meth->bn_mod_exp(ret,f,rsa->e,rsa->n,ctx, in RSA_eay_public_decrypt()
805 if (!rsa->meth->bn_mod_exp(m1,r1,dmq1,rsa->q,ctx, in RSA_eay_mod_exp()
828 if (!rsa->meth->bn_mod_exp(r0,r1,dmp1,rsa->p,ctx, in RSA_eay_mod_exp()
863 if (!rsa->meth->bn_mod_exp(vrfy,r0,rsa->e,rsa->n,ctx,rsa->_method_mod_n)) goto err; in RSA_eay_mod_exp()
888 if (!rsa->meth->bn_mod_exp(r0,I,d,rsa->n,ctx, in RSA_eay_mod_exp()
Drsa_crpt.c242 rsa->meth->bn_mod_exp, rsa->_method_mod_n); in RSA_setup_blinding()
Drsa.h101 int (*bn_mod_exp)(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, member
/external/openssl/crypto/engine/
Deng_cryptodev.c1054 ret = meth->bn_mod_exp(r, a, p, m, ctx, in_mont); in cryptodev_bn_mod_exp()
1059 ret = meth->bn_mod_exp(r, a, p, m, ctx, in_mont); in cryptodev_bn_mod_exp()
1160 if (!dsa->meth->bn_mod_exp(dsa,t1,dsa->g,u1,dsa->p,ctx,mont)) in cryptodev_dsa_dsa_mod_exp()
1164 if (!dsa->meth->bn_mod_exp(dsa,&t2,dsa->pub_key,u2,dsa->p,ctx,mont)) in cryptodev_dsa_dsa_mod_exp()
1400 cryptodev_rsa.bn_mod_exp = rsa_meth->bn_mod_exp; in ENGINE_load_cryptodev()
1407 cryptodev_rsa.bn_mod_exp = cryptodev_bn_mod_exp; in ENGINE_load_cryptodev()
1424 cryptodev_dsa.bn_mod_exp = cryptodev_dsa_bn_mod_exp; in ENGINE_load_cryptodev()
1436 cryptodev_dh.bn_mod_exp = dh_meth->bn_mod_exp; in ENGINE_load_cryptodev()
1438 cryptodev_dh.bn_mod_exp = cryptodev_mod_exp_dh; in ENGINE_load_cryptodev()
/external/openssl/crypto/dh/
Ddh_key.c187 if (!dh->meth->bn_mod_exp(dh, pub_key, dh->g, prk, dh->p, ctx, mont)) goto err; in generate_key()
247 if (!dh->meth->bn_mod_exp(dh, tmp, pub_key, dh->priv_key,dh->p,ctx,mont)) in compute_key()
Ddh.h118 int (*bn_mod_exp)(const DH *dh, BIGNUM *r, const BIGNUM *a, member
/external/openssl/crypto/dsa/
Ddsa_ossl.c120 if((dsa)->meth->bn_mod_exp) \
121 _tmp_res53 = (dsa)->meth->bn_mod_exp((dsa), (r), (a), (p), \
Ddsa.h145 int (*bn_mod_exp)(DSA *dsa, BIGNUM *r, BIGNUM *a, const BIGNUM *p, member
/external/openssl/include/openssl/
Ddh.h118 int (*bn_mod_exp)(const DH *dh, BIGNUM *r, const BIGNUM *a, member
Ddsa.h145 int (*bn_mod_exp)(DSA *dsa, BIGNUM *r, BIGNUM *a, const BIGNUM *p, member
Drsa.h101 int (*bn_mod_exp)(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, member
Dbn.h608 int (*bn_mod_exp)(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
/external/chromium_org/third_party/boringssl/src/include/openssl/
Drsa.h406 int (*bn_mod_exp)(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, member