| /freebsd/crypto/openssl/test/ |
| H A D | param_build_test.c | 37 || !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 D | constant_time_test.c | 65 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 D | safe_math_test.c | 154 || (!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 D | threadstest.c | 650 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 D | packettest.c | 55 || !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 D | quic_ackm_test.c | 322 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 D | quic_record_test_util.h | 32 || !TEST_uint_eq(a->version, b->version) in cmp_pkt_hdr()
|
| H A D | ext_internal_test.c | 94 if (!TEST_uint_eq(type, ext_list[i].type)) { in test_extension_list()
|
| H A D | quic_cfq_test.c | 124 || !TEST_uint_eq(ossl_quic_cfq_item_get_pn_space(item), in test_cfq()
|
| H A D | test_test.c | 58 if (!TEST(1, TEST_uint_eq(3u, 3u)) in test_uint() 59 || !TEST(0, TEST_uint_eq(3u, 5u)) in test_uint()
|
| H A D | servername_test.c | 81 || !TEST_uint_eq(servname_type, TLSEXT_NAMETYPE_host_name) in get_sni_from_client_hello()
|
| H A D | provider_status_test.c | 192 || !TEST_uint_eq(status, 0)) in test_provider_status()
|
| H A D | rsa_test.c | 363 && TEST_uint_eq(RSA_security_bits(key), result)) in test_rsa_security_bit()
|
| H A D | evp_xof_test.c | 298 || !TEST_uint_eq(digest_length, (unsigned int)sz) in shake_kat_digestfinal_xoflen_test()
|
| H A D | evp_pkey_dhkem_test.c | 98 && 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 D | destest.c | 26 #define TEST_cs_eq TEST_uint_eq
|
| H A D | testutil.h | 437 #define TEST_uint_eq(a, b) test_uint_eq(__FILE__, __LINE__, #a, #b, a, b) macro
|
| H A D | sslapitest.c | 5353 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 D | acvp_test.c | 1091 && !TEST_uint_eq(iv_generated, (enc == 0 || iv != NULL ? 0 : 1))) in aes_gcm_enc_dec()
|
| H A D | quicapitest.c | 327 if (!TEST_uint_eq(SSL_CIPHER_get_id(cipher), cipherids[i])) in test_ciphersuites()
|
| H A D | evp_extra_test.c | 2196 if (!TEST_uint_eq(md_len, 0)) in test_EVP_md_null()
|