Home
last modified time | relevance | path

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

12

/third_party/node/deps/openssl/openssl/crypto/bn/
H A Dbn_blind.c25 int (*bn_mod_exp) (BIGNUM *r, const BIGNUM *a, const BIGNUM *p, member
236 int (*bn_mod_exp) (BIGNUM *r, in BN_BLINDING_create_param()
267 if (bn_mod_exp != NULL) in BN_BLINDING_create_param()
268 ret->bn_mod_exp = bn_mod_exp; in BN_BLINDING_create_param()
291 if (ret->bn_mod_exp != NULL && ret->m_ctx != NULL) { in BN_BLINDING_create_param()
292 if (!ret->bn_mod_exp(ret->A, ret->A, ret->e, ret->mod, ctx, ret->m_ctx)) in BN_BLINDING_create_param()
/third_party/openssl/crypto/bn/
H A Dbn_blind.c25 int (*bn_mod_exp) (BIGNUM *r, const BIGNUM *a, const BIGNUM *p, member
236 int (*bn_mod_exp) (BIGNUM *r, in BN_BLINDING_create_param()
267 if (bn_mod_exp != NULL) in BN_BLINDING_create_param()
268 ret->bn_mod_exp = bn_mod_exp; in BN_BLINDING_create_param()
291 if (ret->bn_mod_exp != NULL && ret->m_ctx != NULL) { in BN_BLINDING_create_param()
292 if (!ret->bn_mod_exp(ret->A, ret->A, ret->e, ret->mod, ctx, ret->m_ctx)) in BN_BLINDING_create_param()
/third_party/node/deps/openssl/openssl/crypto/dh/
H A 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()
H A Ddh_local.h50 int (*bn_mod_exp) (const DH *dh, BIGNUM *r, const BIGNUM *a, member
H 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()
252 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/dh/
H A 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()
H A Ddh_local.h50 int (*bn_mod_exp) (const DH *dh, BIGNUM *r, const BIGNUM *a, member
H 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()
253 if (!dh->meth->bn_mod_exp(dh, pub_key, dh->params.g, prk, dh->params.p, in ossl_dh_generate_public_key()
/third_party/node/deps/openssl/openssl/crypto/dsa/
H A 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()
H A Ddsa_local.h57 int (*bn_mod_exp) (DSA *dsa, BIGNUM *r, const BIGNUM *a, const BIGNUM *p, member
H A Ddsa_ossl.c302 if ((dsa)->meth->bn_mod_exp != NULL) { in dsa_sign_setup()
303 if (!dsa->meth->bn_mod_exp(dsa, r, dsa->params.g, k, dsa->params.p, in dsa_sign_setup()
/third_party/openssl/crypto/dsa/
H A 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()
H A Ddsa_local.h57 int (*bn_mod_exp) (DSA *dsa, BIGNUM *r, const BIGNUM *a, const BIGNUM *p, member
H A Ddsa_ossl.c302 if ((dsa)->meth->bn_mod_exp != NULL) { in dsa_sign_setup()
303 if (!dsa->meth->bn_mod_exp(dsa, r, dsa->params.g, k, dsa->params.p, in dsa_sign_setup()
/third_party/node/deps/openssl/openssl/crypto/rsa/
H A 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()
H A Drsa_ossl.c146 if (!rsa->meth->bn_mod_exp(ret, f, rsa->e, rsa->n, ctx, in rsa_ossl_public_encrypt()
338 if (!rsa->meth->bn_mod_exp(ret, f, d, rsa->n, ctx, in rsa_ossl_private_encrypt()
462 if (!rsa->meth->bn_mod_exp(ret, f, d, rsa->n, ctx, in rsa_ossl_private_decrypt()
571 if (!rsa->meth->bn_mod_exp(ret, f, rsa->e, rsa->n, ctx, in rsa_ossl_public_decrypt()
669 smooth = (rsa->meth->bn_mod_exp == BN_mod_exp_mont) in rsa_ossl_mod_exp()
748 if (!rsa->meth->bn_mod_exp(m1, r1, dmq1, rsa->q, ctx, in rsa_ossl_mod_exp()
774 if (!rsa->meth->bn_mod_exp(r0, r1, dmp1, rsa->p, ctx, in rsa_ossl_mod_exp()
813 if (!rsa->meth->bn_mod_exp(m[i], r1, di, pinfo->r, ctx, pinfo->m)) { in rsa_ossl_mod_exp()
914 if (rsa->meth->bn_mod_exp == BN_mod_exp_mont) { in rsa_ossl_mod_exp()
920 if (!rsa->meth->bn_mod_exp(vrf in rsa_ossl_mod_exp()
[all...]
H A Drsa_crpt.c155 ret = BN_BLINDING_create_param(NULL, e, n, ctx, rsa->meth->bn_mod_exp, in RSA_setup_blinding()
H A Drsa_local.h116 int (*bn_mod_exp) (BIGNUM *r, const BIGNUM *a, const BIGNUM *p, member
/third_party/openssl/crypto/rsa/
H A 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()
H A Drsa_ossl.c146 if (!rsa->meth->bn_mod_exp(ret, f, rsa->e, rsa->n, ctx, in rsa_ossl_public_encrypt()
338 if (!rsa->meth->bn_mod_exp(ret, f, d, rsa->n, ctx, in rsa_ossl_private_encrypt()
462 if (!rsa->meth->bn_mod_exp(ret, f, d, rsa->n, ctx, in rsa_ossl_private_decrypt()
571 if (!rsa->meth->bn_mod_exp(ret, f, rsa->e, rsa->n, ctx, in rsa_ossl_public_decrypt()
669 smooth = (rsa->meth->bn_mod_exp == BN_mod_exp_mont) in rsa_ossl_mod_exp()
748 if (!rsa->meth->bn_mod_exp(m1, r1, dmq1, rsa->q, ctx, in rsa_ossl_mod_exp()
774 if (!rsa->meth->bn_mod_exp(r0, r1, dmp1, rsa->p, ctx, in rsa_ossl_mod_exp()
813 if (!rsa->meth->bn_mod_exp(m[i], r1, di, pinfo->r, ctx, pinfo->m)) { in rsa_ossl_mod_exp()
914 if (rsa->meth->bn_mod_exp == BN_mod_exp_mont) { in rsa_ossl_mod_exp()
920 if (!rsa->meth->bn_mod_exp(vrf in rsa_ossl_mod_exp()
[all...]
H A Drsa_crpt.c155 ret = BN_BLINDING_create_param(NULL, e, n, ctx, rsa->meth->bn_mod_exp, in RSA_setup_blinding()
H A Drsa_local.h116 int (*bn_mod_exp) (BIGNUM *r, const BIGNUM *a, const BIGNUM *p, member
/third_party/node/deps/openssl/openssl/include/openssl/
H A Ddsa.h252 int (*bn_mod_exp) (DSA *, BIGNUM *, const BIGNUM *, const BIGNUM *,
/third_party/openssl/include/openssl/
H A Ddsa.h252 int (*bn_mod_exp) (DSA *, BIGNUM *, const BIGNUM *, const BIGNUM *,
/third_party/openssl/ohos_lite/include/openssl/
H A Ddsa.h224 int (*bn_mod_exp) (DSA *, BIGNUM *, const BIGNUM *, const BIGNUM *,

Completed in 12 milliseconds

12