Lines Matching refs:TEST_int_eq

69         || !TEST_int_eq(0, EC_POINT_cmp(group, Q, P, ctx))  in group_order_tests()
73 || !TEST_int_eq(0, EC_POINT_cmp(group, Q, P, ctx))) in group_order_tests()
88 || (i == 1 && !TEST_int_eq(0, EC_POINT_cmp(group, P, G, ctx))) in group_order_tests()
93 || !TEST_int_eq(0, EC_POINT_cmp(group, Q, P, ctx)) in group_order_tests()
98 || !TEST_int_eq(0, EC_POINT_cmp(group, Q, P, ctx)) in group_order_tests()
103 || !TEST_int_eq(0, EC_POINT_cmp(group, Q, P, ctx))) in group_order_tests()
122 || !TEST_int_eq(0, EC_POINT_cmp(group, R, S, ctx))) in group_order_tests()
249 || !TEST_int_eq(0, EC_POINT_cmp(group, P, Q, ctx))) in prime_field_tests()
258 || !TEST_int_eq(0, EC_POINT_cmp(group, P, Q, ctx))) in prime_field_tests()
267 || !TEST_int_eq(0, EC_POINT_cmp(group, P, Q, ctx))) in prime_field_tests()
273 || !TEST_int_eq(0, EC_POINT_cmp(group, P, R, ctx)) in prime_field_tests()
282 || !TEST_int_eq(1, BN_check_prime(p, ctx, NULL)) in prime_field_tests()
313 || !TEST_int_eq(EC_GROUP_get_degree(group), 160) in prime_field_tests()
320 || !TEST_int_eq(1, BN_check_prime(p, ctx, NULL)) in prime_field_tests()
350 || !TEST_int_eq(EC_GROUP_get_degree(group), 192) in prime_field_tests()
357 || !TEST_int_eq(1, BN_check_prime(p, ctx, NULL)) in prime_field_tests()
387 || !TEST_int_eq(EC_GROUP_get_degree(group), 224) in prime_field_tests()
394 || !TEST_int_eq(1, BN_check_prime(p, ctx, NULL)) in prime_field_tests()
425 || !TEST_int_eq(EC_GROUP_get_degree(group), 256) in prime_field_tests()
433 || !TEST_int_eq(1, BN_check_prime(p, ctx, NULL)) in prime_field_tests()
469 || !TEST_int_eq(EC_GROUP_get_degree(group), 384) in prime_field_tests()
478 || !TEST_int_eq(1, BN_check_prime(p, ctx, NULL)) in prime_field_tests()
523 || !TEST_int_eq(EC_GROUP_get_degree(group), 521) in prime_field_tests()
560 || !TEST_int_eq(0, EC_POINT_cmp(group, P, R, ctx)) in prime_field_tests()
561 || !TEST_int_eq(0, EC_POINT_cmp(group, R, Q, ctx)) in prime_field_tests()
853 if (!TEST_int_eq(EC_GROUP_get_degree(group), test->degree) in char2_curve_test()
887 || !TEST_int_eq(0, EC_POINT_cmp(group, P, R, ctx)) in char2_curve_test()
888 || !TEST_int_eq(0, EC_POINT_cmp(group, R, Q, ctx))) in char2_curve_test()
1035 || !TEST_int_eq(0, EC_POINT_cmp(group, P, Q, ctx))) in char2_field_tests()
1045 || !TEST_int_eq(0, EC_POINT_cmp(group, P, Q, ctx))) in char2_field_tests()
1057 || !TEST_int_eq(0, EC_POINT_cmp(group, P, Q, ctx))) in char2_field_tests()
1064 || !TEST_int_eq(0, EC_POINT_cmp(group, P, R, ctx))) in char2_field_tests()
1337 || !TEST_int_eq(1, BN_check_prime(p, ctx, NULL)) in nistp_single_test()
1361 || !TEST_int_eq(EC_GROUP_get_degree(NISTP), test->degree)) in nistp_single_test()
1369 if (!TEST_int_eq(0, EC_POINT_cmp(NISTP, Q, Q_CHECK, ctx))) in nistp_single_test()
1373 if (!TEST_int_eq(0, EC_POINT_cmp(NISTP, Q, Q_CHECK, ctx)) in nistp_single_test()
1385 if (!TEST_int_eq(0, EC_POINT_cmp(NISTP, Q, Q_CHECK, ctx))) in nistp_single_test()
1389 if (!TEST_int_eq(0, EC_POINT_cmp(NISTP, Q, Q_CHECK, ctx)) in nistp_single_test()
1401 if (!TEST_int_eq(0, EC_POINT_cmp(NISTP, Q, Q_CHECK, ctx))) in nistp_single_test()
1405 if (!TEST_int_eq(0, EC_POINT_cmp(NISTP, Q, Q_CHECK, ctx)) in nistp_single_test()
1412 if (!TEST_int_eq(0, EC_POINT_cmp(NISTP, Q, Q_CHECK, ctx))) in nistp_single_test()
1416 if (!TEST_int_eq(0, EC_POINT_cmp(NISTP, Q, Q_CHECK, ctx))) in nistp_single_test()
1425 || !TEST_int_eq(0, EC_POINT_cmp(NISTP, Q, G, ctx))) in nistp_single_test()
1561 if (!TEST_int_eq(EC_GROUP_check_named_curve(group, 0, NULL), nid) in check_named_curve_test()
1563 || !TEST_int_eq(EC_GROUP_check_named_curve(group, 1, NULL), in check_named_curve_test()
1576 if (!TEST_int_eq(EC_GROUP_check_named_curve(group, 0, NULL), nid)) in check_named_curve_test()
1579 if (!TEST_int_eq(EC_GROUP_set_seed(group, invalid_seed, invalid_seed_len), in check_named_curve_test()
1588 if (!TEST_int_eq(EC_GROUP_check_named_curve(group, 0, NULL), 0)) in check_named_curve_test()
1595 if (!TEST_int_eq(EC_GROUP_check_named_curve(group, 0, NULL), nid)) in check_named_curve_test()
1599 if (!TEST_int_eq(EC_GROUP_set_seed(group, NULL, 0), 1) in check_named_curve_test()
1600 || !TEST_int_eq(EC_GROUP_check_named_curve(group, 0, NULL), nid)) in check_named_curve_test()
1604 if (!TEST_int_eq(EC_GROUP_check_named_curve(gtest, 0, NULL), nid)) in check_named_curve_test()
1610 || !TEST_int_eq(EC_GROUP_check_named_curve(gtest, 0, NULL), 0) in check_named_curve_test()
1613 || !TEST_int_eq(EC_GROUP_check_named_curve(gtest, 0, NULL), 0) in check_named_curve_test()
1619 || !TEST_int_eq(EC_GROUP_check_named_curve(gtest, 0, NULL), 0) in check_named_curve_test()
1623 || !TEST_int_eq(EC_GROUP_check_named_curve(gtest, 0, NULL), nid) in check_named_curve_test()
1627 || !TEST_int_eq(EC_GROUP_check_named_curve(gtest, 0, NULL), nid)) in check_named_curve_test()
1666 || !TEST_int_eq(EC_GROUP_check_named_curve(gtest, 0, NULL), nid)) in check_named_curve_test()
1732 || !TEST_int_eq(EC_GROUP_cmp(g, ga, ctx), 0)) in check_named_curve_lookup_test()
1902 if (!TEST_int_eq(EC_GROUP_get_asn1_flag(tgroup), OPENSSL_EC_EXPLICIT_CURVE)) in check_named_curve_from_ecparameters()
1909 if (!TEST_int_eq(EC_GROUP_set_seed(tmpg, invalid_seed, invalid_seed_len), in check_named_curve_from_ecparameters()
1917 || !TEST_int_eq(EC_GROUP_get_asn1_flag(tgroup), in check_named_curve_from_ecparameters()
1927 if (!TEST_int_eq(EC_GROUP_set_seed(tmpg, NULL, 0), 1) in check_named_curve_from_ecparameters()
1934 || !TEST_int_eq(EC_GROUP_get_asn1_flag(tgroup), in check_named_curve_from_ecparameters()
1951 || !TEST_int_eq((tnid = EC_GROUP_get_curve_name(tgroup)), NID_undef) in check_named_curve_from_ecparameters()
1959 || !TEST_int_eq((tnid = EC_GROUP_get_curve_name(tgroup)), NID_undef) in check_named_curve_from_ecparameters()
1972 || !TEST_int_eq(EC_GROUP_get_asn1_flag(tgroup), in check_named_curve_from_ecparameters()
1983 || !TEST_int_eq(EC_GROUP_get_asn1_flag(tgroup), in check_named_curve_from_ecparameters()
1994 || !TEST_int_eq(EC_GROUP_get_asn1_flag(tgroup), in check_named_curve_from_ecparameters()
2024 || !TEST_int_eq(EC_GROUP_cmp(group, group2, NULL), 0)) in parameter_test()
2195 || !TEST_int_eq(0, is_binary) in cardinality_test()
2316 || !TEST_int_eq(0, EC_POINT_cmp(group, Q, P, bnctx))) in ec_point_hex2point_test_helper()
2539 || !TEST_int_eq(EC_GROUP_get_degree(group), i_out) in do_test_custom_explicit_fromdata()
2549 || !TEST_int_eq(k1, i_out) in do_test_custom_explicit_fromdata()
2562 || !TEST_int_eq(k1, i_out) in do_test_custom_explicit_fromdata()
2565 || !TEST_int_eq(k2, i_out) in do_test_custom_explicit_fromdata()
2568 || !TEST_int_eq(k3, i_out)) in do_test_custom_explicit_fromdata()
2646 || !TEST_int_eq(EC_POINT_point2oct(group, Q1, in custom_generator_test()
2650 || !TEST_int_eq(EC_POINT_point2oct(group, Q1, in custom_generator_test()
2663 || !TEST_int_eq(EC_POINT_point2oct(group, Q2, in custom_generator_test()
2667 || !TEST_int_eq(EC_POINT_point2oct(group, Q2, in custom_generator_test()
2756 || !TEST_int_eq(EC_POINT_point2oct(group, G2, in custom_params_test()
2760 || !TEST_int_eq(EC_POINT_point2oct(group, G2, in custom_params_test()
2784 || !TEST_int_eq(EC_POINT_is_on_curve(altgroup, G2, ctx), 1) in custom_params_test()
2801 || !TEST_int_eq(EC_POINT_point2oct(group, Q1, in custom_params_test()
2804 || !TEST_int_eq(EC_POINT_point2oct(group, Q1, in custom_params_test()
2812 || !TEST_int_eq(EC_POINT_point2oct(altgroup, Q2, in custom_params_test()
2816 || !TEST_int_eq(EC_POINT_point2oct(altgroup, Q2, in custom_params_test()
2843 || !TEST_int_eq(EC_POINT_point2oct(group, Q1, in custom_params_test()
2847 || !TEST_int_eq(EC_POINT_point2oct(group, Q1, in custom_params_test()
2854 || !TEST_int_eq(EC_POINT_point2oct(altgroup, Q, in custom_params_test()
2858 || !TEST_int_eq(EC_POINT_point2oct(altgroup, Q, in custom_params_test()
2865 || !TEST_int_eq(EVP_PKEY_assign_EC_KEY(pkey1, eckey1), 1)) in custom_params_test()
2869 || !TEST_int_eq(EVP_PKEY_assign_EC_KEY(pkey2, eckey2), 1)) in custom_params_test()
2875 || !TEST_int_eq(EVP_PKEY_derive_init(pctx1), 1) in custom_params_test()
2876 || !TEST_int_eq(EVP_PKEY_derive_set_peer(pctx1, pkey2), 1) in custom_params_test()
2877 || !TEST_int_eq(EVP_PKEY_derive(pctx1, NULL, &sslen), 1) in custom_params_test()
2879 || !TEST_int_eq(EVP_PKEY_derive(pctx1, buf1, &sslen), 1)) in custom_params_test()
2882 || !TEST_int_eq(EVP_PKEY_derive_init(pctx2), 1) in custom_params_test()
2883 || !TEST_int_eq(EVP_PKEY_derive_set_peer(pctx2, pkey1), 1) in custom_params_test()
2884 || !TEST_int_eq(EVP_PKEY_derive(pctx2, NULL, &t), 1) in custom_params_test()
2887 || !TEST_int_eq(EVP_PKEY_derive(pctx2, buf2, &t), 1)) in custom_params_test()
2922 || !TEST_int_eq(EVP_PKEY_fromdata_init(pctx2), 1) in custom_params_test()
2923 || !TEST_int_eq(EVP_PKEY_fromdata(pctx2, &pkey1, EVP_PKEY_KEYPAIR, in custom_params_test()
2925 || !TEST_int_eq(EVP_PKEY_fromdata(pctx2, &pkey2, EVP_PKEY_PUBLIC_KEY, in custom_params_test()
2932 || !TEST_int_eq(EVP_PKEY_derive_init(pctx1), 1) in custom_params_test()
2933 || !TEST_int_eq(EVP_PKEY_derive_set_peer(pctx1, pkey2), 1) in custom_params_test()
2934 || !TEST_int_eq(EVP_PKEY_derive(pctx1, NULL, &t), 1) in custom_params_test()
2937 || !TEST_int_eq(EVP_PKEY_derive(pctx1, buf1, &t), 1) in custom_params_test()