/freebsd/crypto/openssl/crypto/bn/ |
H A D | bn_blind.c | 25 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()
|
/freebsd/crypto/openssl/crypto/dh/ |
H A D | dh_meth.c | 135 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 D | dh_local.h | 50 int (*bn_mod_exp) (const DH *dh, BIGNUM *r, const BIGNUM *a, member
|
H A D | dh_key.c | 86 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()
|
/freebsd/crypto/openssl/crypto/dsa/ |
H A D | dsa_meth.c | 166 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 D | dsa_local.h | 57 int (*bn_mod_exp) (DSA *dsa, BIGNUM *r, const BIGNUM *a, const BIGNUM *p, member
|
H A D | dsa_ossl.c | 303 if ((dsa)->meth->bn_mod_exp != NULL) { in dsa_sign_setup() 304 if (!dsa->meth->bn_mod_exp(dsa, r, dsa->params.g, k, dsa->params.p, in dsa_sign_setup()
|
/freebsd/crypto/openssl/crypto/rsa/ |
H A D | rsa_ossl.c | 146 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(vrfy, r0, rsa->e, rsa->n, ctx, in rsa_ossl_mod_exp() [all …]
|
H A D | rsa_meth.c | 190 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 D | rsa_crpt.c | 155 ret = BN_BLINDING_create_param(NULL, e, n, ctx, rsa->meth->bn_mod_exp, in RSA_setup_blinding()
|
H A D | rsa_local.h | 116 int (*bn_mod_exp) (BIGNUM *r, const BIGNUM *a, const BIGNUM *p, member
|
/freebsd/crypto/openssl/doc/man3/ |
H A D | BN_BLINDING_new.pod | 33 int (*bn_mod_exp)(BIGNUM *r, 85 using the exponent B<e> and the modulus B<m>. B<bn_mod_exp> and
|
H A D | RSA_meth_new.pod | 82 int (*bn_mod_exp)(BIGNUM *r, const BIGNUM *a, 188 Both the mod_exp() and bn_mod_exp() functions are called by the
|
H A D | RSA_set_method.pod | 113 int (*bn_mod_exp)(BIGNUM *r, BIGNUM *a, const BIGNUM *p,
|
H A D | DH_meth_new.pod | 48 int (*bn_mod_exp)(const DH *dh, BIGNUM *r, const BIGNUM *a,
|
H A D | DSA_meth_new.pod | 66 int DSA_meth_set_bn_mod_exp(DSA_METHOD *dsam, int (*bn_mod_exp)(DSA *dsa,
|
/freebsd/crypto/openssl/include/openssl/ |
H A D | dsa.h | 252 int (*bn_mod_exp) (DSA *, BIGNUM *, const BIGNUM *, const BIGNUM *,
|
H A D | dh.h | 303 int (*bn_mod_exp)
|
H A D | rsa.h | 541 int (*bn_mod_exp) (BIGNUM *r,
|
H A D | bn.h | 436 int (*bn_mod_exp) (BIGNUM *r,
|
/freebsd/crypto/openssl/ |
H A D | CHANGES.md | 11547 dsa_mod_exp() and/or bn_mod_exp() handlers if they are non-NULL, 18032 otherwise bn_mod_exp was called. In the case of hardware keys for example 18034 in the RSA structure, which cannot be accessed from bn_mod_exp.
|