Home
last modified time | relevance | path

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

12

/third_party/openssl/crypto/dh/
Ddh_meth.c135 return dhm->bn_mod_exp; in DH_meth_get_bn_mod_exp()
139 int (*bn_mod_exp) (const DH *, BIGNUM *, const BIGNUM *, const BIGNUM *, in DH_meth_set_bn_mod_exp()
142 dhm->bn_mod_exp = bn_mod_exp; in DH_meth_set_bn_mod_exp()
Ddh_local.h50 int (*bn_mod_exp) (const DH *dh, BIGNUM *r, const BIGNUM *a, member
Ddh_key.c80 if (!dh->meth->bn_mod_exp(dh, z, pub_key, dh->priv_key, dh->params.p, ctx, in ossl_dh_compute_key()
247 if (!dh->meth->bn_mod_exp(dh, pub_key, dh->params.g, prk, dh->params.p, in ossl_dh_generate_public_key()
/third_party/openssl/crypto/bn/
Dbn_blind.c221 int (*bn_mod_exp) (BIGNUM *r, in BN_BLINDING_create_param()
252 if (bn_mod_exp != NULL) in BN_BLINDING_create_param()
253 ret->bn_mod_exp = bn_mod_exp; in BN_BLINDING_create_param()
276 if (ret->bn_mod_exp != NULL && ret->m_ctx != NULL) { in BN_BLINDING_create_param()
277 if (!ret->bn_mod_exp(ret->A, ret->A, ret->e, ret->mod, ctx, ret->m_ctx)) in BN_BLINDING_create_param()
Dbn_local.h282 int (*bn_mod_exp) (BIGNUM *r, const BIGNUM *a, const BIGNUM *p, member
/third_party/openssl/crypto/dsa/
Ddsa_meth.c166 return dsam->bn_mod_exp; in DSA_meth_get_bn_mod_exp()
170 int (*bn_mod_exp) (DSA *, BIGNUM *, const BIGNUM *, const BIGNUM *, in DSA_meth_set_bn_mod_exp()
173 dsam->bn_mod_exp = bn_mod_exp; in DSA_meth_set_bn_mod_exp()
Ddsa_local.h57 int (*bn_mod_exp) (DSA *dsa, BIGNUM *r, const BIGNUM *a, const BIGNUM *p, member
Ddsa_ossl.c287 if ((dsa)->meth->bn_mod_exp != NULL) { in dsa_sign_setup()
288 if (!dsa->meth->bn_mod_exp(dsa, r, dsa->params.g, k, dsa->params.p, in dsa_sign_setup()
/third_party/openssl/crypto/rsa/
Drsa_ossl.c146 if (!rsa->meth->bn_mod_exp(ret, f, rsa->e, rsa->n, ctx, in rsa_ossl_public_encrypt()
337 if (!rsa->meth->bn_mod_exp(ret, f, d, rsa->n, ctx, in rsa_ossl_private_encrypt()
463 if (!rsa->meth->bn_mod_exp(ret, f, d, rsa->n, ctx, in rsa_ossl_private_decrypt()
579 if (!rsa->meth->bn_mod_exp(ret, f, rsa->e, rsa->n, ctx, in rsa_ossl_public_decrypt()
677 smooth = (rsa->meth->bn_mod_exp == BN_mod_exp_mont) in rsa_ossl_mod_exp()
756 if (!rsa->meth->bn_mod_exp(m1, r1, dmq1, rsa->q, ctx, in rsa_ossl_mod_exp()
782 if (!rsa->meth->bn_mod_exp(r0, r1, dmp1, rsa->p, ctx, in rsa_ossl_mod_exp()
821 if (!rsa->meth->bn_mod_exp(m[i], r1, di, pinfo->r, ctx, pinfo->m)) { in rsa_ossl_mod_exp()
922 if (rsa->meth->bn_mod_exp == BN_mod_exp_mont) { in rsa_ossl_mod_exp()
928 if (!rsa->meth->bn_mod_exp(vrfy, r0, rsa->e, rsa->n, ctx, in rsa_ossl_mod_exp()
[all …]
Drsa_meth.c190 return meth->bn_mod_exp; in RSA_meth_get_bn_mod_exp()
194 int (*bn_mod_exp) (BIGNUM *r, in RSA_meth_set_bn_mod_exp()
201 meth->bn_mod_exp = bn_mod_exp; in RSA_meth_set_bn_mod_exp()
Drsa_crpt.c155 ret = BN_BLINDING_create_param(NULL, e, n, ctx, rsa->meth->bn_mod_exp, in RSA_setup_blinding()
Drsa_local.h116 int (*bn_mod_exp) (BIGNUM *r, const BIGNUM *a, const BIGNUM *p, member
/third_party/openssl/doc/man3/
DBN_BLINDING_new.pod33 int (*bn_mod_exp)(BIGNUM *r,
85 using the exponent B<e> and the modulus B<m>. B<bn_mod_exp> and
DRSA_meth_new.pod82 int (*bn_mod_exp)(BIGNUM *r, const BIGNUM *a,
188 Both the mod_exp() and bn_mod_exp() functions are called by the
DDH_meth_new.pod48 int (*bn_mod_exp)(const DH *dh, BIGNUM *r, const BIGNUM *a,
DRSA_set_method.pod113 int (*bn_mod_exp)(BIGNUM *r, BIGNUM *a, const BIGNUM *p,
DDSA_meth_new.pod66 int DSA_meth_set_bn_mod_exp(DSA_METHOD *dsam, int (*bn_mod_exp)(DSA *dsa,
/third_party/openssl/ohos_lite/include/openssl/
Ddsa.h224 int (*bn_mod_exp) (DSA *, BIGNUM *, const BIGNUM *, const BIGNUM *,
Ddh.h217 int (*bn_mod_exp) (const DH *, BIGNUM *, const BIGNUM *, const BIGNUM *,
Drsa.h468 int (*bn_mod_exp) (BIGNUM *r,
Dbn.h394 int (*bn_mod_exp) (BIGNUM *r,
/third_party/openssl/include/openssl/
Ddsa.h252 int (*bn_mod_exp) (DSA *, BIGNUM *, const BIGNUM *, const BIGNUM *,
Ddh.h303 int (*bn_mod_exp)
Drsa.h541 int (*bn_mod_exp) (BIGNUM *r,
Dbn.h436 int (*bn_mod_exp) (BIGNUM *r,

12