Home
last modified time | relevance | path

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

/crypto/dh/
A Ddh_meth.c131 return dhm->bn_mod_exp; in DH_meth_get_bn_mod_exp()
135 int (*bn_mod_exp) (const DH *, BIGNUM *, const BIGNUM *, const BIGNUM *, in DH_meth_set_bn_mod_exp()
138 dhm->bn_mod_exp = bn_mod_exp; in DH_meth_set_bn_mod_exp()
A Ddh_local.h50 int (*bn_mod_exp) (const DH *dh, BIGNUM *r, const BIGNUM *a, member
A Ddh_key.c86 if (!dh->meth->bn_mod_exp(dh, z, pub_key, dh->priv_key, dh->params.p, ctx, in ossl_dh_compute_key()
256 if (!dh->meth->bn_mod_exp(dh, pub_key, dh->params.g, prk, dh->params.p, in ossl_dh_generate_public_key()
/crypto/bn/
A Dbn_blind.c25 int (*bn_mod_exp) (BIGNUM *r, const BIGNUM *a, const BIGNUM *p, member
234 int (*bn_mod_exp) (BIGNUM *r, in BN_BLINDING_create_param()
265 if (bn_mod_exp != NULL) in BN_BLINDING_create_param()
266 ret->bn_mod_exp = bn_mod_exp; in BN_BLINDING_create_param()
289 if (ret->bn_mod_exp != NULL && ret->m_ctx != NULL) { in BN_BLINDING_create_param()
290 if (!ret->bn_mod_exp(ret->A, ret->A, ret->e, ret->mod, ctx, ret->m_ctx)) in BN_BLINDING_create_param()
/crypto/dsa/
A Ddsa_meth.c162 return dsam->bn_mod_exp; in DSA_meth_get_bn_mod_exp()
166 int (*bn_mod_exp) (DSA *, BIGNUM *, const BIGNUM *, const BIGNUM *, in DSA_meth_set_bn_mod_exp()
169 dsam->bn_mod_exp = bn_mod_exp; in DSA_meth_set_bn_mod_exp()
A Ddsa_local.h57 int (*bn_mod_exp) (DSA *dsa, BIGNUM *r, const BIGNUM *a, const BIGNUM *p, member
A Ddsa_ossl.c324 if ((dsa)->meth->bn_mod_exp != NULL) { in dsa_sign_setup()
325 if (!dsa->meth->bn_mod_exp(dsa, r, dsa->params.g, k, dsa->params.p, in dsa_sign_setup()
/crypto/rsa/
A Drsa_meth.c186 return meth->bn_mod_exp; in RSA_meth_get_bn_mod_exp()
190 int (*bn_mod_exp) (BIGNUM *r, in RSA_meth_set_bn_mod_exp()
197 meth->bn_mod_exp = bn_mod_exp; in RSA_meth_set_bn_mod_exp()
A Drsa_ossl.c197 if (!rsa->meth->bn_mod_exp(ret, f, rsa->e, rsa->n, ctx, in rsa_ossl_public_encrypt()
378 if (!rsa->meth->bn_mod_exp(ret, f, d, rsa->n, ctx, in rsa_ossl_private_encrypt()
612 if (!rsa->meth->bn_mod_exp(ret, f, d, rsa->n, ctx, in rsa_ossl_private_decrypt()
735 if (!rsa->meth->bn_mod_exp(ret, f, rsa->e, rsa->n, ctx, in rsa_ossl_public_decrypt()
834 smooth = (rsa->meth->bn_mod_exp == BN_mod_exp_mont) in rsa_ossl_mod_exp()
913 if (!rsa->meth->bn_mod_exp(m1, r1, dmq1, rsa->q, ctx, in rsa_ossl_mod_exp()
939 if (!rsa->meth->bn_mod_exp(r0, r1, dmp1, rsa->p, ctx, in rsa_ossl_mod_exp()
978 if (!rsa->meth->bn_mod_exp(m[i], r1, di, pinfo->r, ctx, pinfo->m)) { in rsa_ossl_mod_exp()
1079 if (rsa->meth->bn_mod_exp == BN_mod_exp_mont) { in rsa_ossl_mod_exp()
1085 if (!rsa->meth->bn_mod_exp(vrfy, r0, rsa->e, rsa->n, ctx, in rsa_ossl_mod_exp()
[all …]
A Drsa_crpt.c143 ret = BN_BLINDING_create_param(NULL, e, n, ctx, rsa->meth->bn_mod_exp, in RSA_setup_blinding()
A Drsa_local.h115 int (*bn_mod_exp) (BIGNUM *r, const BIGNUM *a, const BIGNUM *p, member

Completed in 22 milliseconds