Home
last modified time | relevance | path

Searched refs:TEST_uint_eq (Results 1 – 21 of 21) sorted by relevance

/freebsd/crypto/openssl/test/
H A Dparam_build_test.c37 || !TEST_uint_eq(p->data_type, OSSL_PARAM_UNSIGNED_INTEGER) in template_public_single_zero_test()
70 || !TEST_uint_eq(p->data_type, OSSL_PARAM_UNSIGNED_INTEGER) in template_private_single_zero_test()
149 || !TEST_uint_eq(p->data_type, OSSL_PARAM_INTEGER) in template_public_test()
156 || !TEST_uint_eq(p->data_type, OSSL_PARAM_INTEGER) in template_public_test()
162 || !TEST_uint_eq(p->data_type, OSSL_PARAM_INTEGER) in template_public_test()
169 || !TEST_uint_eq(p->data_type, OSSL_PARAM_INTEGER) in template_public_test()
176 || !TEST_uint_eq(p->data_type, OSSL_PARAM_INTEGER) in template_public_test()
184 || !TEST_uint_eq(p->data_type, OSSL_PARAM_REAL) in template_public_test()
199 || !TEST_uint_eq(p->data_type, OSSL_PARAM_UNSIGNED_INTEGER) in template_public_test()
205 || !TEST_uint_eq(p->data_type, OSSL_PARAM_UNSIGNED_INTEGER) in template_public_test()
[all …]
H A Dconstant_time_test.c65 if (is_true && !TEST_uint_eq(op(a, b), CONSTTIME_TRUE)) in test_binary_op()
67 if (!is_true && !TEST_uint_eq(op(a, b), CONSTTIME_FALSE)) in test_binary_op()
76 if (is_true && !TEST_uint_eq(op(a, b), CONSTTIME_TRUE_8)) in test_binary_op_8()
78 if (!is_true && !TEST_uint_eq(op(a, b), CONSTTIME_FALSE_8)) in test_binary_op_8()
89 if (!is_true && !TEST_uint_eq(op(a, b), CONSTTIME_FALSE_S)) in test_binary_op_s()
116 if (a == 0 && !TEST_uint_eq(constant_time_is_zero(a), CONSTTIME_TRUE)) in test_is_zero()
118 if (a != 0 && !TEST_uint_eq(constant_time_is_zero(a), CONSTTIME_FALSE)) in test_is_zero()
127 if (a == 0 && !TEST_uint_eq(constant_time_is_zero_8(a), CONSTTIME_TRUE_8)) in test_is_zero_8()
129 if (a != 0 && !TEST_uint_eq(constant_time_is_zero_8(a), CONSTTIME_FALSE_8)) in test_is_zero_8()
151 if (a != 0 && !TEST_uint_eq(constant_time_is_zero_s(a), CONSTTIME_FALSE_S)) in test_is_zero_s()
[all …]
H A Dsafe_math_test.c154 || (!err && !TEST_uint_eq(r, a + b))) in test_uint_ops()
160 || (!err && !TEST_uint_eq(r, a - b))) in test_uint_ops()
166 || (!err && !TEST_uint_eq(r, a * b))) in test_uint_ops()
172 || (!err && !TEST_uint_eq(r, a / b))) in test_uint_ops()
178 || (!err && !TEST_uint_eq(r, a % b))) in test_uint_ops()
184 || (!err && !TEST_uint_eq(r, a / b + (a % b != 0)))) in test_uint_ops()
189 if (!TEST_int_eq(err, a != 0) || (!err && !TEST_uint_eq(r, 0))) in test_uint_ops()
194 if (!TEST_int_eq(err, b != 0) || (!err && !TEST_uint_eq(r, 0))) in test_uint_ops()
199 if (!TEST_int_eq(err, 0) || !TEST_uint_eq(r, a)) in test_uint_ops()
204 if (!TEST_int_eq(err, 0) || !TEST_uint_eq(r, b)) in test_uint_ops()
[all …]
H A Dthreadstest.c650 if (!TEST_uint_eq((unsigned int)val64, 3) in test_atomic()
651 || !TEST_uint_eq((unsigned int)val64, (unsigned int)ret64)) in test_atomic()
655 if (!TEST_uint_eq((unsigned int)val64, 1) in test_atomic()
665 if (!TEST_uint_eq((unsigned int)val64, 3) in test_atomic()
666 || !TEST_uint_eq((unsigned int)val64, (unsigned int)ret64)) in test_atomic()
672 if (!TEST_uint_eq((unsigned int)val64, 3) in test_atomic()
673 || !TEST_uint_eq((unsigned int)val64, (unsigned int)ret64)) in test_atomic()
677 if (!TEST_uint_eq((unsigned int)val64, 3) in test_atomic()
686 if (!TEST_uint_eq((unsigned int)val64, 3) in test_atomic()
687 || !TEST_uint_eq((unsigned int)val64, (unsigned int)ret64)) in test_atomic()
[all …]
H A Dpackettest.c55 || !TEST_uint_eq(i, 0x02) in test_PACKET_get_1()
58 || !TEST_uint_eq(i, 0xfe) in test_PACKET_get_1()
89 || !TEST_uint_eq(i, 0x0204) in test_PACKET_get_net_2()
92 || !TEST_uint_eq(i, 0xfcfe) in test_PACKET_get_net_2()
365 || !TEST_uint_eq(i, 0x0204) in test_PACKET_get_length_prefixed_1()
389 || !TEST_uint_eq(i, 0x0608) in test_PACKET_get_length_prefixed_2()
413 || !TEST_uint_eq(i, 0x0608) in test_PACKET_get_length_prefixed_3()
H A Dquic_ackm_test.c322 if (!TEST_uint_eq(p->anti_deadlock_handshake, anti_deadlock_handshake)) in test_probe_counts()
324 if (!TEST_uint_eq(p->anti_deadlock_initial, anti_deadlock_initial)) in test_probe_counts()
326 if (!TEST_uint_eq(p->pto[QUIC_PN_SPACE_INITIAL], pto_initial)) in test_probe_counts()
328 if (!TEST_uint_eq(p->pto[QUIC_PN_SPACE_HANDSHAKE], pto_handshake)) in test_probe_counts()
330 if (!TEST_uint_eq(p->pto[QUIC_PN_SPACE_APP], pto_app)) in test_probe_counts()
H A Dquic_record_test_util.h32 || !TEST_uint_eq(a->version, b->version) in cmp_pkt_hdr()
H A Dext_internal_test.c94 if (!TEST_uint_eq(type, ext_list[i].type)) { in test_extension_list()
H A Dquic_cfq_test.c124 || !TEST_uint_eq(ossl_quic_cfq_item_get_pn_space(item), in test_cfq()
H A Dtest_test.c58 if (!TEST(1, TEST_uint_eq(3u, 3u)) in test_uint()
59 || !TEST(0, TEST_uint_eq(3u, 5u)) in test_uint()
H A Dservername_test.c81 || !TEST_uint_eq(servname_type, TLSEXT_NAMETYPE_host_name) in get_sni_from_client_hello()
H A Dprovider_status_test.c192 || !TEST_uint_eq(status, 0)) in test_provider_status()
H A Drsa_test.c363 && TEST_uint_eq(RSA_security_bits(key), result)) in test_rsa_security_bit()
H A Devp_xof_test.c298 || !TEST_uint_eq(digest_length, (unsigned int)sz) in shake_kat_digestfinal_xoflen_test()
H A Devp_pkey_dhkem_test.c98 && TEST_uint_eq(p->data_type, OSSL_PARAM_UTF8_STRING) in test_settables()
101 && TEST_uint_eq(p->data_type, OSSL_PARAM_OCTET_STRING); in test_settables()
H A Ddestest.c26 #define TEST_cs_eq TEST_uint_eq
H A Dtestutil.h437 #define TEST_uint_eq(a, b) test_uint_eq(__FILE__, __LINE__, #a, #b, a, b) macro
H A Dsslapitest.c5353 if (!TEST_uint_eq(SSL_get_negotiated_group(clientssl), expectednid) in test_negotiated_group()
5354 || !TEST_uint_eq(SSL_get_negotiated_group(serverssl), expectednid)) in test_negotiated_group()
5379 if (!TEST_uint_eq(SSL_get_negotiated_group(clientssl), expectednid) in test_negotiated_group()
5380 || !TEST_uint_eq(SSL_get_negotiated_group(serverssl), expectednid)) in test_negotiated_group()
5425 if (!TEST_uint_eq(SSL_get_negotiated_group(clientssl), expectednid) in test_negotiated_group()
5426 || !TEST_uint_eq(SSL_get_negotiated_group(serverssl), expectednid)) in test_negotiated_group()
12552 if (!TEST_uint_eq(protlen, 0)) in test_npn()
12659 if (!TEST_uint_eq(protlen, 0)) in test_alpn()
H A Dacvp_test.c1091 && !TEST_uint_eq(iv_generated, (enc == 0 || iv != NULL ? 0 : 1))) in aes_gcm_enc_dec()
H A Dquicapitest.c327 if (!TEST_uint_eq(SSL_CIPHER_get_id(cipher), cipherids[i])) in test_ciphersuites()
H A Devp_extra_test.c2196 if (!TEST_uint_eq(md_len, 0)) in test_EVP_md_null()