Home
last modified time | relevance | path

Searched refs:BN_mod_exp_mont (Results 1 – 18 of 18) sorted by relevance

/openssl-master/doc/man3/
A DBN_mod_exp_mont.pod5 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)>
A DBN_BLINDING_new.pod87 (normally BN_mod_exp_mont() and B<BN_MONT_CTX>).
/openssl-master/test/
A Dexptest.c85 if (!TEST_true(BN_mod_exp_mont(r, a, p, m, ctx, NULL))) in test_mod_exp_zero()
170 || !TEST_true(BN_mod_exp_mont(r_mont, a, b, m, ctx, NULL)) in test_mod_exp()
A Dbntest.c604 && TEST_true(BN_mod_exp_mont(d, a, b, n, ctx, mont)) in test_modexp_mont5()
1619 if (!TEST_true(BN_mod_exp_mont(ret, a, e, m, ctx, NULL)) in file_modexp()
2229 if (!TEST_false(BN_mod_exp_mont(a, BN_value_one(), BN_value_one(), in test_badmod()
2251 if (!TEST_false(BN_mod_exp_mont(a, BN_value_one(), BN_value_one(), in test_badmod()
2283 || !TEST_true(BN_mod_exp_mont(r, a, zero, BN_value_one(), in test_expmodzero()
2325 || !TEST_true(BN_mod_exp_mont(r, a, p, m, NULL, NULL)) in test_expmodone()
/openssl-master/crypto/ffc/
A Dffc_params_validate.c43 if (!BN_mod_exp_mont(tmp, g, q, p, ctx, mont)) in ossl_ffc_params_validate_unverifiable_g()
A Dffc_params_generate.c108 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()
/openssl-master/crypto/rsa/
A Drsa_ossl.c40 BN_mod_exp_mont, /* XXX probably we should not use Montgomery
668 smooth = (rsa->meth->bn_mod_exp == BN_mod_exp_mont) in rsa_ossl_mod_exp()
913 if (rsa->meth->bn_mod_exp == BN_mod_exp_mont) { in rsa_ossl_mod_exp()
914 if (!BN_mod_exp_mont(vrfy, r0, rsa->e, rsa->n, ctx, in rsa_ossl_mod_exp()
/openssl-master/crypto/dsa/
A Ddsa_ossl.c292 if (!BN_mod_exp_mont(r, dsa->params.g, k, dsa->params.p, ctx, in dsa_sign_setup()
460 && BN_mod_exp_mont(r, k, e, q, ctx, NULL)) in dsa_mod_inverse_fermat()
/openssl-master/crypto/ec/
A Decp_mont.c250 if (!BN_mod_exp_mont(r, a, e, group->field, ctx, group->field_data1)) in ossl_ec_GFp_mont_field_inv()
A Dec_lib.c1269 if (!BN_mod_exp_mont(r, x, e, group->order, ctx, group->mont_data)) in ec_field_inverse_mod_ord()
/openssl-master/crypto/dh/
A Ddh_key.c187 return BN_mod_exp_mont(r, a, p, m, ctx, m_ctx); in dh_bn_mod_exp()
/openssl-master/crypto/bn/
A Dbn_prime.c405 if (!BN_mod_exp_mont(z, b, m, w, ctx, mont)) in ossl_bn_miller_rabin_is_prime()
A Dbn_exp.c143 ret = BN_mod_exp_mont(r, a, p, m, ctx, NULL); in BN_mod_exp()
294 int BN_mod_exp_mont(BIGNUM *rr, const BIGNUM *a, const BIGNUM *p, in BN_mod_exp_mont() function
/openssl-master/include/openssl/
A Dbn.h307 int BN_mod_exp_mont(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
/openssl-master/util/
A Dmissingcrypto111.txt282 BN_mod_exp_mont(3)
A Dlibcrypto.num718 BN_mod_exp_mont 738 3_0_0 EXIST::FUNCTION:
/openssl-master/doc/
A Dbuild.info722 DEPEND[html/man3/BN_mod_exp_mont.html]=man3/BN_mod_exp_mont.pod
723 GENERATE[html/man3/BN_mod_exp_mont.html]=man3/BN_mod_exp_mont.pod
724 DEPEND[man/man3/BN_mod_exp_mont.3]=man3/BN_mod_exp_mont.pod
725 GENERATE[man/man3/BN_mod_exp_mont.3]=man3/BN_mod_exp_mont.pod
2902 html/man3/BN_mod_exp_mont.html \
3494 man/man3/BN_mod_exp_mont.3 \
/openssl-master/
A DCHANGES.md9881 in the exponent causes BN_mod_exp_mont() to use the alternative
11258 and this is automatically used by BN_mod_exp_mont() if the new flag
13450 so that BN_mod_exp_mont and BN_mod_exp_mont_word work
15425 faster than BN_mod_exp_mont, i.e. 7% for a full DH exchange).
15980 * Correct return values in BN_mod_exp_mont() and BN_mod_exp2_mont()

Completed in 60 milliseconds