Home
last modified time | relevance | path

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

/freebsd/crypto/openssl/test/
H A 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()
H A Devp_pkey_provided_test.c433 || !TEST_BN_eq(bn, bn_from)) in test_fromdata_rsa()
483 || !TEST_BN_eq(n, n_out)) in test_evp_pkey_get_bn_param_large()
622 || !TEST_BN_eq(pub, pub_out) in test_fromdata_dh_named_group()
625 || !TEST_BN_eq(priv, priv_out) in test_fromdata_dh_named_group()
802 || !TEST_BN_eq(pub, pub_out) in test_fromdata_dh_fips186_4()
1300 if (!TEST_BN_eq(group_p, p) || !TEST_BN_eq(group_a, a) in test_fromdata_ec()
1301 || !TEST_BN_eq(group_b, b)) in test_fromdata_ec()
1593 || !TEST_BN_eq(pub, pub_out) in test_fromdata_dsa_fips186_4()
1599 || !TEST_BN_eq(p, p_out) in test_fromdata_dsa_fips186_4()
1602 || !TEST_BN_eq(q, q_out) in test_fromdata_dsa_fips186_4()
[all …]
H A Dexptest.c205 if (!TEST_BN_eq(r_simple, r_mont) in test_mod_exp()
206 || !TEST_BN_eq(r_simple, r_recp) in test_mod_exp()
207 || !TEST_BN_eq(r_simple, r_mont_const)) { in test_mod_exp()
294 if (!TEST_BN_eq(r_simple1, r_mont_const_x2_1) in test_mod_exp_x2()
295 || !TEST_BN_eq(r_simple2, r_mont_const_x2_2)) { in test_mod_exp_x2()
H A Dsrptest.c100 if (!TEST_BN_eq(Kclient, Kserver)) in run_srp()
130 r = TEST_BN_eq(bn, tmp); in check_bn()
H A Dbntest.c132 TEST_BN_eq(expected, actual); in equalBN()
338 && TEST_BN_eq(a, c) in test_signed_mod_replace_ab()
339 && TEST_BN_eq(b, d)) in test_signed_mod_replace_ab()
361 && TEST_BN_eq(b, c) in test_signed_mod_replace_ba()
362 && TEST_BN_eq(a, d)) in test_signed_mod_replace_ba()
504 && TEST_BN_eq(c, d))) in test_modexp_mont5()
516 && TEST_BN_eq(c, d))) in test_modexp_mont5()
597 && TEST_BN_eq(c, d))) in test_modexp_mont5()
623 if (!TEST_BN_eq(c, d)) in test_modexp_mont5()
1684 || !TEST_BN_eq(d, e)) in file_modexp()
[all …]
H A Ddsatest.c268 || !TEST_BN_eq(p_in, p_out) in dsa_keygen_test()
270 || !TEST_BN_eq(q_in, q_out) in dsa_keygen_test()
272 || !TEST_BN_eq(g_in, g_out) in dsa_keygen_test()
H A Dbn_internal_test.c83 ret = TEST_BN_eq(ossl_bn_get0_small_factors(), b); in test_bn_small_factors()
H A Dparam_build_test.c38 || !TEST_BN_eq(zbn_res, zbn)) in template_public_single_zero_test()
72 || !TEST_BN_eq(zbn_res, zbn)) in template_private_single_zero_test()
195 || !TEST_BN_eq(zbn_res, zbn) in template_public_test()
341 || !TEST_BN_eq(zbn_res, zbn) in template_private_test()
H A Decstresstest.c91 || !TEST_BN_eq(result, expected_result)) in test_curve()
H A Dsm2_internal_test.c349 || !TEST_BN_eq(r, sig_r) in test_sm2_sign()
350 || !TEST_BN_eq(s, sig_s)) in test_sm2_sign()
H A Dectest.c312 || !TEST_BN_eq(y, z) in prime_field_tests()
342 || !TEST_BN_eq(y, z) in prime_field_tests()
379 || !TEST_BN_eq(y, z) in prime_field_tests()
417 || !TEST_BN_eq(y, z) in prime_field_tests()
461 || !TEST_BN_eq(y, z) in prime_field_tests()
515 || !TEST_BN_eq(y, z) in prime_field_tests()
834 || !TEST_BN_eq(y, z)) in char2_curve_test()
2203 || !TEST_BN_eq(g1_cf, g2_cf) in cardinality_test()
2493 || !TEST_BN_eq(p_out, p) in do_test_custom_explicit_fromdata()
2496 || !TEST_BN_eq(a_out, a) in do_test_custom_explicit_fromdata()
[all …]
H A Dparams_test.c464 || !TEST_BN_eq(app_p3, verify_p3) /* "provider" value */ in test_case_variant()
491 || !TEST_BN_eq(sneakpeek->p3, app_p3) /* app value set */ in test_case_variant()
515 || !TEST_BN_eq(app_p3, verify_p3) /* app value */ in test_case_variant()
H A Decdsatest.c140 if (!TEST_BN_eq(sig_r, r) in x9_62_tests()
141 || !TEST_BN_eq(sig_s, s)) in x9_62_tests()
H A Dparams_api_test.c438 || !TEST_BN_eq(b, c)) in test_param_bignum()
624 || !TEST_BN_eq(bn, bn2)) in test_param_construct()
H A Dtestutil.h510 # define TEST_BN_eq(a, b) test_BN_eq(__FILE__, __LINE__, #a, #b, a, b) macro