Home
last modified time | relevance | path

Searched refs:BN_mod_exp_mont_consttime (Results 1 - 9 of 9) sorted by relevance

/third_party/openssl/test/
H A Dexptest.c92 if (!TEST_true(BN_mod_exp_mont_consttime(r, a, p, m, ctx, NULL))) in test_mod_exp_zero()
95 if (!TEST_true(a_is_zero_mod_one("BN_mod_exp_mont_consttime", r, a))) in test_mod_exp_zero()
103 if (!TEST_false(BN_mod_exp_mont_consttime(r, p, a, m, ctx, mont))) in test_mod_exp_zero()
113 if (!TEST_true(BN_mod_exp_mont_consttime(r, p, a, m, ctx, mont))) in test_mod_exp_zero()
116 if (!TEST_true(a_is_zero_mod_one("BN_mod_exp_mont_consttime", r, a))) in test_mod_exp_zero()
202 || !TEST_true(BN_mod_exp_mont_consttime(r_mont_const, a, b, m, ctx, NULL))) in test_mod_exp()
H A Dbntest.c478 if (!TEST_true(BN_mod_exp_mont_consttime(d, a, p, m, ctx, NULL))) in test_modexp_mont5()
595 && TEST_true(BN_mod_exp_mont_consttime(c, a, b, n, ctx, mont)) in test_modexp_mont5()
602 * BN_mod_exp_mont_consttime should reduce the input first. in test_modexp_mont5()
620 && TEST_true(BN_mod_exp_mont_consttime(c, a, b, n, ctx, mont)))) in test_modexp_mont5()
665 || !TEST_true(BN_mod_exp_mont_consttime(d, e, p, m, ctx, NULL)) in test_modexp_mont5()
675 if (!TEST_true(BN_mod_exp_mont_consttime(d, a, p, m, ctx, NULL)) in test_modexp_mont5()
688 || !TEST_true(BN_mod_exp_mont_consttime(d, e, p, m, ctx, NULL)) in test_modexp_mont5()
695 && TEST_true(BN_mod_exp_mont_consttime(d, e, p, m, ctx, NULL)) in test_modexp_mont5()
1658 || !TEST_true(BN_mod_exp_mont_consttime(ret, a, e, m, in file_modexp()
2277 if (!TEST_false(BN_mod_exp_mont_consttime( in test_badmod()
[all...]
/third_party/node/deps/openssl/openssl/crypto/bn/
H A Dbn_exp.c42 * BN_mod_exp_mont_consttime.
336 return BN_mod_exp_mont_consttime(rr, a, p, m, ctx, in_mont); in BN_mod_exp_mont()
509 * BN_mod_exp_mont_consttime() stores the precomputed powers in a specific
609 int BN_mod_exp_mont_consttime(BIGNUM *rr, const BIGNUM *a, const BIGNUM *p, in BN_mod_exp_mont_consttime() function
1448 * it falls back to two BN_mod_exp_mont_consttime() calls.
1510 ret = BN_mod_exp_mont_consttime(rr1, a1, p1, m1, ctx, in_mont1); in BN_mod_exp_mont_consttime_x2()
1512 ret &= BN_mod_exp_mont_consttime(rr2, a2, p2, m2, ctx, in_mont2); in BN_mod_exp_mont_consttime_x2()
/third_party/openssl/crypto/bn/
H A Dbn_exp.c42 * BN_mod_exp_mont_consttime.
328 return BN_mod_exp_mont_consttime(rr, a, p, m, ctx, in_mont); in BN_mod_exp_mont()
501 * BN_mod_exp_mont_consttime() stores the precomputed powers in a specific
601 int BN_mod_exp_mont_consttime(BIGNUM *rr, const BIGNUM *a, const BIGNUM *p, in BN_mod_exp_mont_consttime() function
1427 * it falls back to two BN_mod_exp_mont_consttime() calls.
1489 ret = BN_mod_exp_mont_consttime(rr1, a1, p1, m1, ctx, in_mont1); in BN_mod_exp_mont_consttime_x2()
1491 ret &= BN_mod_exp_mont_consttime(rr2, a2, p2, m2, ctx, in_mont2); in BN_mod_exp_mont_consttime_x2()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
H A Dcrypto_openssl.c611 if (BN_mod_exp_mont_consttime(bn_result, bn_base, bn_exp, bn_modulus, in crypto_mod_exp()
1400 res = BN_mod_exp_mont_consttime((BIGNUM *) d, (const BIGNUM *) a, in crypto_bignum_exptmod()
1612 !BN_mod_exp_mont_consttime(tmp, (const BIGNUM *) a, exp, in crypto_bignum_legendre()
/third_party/openssl/ohos_lite/include/openssl/
H A Dbn.h57 * BN_mod_exp_mont() will call BN_mod_exp_mont_consttime,
285 int BN_mod_exp_mont_consttime(BIGNUM *rr, const BIGNUM *a, const BIGNUM *p,
/third_party/node/deps/openssl/openssl/include/openssl/
H A Dbn.h63 * BN_mod_exp_mont() will call BN_mod_exp_mont_consttime,
309 int BN_mod_exp_mont_consttime(BIGNUM *rr, const BIGNUM *a, const BIGNUM *p,
/third_party/openssl/include/openssl/
H A Dbn.h63 * BN_mod_exp_mont() will call BN_mod_exp_mont_consttime,
309 int BN_mod_exp_mont_consttime(BIGNUM *rr, const BIGNUM *a, const BIGNUM *p,
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
H A Dcrypto_openssl.c684 if (BN_mod_exp_mont_consttime(bn_result, bn_base, bn_exp, bn_modulus, in crypto_mod_exp()
1473 res = BN_mod_exp_mont_consttime((BIGNUM *) d, (const BIGNUM *) a, in crypto_bignum_exptmod()
1685 !BN_mod_exp_mont_consttime(tmp, (const BIGNUM *) a, exp, in crypto_bignum_legendre()

Completed in 16 milliseconds