/third_party/openssl/test/ |
D | test_test.c | 330 || !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()
|
D | evp_pkey_provided_test.c | 428 || !TEST_BN_eq(bn, bn_from)) in test_fromdata_rsa() 478 || !TEST_BN_eq(n, n_out)) in test_evp_pkey_get_bn_param_large() 617 || !TEST_BN_eq(pub, pub_out) in test_fromdata_dh_named_group() 620 || !TEST_BN_eq(priv, priv_out) in test_fromdata_dh_named_group() 622 || !TEST_BN_eq(&ossl_bignum_ffdhe2048_p, p) in test_fromdata_dh_named_group() 626 || !TEST_BN_eq(&ossl_bignum_const_2, g) in test_fromdata_dh_named_group() 797 || !TEST_BN_eq(pub, pub_out) in test_fromdata_dh_fips186_4() 800 || !TEST_BN_eq(priv, priv_out) in test_fromdata_dh_fips186_4() 802 || !TEST_BN_eq(&ossl_bignum_ffdhe2048_p, p) in test_fromdata_dh_fips186_4() 806 || !TEST_BN_eq(&ossl_bignum_const_2, g) in test_fromdata_dh_fips186_4() [all …]
|
D | exptest.c | 176 if (!TEST_BN_eq(r_simple, r_mont) in test_mod_exp() 177 || !TEST_BN_eq(r_simple, r_recp) in test_mod_exp() 178 || !TEST_BN_eq(r_simple, r_mont_const)) { in test_mod_exp() 265 if (!TEST_BN_eq(r_simple1, r_mont_const_x2_1) in test_mod_exp_x2() 266 || !TEST_BN_eq(r_simple2, r_mont_const_x2_2)) { in test_mod_exp_x2()
|
D | dsatest.c | 268 || !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()
|
D | bntest.c | 132 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() 393 && TEST_BN_eq(e, c) in test_mod() 396 && TEST_BN_eq(d, a))) in test_mod() 504 && TEST_BN_eq(c, d))) in test_modexp_mont5() 516 && TEST_BN_eq(c, d))) in test_modexp_mont5() 563 || !TEST_BN_eq(c, d)) in test_modexp_mont5() [all …]
|
D | srptest.c | 100 if (!TEST_BN_eq(Kclient, Kserver)) in run_srp() 130 r = TEST_BN_eq(bn, tmp); in check_bn()
|
D | ectest.c | 312 || !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() 2138 || !TEST_BN_eq(cf, EC_GROUP_get0_cofactor(group))) in cofactor_range_test() 2203 || !TEST_BN_eq(g1_cf, g2_cf) in cardinality_test() 2208 || !TEST_BN_eq(g1_cf, g2_cf) in cardinality_test() [all …]
|
D | params_test.c | 463 || !TEST_BN_eq(app_p3, verify_p3) /* "provider" value */ in test_case_variant() 490 || !TEST_BN_eq(sneakpeek->p3, app_p3) /* app value set */ in test_case_variant() 514 || !TEST_BN_eq(app_p3, verify_p3) /* app value */ in test_case_variant()
|
D | bn_internal_test.c | 83 ret = TEST_BN_eq(ossl_bn_get0_small_factors(), b); in test_bn_small_factors()
|
D | sm2_internal_test.c | 349 || !TEST_BN_eq(r, sig_r) in test_sm2_sign() 350 || !TEST_BN_eq(s, sig_s)) in test_sm2_sign()
|
D | ecstresstest.c | 91 || !TEST_BN_eq(result, expected_result)) in test_curve()
|
D | ecdsatest.c | 140 if (!TEST_BN_eq(sig_r, r) in x9_62_tests() 141 || !TEST_BN_eq(sig_s, s)) in x9_62_tests()
|
D | params_api_test.c | 438 || !TEST_BN_eq(b, c)) in test_param_bignum() 624 || !TEST_BN_eq(bn, bn2)) in test_param_construct()
|
D | testutil.h | 508 # define TEST_BN_eq(a, b) test_BN_eq(__FILE__, __LINE__, #a, #b, a, b) macro
|