Home
last modified time | relevance | path

Searched refs:TEST_BN_eq (Results 1 – 9 of 9) sorted by relevance

/third_party/openssl/test/
Dtest_test.c330 | !TEST(1, TEST_BN_eq(b, c)) in test_bignum()
331 | !TEST(0, TEST_BN_eq(a, b)) in test_bignum()
357 | !TEST(1, TEST_BN_eq(a, a)) in test_bignum()
359 | !TEST(0, TEST_BN_eq(a, b)) in test_bignum()
428 && (TEST(0, TEST_BN_eq(a, b)) in test_long_bignum()
429 & TEST(0, TEST_BN_eq(b, a)) in test_long_bignum()
430 & TEST(0, TEST_BN_eq(b, NULL)) in test_long_bignum()
431 & TEST(0, TEST_BN_eq(NULL, a)) in test_long_bignum()
433 & TEST(0, TEST_BN_eq(c, d))); in test_long_bignum()
Dexptest.c167 if (!TEST_BN_eq(r_simple, r_mont) in test_mod_exp()
168 || !TEST_BN_eq(r_simple, r_recp) in test_mod_exp()
169 || !TEST_BN_eq(r_simple, r_mont_const)) { in test_mod_exp()
Dsrptest.c94 if (!TEST_BN_eq(Kclient, Kserver)) in run_srp()
124 r = TEST_BN_eq(bn, tmp); in check_bn()
Dbntest.c136 TEST_BN_eq(expected, actual); in equalBN()
342 && TEST_BN_eq(a, c) in test_signed_mod_replace_ab()
343 && TEST_BN_eq(b, d)) in test_signed_mod_replace_ab()
365 && TEST_BN_eq(b, c) in test_signed_mod_replace_ba()
366 && TEST_BN_eq(a, d)) in test_signed_mod_replace_ba()
397 && TEST_BN_eq(e, c) in test_mod()
400 && TEST_BN_eq(d, a))) in test_mod()
508 && TEST_BN_eq(c, d))) in test_modexp_mont5()
520 && TEST_BN_eq(c, d))) in test_modexp_mont5()
567 || !TEST_BN_eq(c, d)) in test_modexp_mont5()
[all …]
Dsm2_internal_test.c350 || !TEST_BN_eq(r, sig_r) in test_sm2_sign()
351 || !TEST_BN_eq(s, sig_s)) in test_sm2_sign()
Decstresstest.c90 || !TEST_BN_eq(result, expected_result)) in test_curve()
Decdsatest.c159 if (!TEST_BN_eq(sig_r, r) in x9_62_tests()
160 || !TEST_BN_eq(sig_s, s)) in x9_62_tests()
Dectest.c319 || !TEST_BN_eq(y, z) in prime_field_tests()
351 || !TEST_BN_eq(y, z) in prime_field_tests()
390 || !TEST_BN_eq(y, z) in prime_field_tests()
430 || !TEST_BN_eq(y, z) in prime_field_tests()
476 || !TEST_BN_eq(y, z) in prime_field_tests()
532 || !TEST_BN_eq(y, z) in prime_field_tests()
860 || !TEST_BN_eq(y, z)) in char2_curve_test()
1960 || !TEST_BN_eq(cf, EC_GROUP_get0_cofactor(group))) in cofactor_range_test()
2019 || !TEST_BN_eq(g1_cf, g2_cf) in cardinality_test()
2024 || !TEST_BN_eq(g1_cf, g2_cf) in cardinality_test()
Dtestutil.h363 # define TEST_BN_eq(a, b) test_BN_eq(__FILE__, __LINE__, #a, #b, a, b) macro