/freebsd/crypto/openssl/doc/man3/ |
H A D | BN_mod_exp_mont.pod | 5 BN_mod_exp_mont, BN_mod_exp_mont_consttime, BN_mod_exp_mont_consttime_x2 - 12 int BN_mod_exp_mont(BIGNUM *rr, const BIGNUM *a, const BIGNUM *p, 28 BN_mod_exp_mont() computes I<a> to the I<p>-th power modulo I<m> (C<rr=a^p % m>) 35 L<BN_mod_exp_mont(3)> that uses fixed windows and the special precomputation 37 It is called automatically when L<BN_mod_exp_mont(3)> is called with parameters 54 L<ERR_get_error(3)>, L<BN_mod_exp_mont(3)>
|
H A D | BN_BLINDING_new.pod | 87 (normally BN_mod_exp_mont() and B<BN_MONT_CTX>).
|
/freebsd/crypto/openssl/test/ |
H A D | exptest.c | 86 if (!TEST_true(BN_mod_exp_mont(r, a, p, m, ctx, NULL))) in test_mod_exp_zero() 105 if (!TEST_false(BN_mod_exp_mont(r, p, a, m, ctx, mont))) in test_mod_exp_zero() 119 if (!TEST_true(BN_mod_exp_mont(r, p, a, m, ctx, mont))) in test_mod_exp_zero() 199 || !TEST_true(BN_mod_exp_mont(r_mont, a, b, m, ctx, NULL)) in test_mod_exp()
|
H A D | bntest.c | 596 && TEST_true(BN_mod_exp_mont(d, a, b, n, ctx, mont)) in test_modexp_mont5() 1664 if (!TEST_true(BN_mod_exp_mont(ret, a, e, m, ctx, NULL)) in file_modexp() 2280 if (!TEST_false(BN_mod_exp_mont(a, BN_value_one(), BN_value_one(), in test_badmod() 2302 if (!TEST_false(BN_mod_exp_mont(a, BN_value_one(), BN_value_one(), in test_badmod() 2334 || !TEST_true(BN_mod_exp_mont(r, a, zero, BN_value_one(), in test_expmodzero() 2376 || !TEST_true(BN_mod_exp_mont(r, a, p, m, NULL, NULL)) in test_expmodone()
|
/freebsd/crypto/openssl/crypto/rsa/ |
H A D | rsa_ossl.c | 40 BN_mod_exp_mont, /* XXX probably we should not use Montgomery 669 smooth = (rsa->meth->bn_mod_exp == BN_mod_exp_mont) in rsa_ossl_mod_exp() 914 if (rsa->meth->bn_mod_exp == BN_mod_exp_mont) { in rsa_ossl_mod_exp() 915 if (!BN_mod_exp_mont(vrfy, r0, rsa->e, rsa->n, ctx, in rsa_ossl_mod_exp()
|
/freebsd/crypto/openssl/crypto/ffc/ |
H A D | ffc_params_validate.c | 43 if (!BN_mod_exp_mont(tmp, g, q, p, ctx, mont)) in ossl_ffc_params_validate_unverifiable_g()
|
H A D | ffc_params_generate.c | 108 if (!BN_mod_exp_mont(g, hbn, e, p, ctx, mont)) in generate_unverifiable_g() 174 || !BN_mod_exp_mont(g, tmp, e, p, ctx, mont)) in generate_canonical_g()
|
/freebsd/crypto/openssl/crypto/dsa/ |
H A D | dsa_ossl.c | 308 if (!BN_mod_exp_mont(r, dsa->params.g, k, dsa->params.p, ctx, in dsa_sign_setup() 475 && BN_mod_exp_mont(r, k, e, q, ctx, NULL)) in dsa_mod_inverse_fermat()
|
/freebsd/crypto/openssl/crypto/ec/ |
H A D | ecp_mont.c | 250 if (!BN_mod_exp_mont(r, a, e, group->field, ctx, group->field_data1)) in ossl_ec_GFp_mont_field_inv()
|
/freebsd/crypto/openssl/crypto/dh/ |
H A D | dh_key.c | 193 return BN_mod_exp_mont(r, a, p, m, ctx, m_ctx); in dh_bn_mod_exp()
|
/freebsd/crypto/openssl/crypto/bn/ |
H A D | bn_exp.c | 152 ret = BN_mod_exp_mont(r, a, p, m, ctx, NULL); in BN_mod_exp() 312 int BN_mod_exp_mont(BIGNUM *rr, const BIGNUM *a, const BIGNUM *p, in BN_mod_exp_mont() function 635 return BN_mod_exp_mont(rr, a, p, m, ctx, in_mont); in bn_mod_exp_mont_fixed_top()
|
H A D | bn_prime.c | 406 if (!BN_mod_exp_mont(z, b, m, w, ctx, mont)) in ossl_bn_miller_rabin_is_prime()
|
/freebsd/crypto/openssl/include/openssl/ |
H A D | bn.h | 307 int BN_mod_exp_mont(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
|
/freebsd/crypto/openssl/util/ |
H A D | missingcrypto111.txt | 282 BN_mod_exp_mont(3)
|
H A D | libcrypto.num | 718 BN_mod_exp_mont 738 3_0_0 EXIST::FUNCTION:
|
/freebsd/crypto/openssl/doc/ |
H A D | build.info | 726 DEPEND[html/man3/BN_mod_exp_mont.html]=man3/BN_mod_exp_mont.pod 727 GENERATE[html/man3/BN_mod_exp_mont.html]=man3/BN_mod_exp_mont.pod 728 DEPEND[man/man3/BN_mod_exp_mont.3]=man3/BN_mod_exp_mont.pod 729 GENERATE[man/man3/BN_mod_exp_mont.3]=man3/BN_mod_exp_mont.pod 2967 html/man3/BN_mod_exp_mont.html \ 3575 man/man3/BN_mod_exp_mont.3 \
|
/freebsd/secure/lib/libcrypto/man/man3/ |
H A D | Makefile | 65 MAN+= BN_mod_exp_mont.3 1037 MLINKS+= BN_mod_exp_mont.3 BN_mod_exp_mont_consttime.3 1038 MLINKS+= BN_mod_exp_mont.3 BN_mod_exp_mont_consttime_x2.3
|
/freebsd/secure/lib/libcrypto/ |
H A D | Version.map | 526 BN_mod_exp_mont;
|
/freebsd/crypto/openssl/ |
H A D | CHANGES.md | 10845 in the exponent causes BN_mod_exp_mont() to use the alternative 12222 and this is automatically used by BN_mod_exp_mont() if the new flag 14414 so that BN_mod_exp_mont and BN_mod_exp_mont_word work 16389 faster than BN_mod_exp_mont, i.e. 7% for a full DH exchange). 16944 * Correct return values in BN_mod_exp_mont() and BN_mod_exp2_mont()
|