Searched refs:BN_mod_exp_mont (Results 1 - 9 of 9) sorted by last modified time

/freebsd-11-stable/crypto/openssl/crypto/rsa/
H A Drsa_eay.c141 BN_mod_exp_mont, /* XXX probably we should not use Montgomery
748 smooth = (rsa->meth->bn_mod_exp == BN_mod_exp_mont)
878 if (rsa->meth->bn_mod_exp == BN_mod_exp_mont) {
879 if (!BN_mod_exp_mont(vrfy, r0, rsa->e, rsa->n, ctx,
/freebsd-11-stable/crypto/openssl/crypto/dsa/
H A Ddsa_ossl.c126 _tmp_res53 = BN_mod_exp_mont((r), (a), (p), (m), (ctx), (m_ctx)); \
494 && BN_mod_exp_mont(r, k, &e, q, ctx, NULL))
H A Ddsa_gen.c348 if (!BN_mod_exp_mont(g, test, r0, p, ctx, mont))
677 if (!BN_mod_exp_mont(g, test, r0, p, ctx, mont))
752 if (!BN_mod_exp_mont(tmp, dsa->g, dsa->q, dsa->p, ctx, mont))
/freebsd-11-stable/crypto/openssl/crypto/dh/
H A Ddh_key.c282 return BN_mod_exp_mont(r, a, p, m, ctx, m_ctx);
/freebsd-11-stable/crypto/openssl/crypto/bn/
H A Dbn_exp.c150 /* BN_FLG_CONSTTIME only supported by BN_mod_exp_mont() */
218 * BN_mod_exp_mont 33 .. 40 % [AMD K6-2, Linux, debug configuration]
225 * On the Sparc, BN_mod_exp_recp was faster than BN_mod_exp_mont
256 ret = BN_mod_exp_mont(r, a, p, m, ctx, NULL);
286 /* BN_FLG_CONSTTIME only supported by BN_mod_exp_mont() */
408 int BN_mod_exp_mont(BIGNUM *rr, const BIGNUM *a, const BIGNUM *p, function
697 * This variant of BN_mod_exp_mont() uses fixed windows and the special
1238 /* BN_FLG_CONSTTIME only supported by BN_mod_exp_mont() */
1371 /* BN_FLG_CONSTTIME only supported by BN_mod_exp_mont() */
H A Dbn.h267 * BN_mod_exp_mont() will call BN_mod_exp_mont_consttime,
278 * (BN_mod_exp_mont() will call BN_mod_exp_mont_consttime)
552 int BN_mod_exp_mont(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
H A Dexptest.c137 if (!BN_mod_exp_mont(&r, &a, &p, &m, ctx, NULL))
140 if (!a_is_zero_mod_one("BN_mod_exp_mont", &r, &a))
229 ret = BN_mod_exp_mont(r_mont, a, b, m, ctx, NULL);
231 printf("BN_mod_exp_mont() problems\n");
H A Dbn_prime.c344 if (!BN_mod_exp_mont(w, w, a1_odd, a, ctx, mont)) /* w := w^a1_odd mod a */
H A Dexp.c48 BN_mod_exp_mont(&r, &a, &b, &c, &ctx, &mont);

Completed in 92 milliseconds