Home
last modified time | relevance | path

Searched refs:BN_MONT_CTX_set (Results 1 – 15 of 15) sorted by relevance

/freebsd/crypto/openssl/doc/man3/
H A DBN_mod_mul_montgomery.pod6 BN_MONT_CTX_free, BN_MONT_CTX_set, BN_MONT_CTX_copy,
16 int BN_MONT_CTX_set(BN_MONT_CTX *mont, const BIGNUM *m, BN_CTX *ctx);
37 BN_MONT_CTX_set() sets up the I<mont> structure from the modulus I<m>
/freebsd/crypto/openssl/crypto/bn/
H A Dbn_mont.c263 int BN_MONT_CTX_set(BN_MONT_CTX *mont, const BIGNUM *mod, BN_CTX *ctx) in BN_MONT_CTX_set() function
451 if (!BN_MONT_CTX_set(ret, mod, ctx)) { in BN_MONT_CTX_set_locked()
H A Dbn_exp2.c61 if (!BN_MONT_CTX_set(mont, m, ctx)) in BN_mod_exp2_mont()
H A Dbn_exp.c367 if (!BN_MONT_CTX_set(mont, m, ctx)) in BN_mod_exp_mont()
669 if (!BN_MONT_CTX_set(mont, m, ctx)) in BN_mod_exp_mont_consttime()
1234 if (!BN_MONT_CTX_set(mont, m, ctx)) in BN_mod_exp_mont_word()
1477 if (!BN_MONT_CTX_set(mont1, m1, ctx)) in BN_mod_exp_mont_consttime_x2()
1485 if (!BN_MONT_CTX_set(mont2, m2, ctx)) in BN_mod_exp_mont_consttime_x2()
H A Dbn_prime.c381 if (mont == NULL || !BN_MONT_CTX_set(mont, w, ctx)) in ossl_bn_miller_rabin_is_prime()
/freebsd/crypto/openssl/test/
H A Dbntest.c501 if (!(TEST_true(BN_MONT_CTX_set(mont, n, ctx)) in test_modexp_mont5()
513 && TEST_true(BN_MONT_CTX_set(mont, n, ctx)) in test_modexp_mont5()
558 && TEST_true(BN_MONT_CTX_set(mont, n, ctx)))) in test_modexp_mont5()
574 && TEST_true(BN_MONT_CTX_set(mont, n, ctx)) in test_modexp_mont5()
594 && TEST_true(BN_MONT_CTX_set(mont, n, ctx)) in test_modexp_mont5()
619 && TEST_true(BN_MONT_CTX_set(mont, n, ctx)) in test_modexp_mont5()
685 && TEST_true(BN_MONT_CTX_set(mont, m, ctx)))) in test_modexp_mont5()
1616 || !TEST_true(BN_MONT_CTX_set(mont, m, ctx)) in file_modmul()
2290 if (!TEST_false(BN_MONT_CTX_set(mont, zero, ctx))) in test_badmod()
2298 if (!TEST_false(BN_MONT_CTX_set(mont, b, ctx))) in test_badmod()
H A Dexptest.c109 if (!TEST_true(BN_MONT_CTX_set(mont, m, ctx))) in test_mod_exp_zero()
/freebsd/crypto/openssl/crypto/ec/
H A Decp_mont.c165 if (!BN_MONT_CTX_set(mont, p, ctx)) { in ossl_ec_GFp_mont_group_set_curve()
H A Dec_lib.c1200 if (!BN_MONT_CTX_set(group->mont_data, group->order, ctx)) { in ec_precompute_mont_data()
/freebsd/crypto/openssl/crypto/ffc/
H A Dffc_params_generate.c728 if (!BN_MONT_CTX_set(mont, p, ctx)) in ossl_ffc_params_FIPS186_4_gen_verify()
980 if (!BN_MONT_CTX_set(mont, p, ctx)) in ossl_ffc_params_FIPS186_2_gen_verify()
/freebsd/crypto/openssl/include/openssl/
H A Dbn.h409 int BN_MONT_CTX_set(BN_MONT_CTX *mont, const BIGNUM *mod, BN_CTX *ctx);
/freebsd/secure/lib/libcrypto/
H A DVersion.map452 BN_MONT_CTX_set;
/freebsd/secure/lib/libcrypto/man/man3/
H A DMakefile979 MLINKS+= BN_mod_mul_montgomery.3 BN_MONT_CTX_set.3
/freebsd/crypto/openssl/util/
H A Dlibcrypto.num1077 BN_MONT_CTX_set 1105 3_0_0 EXIST::FUNCTION:
/freebsd/crypto/openssl/
H A DCHANGES.md10643 * Fix BN flag handling in RSA_eay_mod_exp() and BN_MONT_CTX_set()
14382 (the sign is ignored). Similarly, ignore the sign in BN_MONT_CTX_set