Searched refs:bn_mod_exp (Results 1 - 15 of 15) sorted by relevance

/freebsd-11-stable/crypto/openssl/crypto/bn/
H A Dbn_blind.c131 int (*bn_mod_exp) (BIGNUM *r, const BIGNUM *a, const BIGNUM *p, member in struct:bn_blinding_st
330 int (*bn_mod_exp) (BIGNUM *r,
362 if (bn_mod_exp != NULL)
363 ret->bn_mod_exp = bn_mod_exp;
388 if (ret->bn_mod_exp != NULL && ret->m_ctx != NULL) {
389 if (!ret->bn_mod_exp(ret->A, ret->A, ret->e, ret->mod, ctx, ret->m_ctx))
H A Dbn.h663 int (*bn_mod_exp) (BIGNUM *r,
/freebsd-11-stable/crypto/openssl/crypto/rsa/
H A Drsa_eay.c232 if (!rsa->meth->bn_mod_exp(ret, f, rsa->e, rsa->n, ctx,
440 if (!rsa->meth->bn_mod_exp(ret, f, d, rsa->n, ctx,
561 if (!rsa->meth->bn_mod_exp(ret, f, d, rsa->n, ctx,
668 if (!rsa->meth->bn_mod_exp(ret, f, rsa->e, rsa->n, ctx,
748 smooth = (rsa->meth->bn_mod_exp == BN_mod_exp_mont)
816 if (!rsa->meth->bn_mod_exp(m1, r1, dmq1, rsa->q, ctx, rsa->_method_mod_q))
836 if (!rsa->meth->bn_mod_exp(r0, r1, dmp1, rsa->p, ctx, rsa->_method_mod_p))
878 if (rsa->meth->bn_mod_exp == BN_mod_exp_mont) {
884 if (!rsa->meth->bn_mod_exp(vrfy, r0, rsa->e, rsa->n, ctx,
921 if (!rsa->meth->bn_mod_exp(r
[all...]
H A Drsa_crpt.c233 rsa->meth->bn_mod_exp, rsa->_method_mod_n);
H A Drsa.h98 int (*bn_mod_exp) (BIGNUM *r, const BIGNUM *a, const BIGNUM *p, member in struct:rsa_meth_st
194 * bn_mod_exp gets called when private key components are absent.
/freebsd-11-stable/crypto/openssl/crypto/engine/
H A Deng_cryptodev.c1151 ret = meth->bn_mod_exp(r, a, p, m, ctx, in_mont);
1156 ret = meth->bn_mod_exp(r, a, p, m, ctx, in_mont);
1258 if (!dsa->meth->bn_mod_exp(dsa, t1, dsa->g, u1, dsa->p, ctx, mont))
1262 if (!dsa->meth->bn_mod_exp(dsa, &t2, dsa->pub_key, u2, dsa->p, ctx, mont))
1502 cryptodev_rsa.bn_mod_exp = rsa_meth->bn_mod_exp;
1509 cryptodev_rsa.bn_mod_exp = cryptodev_bn_mod_exp;
1524 cryptodev_dsa.bn_mod_exp = cryptodev_dsa_bn_mod_exp;
1536 cryptodev_dh.bn_mod_exp = dh_meth->bn_mod_exp;
[all...]
/freebsd-11-stable/crypto/openssl/crypto/dh/
H A Ddh_key.c194 if (!dh->meth->bn_mod_exp(dh, pub_key, dh->g, prk, dh->p, ctx, mont))
256 meth->bn_mod_exp(dh, tmp, pub_key, dh->priv_key, dh->p, ctx, mont)) {
H A Ddh.h123 int (*bn_mod_exp) (const DH *dh, BIGNUM *r, const BIGNUM *a, member in struct:dh_method
/freebsd-11-stable/crypto/openssl/engines/
H A De_gmp.c184 e_gmp_rsa.bn_mod_exp = meth1->bn_mod_exp;
H A De_aep.c186 aep_mod_exp_mont, /* bn_mod_exp */
205 aep_mod_exp_dsa, /* bn_mod_exp */
330 aep_dsa.bn_mod_exp = aep_mod_exp_dsa;
338 aep_dh.bn_mod_exp = meth3->bn_mod_exp;
H A De_capi.c432 0, /* bn_mod_exp */
447 0, /* bn_mod_exp */
475 capi_rsa_method.bn_mod_exp = ossl_rsa_meth->bn_mod_exp;
482 capi_dsa_method.bn_mod_exp = ossl_dsa_meth->bn_mod_exp;
H A De_cswift.c190 NULL, /* bn_mod_exp */
787 return def_rsa_method->bn_mod_exp(r, a, p, m, ctx, m_ctx);
H A De_ubsec.c173 NULL, /* ubsec_mod_exp_dsa *//* bn_mod_exp */
731 ret = (*meth->bn_mod_exp) (r, a, p, m, ctx, m_ctx);
/freebsd-11-stable/crypto/openssl/crypto/dsa/
H A Ddsa_ossl.c96 * bn_mod_exp() handlers in the DSA_METHOD structure. We avoid the problem of
99 * if (!dsa->meth->bn_mod_exp(dsa, r,dsa->g,&k,dsa->p,ctx,
122 if ((dsa)->meth->bn_mod_exp) \
123 _tmp_res53 = (dsa)->meth->bn_mod_exp((dsa), (r), (a), (p), \
H A Ddsa.h140 int (*bn_mod_exp) (DSA *dsa, BIGNUM *r, BIGNUM *a, const BIGNUM *p, member in struct:dsa_method

Completed in 170 milliseconds