/third_party/openssl/test/ |
D | packettest.c | 22 || !TEST_size_t_eq(PACKET_remaining(&pkt), BUF_LEN) in test_PACKET_remaining() 24 || !TEST_size_t_eq(PACKET_remaining(&pkt), 1) in test_PACKET_remaining() 26 || !TEST_size_t_eq(PACKET_remaining(&pkt), 0)) in test_PACKET_remaining() 37 || !TEST_size_t_eq(PACKET_remaining(&pkt), BUF_LEN) in test_PACKET_end() 142 || !TEST_size_t_eq(PACKET_remaining(&subpkt), 0) in test_PACKET_get_sub_packet() 147 || !TEST_size_t_eq(PACKET_remaining(&subpkt), 0) in test_PACKET_get_sub_packet() 165 || !TEST_size_t_eq(PACKET_remaining(&pkt), BUF_LEN -4) in test_PACKET_get_bytes() 189 || !TEST_size_t_eq(PACKET_remaining(&pkt), BUF_LEN - 4) in test_PACKET_copy_bytes() 210 || !TEST_size_t_eq(len, BUF_LEN) in test_PACKET_copy_all() 212 || !TEST_size_t_eq(PACKET_remaining(&pkt), BUF_LEN) in test_PACKET_copy_all() [all …]
|
D | tls13secretstest.c | 310 if (!TEST_size_t_eq(sizeof(client_hts), hashsize)) in test_handshake_secrets() 312 if (!TEST_size_t_eq(sizeof(client_hts_key), KEYLEN)) in test_handshake_secrets() 314 if (!TEST_size_t_eq(sizeof(client_hts_iv), IVLEN)) in test_handshake_secrets() 325 if (!TEST_size_t_eq(sizeof(server_hts), hashsize)) in test_handshake_secrets() 327 if (!TEST_size_t_eq(sizeof(server_hts_key), KEYLEN)) in test_handshake_secrets() 329 if (!TEST_size_t_eq(sizeof(server_hts_iv), IVLEN)) in test_handshake_secrets() 359 if (!TEST_size_t_eq(sizeof(client_ats), hashsize)) in test_handshake_secrets() 361 if (!TEST_size_t_eq(sizeof(client_ats_key), KEYLEN)) in test_handshake_secrets() 363 if (!TEST_size_t_eq(sizeof(client_ats_iv), IVLEN)) in test_handshake_secrets() 374 if (!TEST_size_t_eq(sizeof(server_ats), hashsize)) in test_handshake_secrets() [all …]
|
D | secmemtest.c | 39 || !TEST_size_t_eq(CRYPTO_secure_used(), 32)) in test_sec_mem() 53 || !TEST_size_t_eq(CRYPTO_secure_used(), 64)) in test_sec_mem() 58 if (!TEST_size_t_eq(CRYPTO_secure_used(), 32)) in test_sec_mem() 69 if (!TEST_size_t_eq(CRYPTO_secure_used(), 0) in test_sec_mem()
|
D | sanitytest.c | 43 if (!TEST_size_t_eq(sizeof(enum smallchoices), sizeof(int)) in test_sanity_enum_size() 44 || !TEST_size_t_eq(sizeof(enum medchoices), sizeof(int)) in test_sanity_enum_size() 45 || !TEST_size_t_eq(sizeof(enum largechoices), sizeof(int))) in test_sanity_enum_size()
|
D | wpackettest.c | 204 || !TEST_size_t_eq(len, 1) in test_WPACKET_start_sub_packet() 207 || !TEST_size_t_eq(len, 3) in test_WPACKET_start_sub_packet() 234 || !TEST_size_t_eq(len, 1) in test_WPACKET_start_sub_packet() 237 || !TEST_size_t_eq(len, 3) in test_WPACKET_start_sub_packet() 283 || !TEST_size_t_eq(written, 0)) in test_WPACKET_set_flags()
|
D | sslapitest.c | 153 if (!TEST_size_t_eq(raw_length * 2, hex_length)) in compare_hex_encoded_buffer() 195 if (!TEST_size_t_eq(strlen(token), 16)) in test_keylog_output() 213 if (!TEST_size_t_eq(client_random_size, SSL3_RANDOM_SIZE)) in test_keylog_output() 218 if (!TEST_size_t_eq(strlen(token), 64)) in test_keylog_output() 268 if (!TEST_size_t_eq(client_random_size, SSL3_RANDOM_SIZE)) in test_keylog_output() 273 if (!TEST_size_t_eq(strlen(token), 64)) in test_keylog_output() 293 if (!TEST_size_t_eq(rsa_key_exchange_count, in test_keylog_output() 295 || !TEST_size_t_eq(master_secret_count, in test_keylog_output() 297 || !TEST_size_t_eq(client_early_secret_count, in test_keylog_output() 299 || !TEST_size_t_eq(client_handshake_secret_count, in test_keylog_output() [all …]
|
D | tls13ccstest.c | 384 || !TEST_size_t_eq(chsessidlen, 0)) in test_tls13ccs() 408 || !TEST_size_t_eq(chsessidlen, 0)) in test_tls13ccs() 432 || !TEST_size_t_eq(chsessidlen, 0)) in test_tls13ccs() 456 || !TEST_size_t_eq(chsessidlen, 0)) in test_tls13ccs()
|
D | test_test.c | 173 if (!TEST(1, TEST_size_t_eq((size_t)10, (size_t)10)) in test_size_t() 174 | !TEST(0, TEST_size_t_eq((size_t)10, (size_t)12)) in test_size_t() 483 && TEST_size_t_eq((--i, st++), 1234) in test_single_eval() 484 && TEST_size_t_eq(st, 1235) in test_single_eval()
|
D | constant_time_test.c | 88 if (is_true && !TEST_size_t_eq(op(a,b), CONSTTIME_TRUE_S)) in test_binary_op_s() 150 if (a == 0 && !TEST_size_t_eq(constant_time_is_zero_s(a), CONSTTIME_TRUE_S)) in test_is_zero_s() 230 if (a == b && !TEST_size_t_eq(constant_time_eq_s(a, b), CONSTTIME_TRUE_S)) in test_eq_s()
|
D | modes_internal_test.c | 197 if (!TEST_size_t_eq(fixture->encrypt_block(test_input, ciphertext, len, in execute_cts128() 216 if (!TEST_size_t_eq(fixture->encrypt_stream(test_input, ciphertext, len, in execute_cts128() 226 if (!TEST_size_t_eq(fixture->decrypt_stream(ciphertext, cleartext, len, in execute_cts128()
|
D | ssl_cert_table_internal_test.c | 56 TEST_size_t_eq(OSSL_NELEM(ssl_cert_info), SSL_PKEY_NUM); in test_ssl_cert_table()
|
D | poly1305_internal_test.c | 1518 if (!TEST_size_t_eq(expectedlen, sizeof(out))) in test_poly1305()
|
D | sslbuffertest.c | 105 if (!TEST_size_t_eq(len, sizeof(testdata))) in test_func()
|
D | tls13encryptiontest.c | 382 if (!TEST_size_t_eq(tls13_enc(s, &rec, 1, 1), 1)) { in test_tls13_encryption()
|
D | asynciotest.c | 355 if (!TEST_size_t_eq(len, sizeof(testdata))) in test_asyncio()
|
D | evp_extra_test.c | 1020 || !TEST_size_t_eq(sig_len, (size_t)EVP_PKEY_size(pkey))) in test_EVP_DigestSignInit() 1335 if (!TEST_size_t_eq(sig_len, (size_t)EVP_PKEY_size(pkey))) in test_EVP_SM2()
|
D | testutil.h | 333 # define TEST_size_t_eq(a, b) test_size_t_eq(__FILE__, __LINE__, #a, #b, a, b) macro
|
D | handshake_helper.c | 1256 if (TEST_size_t_eq(OPENSSL_strnlen((const char*)(in), len), len)) in dup_str()
|
D | ectest.c | 1149 || !TEST_size_t_eq(len, EC_POINT_point2oct(group, in hybrid_point_encoding_test()
|
D | bntest.c | 2057 if (!TEST_size_t_eq(mpi_len2 = BN_bn2mpi(bn, scratch), mpi_len) in test_mpi()
|