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 D | rsa_eay.c | 141 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 D | dsa_ossl.c | 126 _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 D | dsa_gen.c | 348 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 D | dh_key.c | 282 return BN_mod_exp_mont(r, a, p, m, ctx, m_ctx);
|
/freebsd-11-stable/crypto/openssl/crypto/bn/ |
H A D | bn_exp.c | 150 /* 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 D | bn.h | 267 * 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 D | exptest.c | 137 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 D | bn_prime.c | 344 if (!BN_mod_exp_mont(w, w, a1_odd, a, ctx, mont)) /* w := w^a1_odd mod a */
|
H A D | exp.c | 48 BN_mod_exp_mont(&r, &a, &b, &c, &ctx, &mont);
|
Completed in 92 milliseconds