/third_party/openssl/test/ |
D | sanitytest.c | 44 if (!TEST_size_t_eq(sizeof(enum smallchoices), sizeof(int)) in test_sanity_enum_size() 45 || !TEST_size_t_eq(sizeof(enum medchoices), sizeof(int)) in test_sanity_enum_size() 46 || !TEST_size_t_eq(sizeof(enum largechoices), sizeof(int))) in test_sanity_enum_size() 81 if (!TEST_size_t_eq(sizeof(int8_t), 1) in test_sanity_range() 82 || !TEST_size_t_eq(sizeof(uint8_t), 1) in test_sanity_range() 83 || !TEST_size_t_eq(sizeof(int16_t), 2) in test_sanity_range() 84 || !TEST_size_t_eq(sizeof(uint16_t), 2) in test_sanity_range() 85 || !TEST_size_t_eq(sizeof(int32_t), 4) in test_sanity_range() 86 || !TEST_size_t_eq(sizeof(uint32_t), 4) in test_sanity_range() 87 || !TEST_size_t_eq(sizeof(int64_t), 8) in test_sanity_range() [all …]
|
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 | 318 if (!TEST_size_t_eq(sizeof(client_hts), hashsize)) in test_handshake_secrets() 320 if (!TEST_size_t_eq(sizeof(client_hts_key), KEYLEN)) in test_handshake_secrets() 322 if (!TEST_size_t_eq(sizeof(client_hts_iv), IVLEN)) in test_handshake_secrets() 333 if (!TEST_size_t_eq(sizeof(server_hts), hashsize)) in test_handshake_secrets() 335 if (!TEST_size_t_eq(sizeof(server_hts_key), KEYLEN)) in test_handshake_secrets() 337 if (!TEST_size_t_eq(sizeof(server_hts_iv), IVLEN)) in test_handshake_secrets() 367 if (!TEST_size_t_eq(sizeof(client_ats), hashsize)) in test_handshake_secrets() 369 if (!TEST_size_t_eq(sizeof(client_ats_key), KEYLEN)) in test_handshake_secrets() 371 if (!TEST_size_t_eq(sizeof(client_ats_iv), IVLEN)) in test_handshake_secrets() 382 if (!TEST_size_t_eq(sizeof(server_ats), hashsize)) in test_handshake_secrets() [all …]
|
D | param_build_test.c | 75 || !TEST_size_t_eq(p->data_size, sizeof(int)) in template_public_test() 82 || !TEST_size_t_eq(p->data_size, sizeof(int32_t)) in template_public_test() 88 || !TEST_size_t_eq(p->data_size, sizeof(int64_t)) in template_public_test() 95 || !TEST_size_t_eq(p->data_size, sizeof(long int)) in template_public_test() 102 || !TEST_size_t_eq(p->data_size, sizeof(time_t)) in template_public_test() 110 || !TEST_size_t_eq(p->data_size, sizeof(double)) in template_public_test() 207 || !TEST_size_t_eq(p->data_size, sizeof(int)) in template_private_test() 215 || !TEST_size_t_eq(p->data_size, sizeof(int32_t)) in template_private_test() 222 || !TEST_size_t_eq(p->data_size, sizeof(int64_t)) in template_private_test() 230 || !TEST_size_t_eq(p->data_size, sizeof(unsigned long int)) in template_private_test() [all …]
|
D | bio_callback_test.c | 69 || !TEST_size_t_eq(my_param_len[0], test1len) in test_bio_callback_ex() 75 || !TEST_size_t_eq(my_param_len[1], test1len) in test_bio_callback_ex() 77 || !TEST_size_t_eq(my_param_processed[1], test1len) in test_bio_callback_ex() 88 || !TEST_size_t_eq(my_param_len[0], sizeof(buf)) in test_bio_callback_ex() 94 || !TEST_size_t_eq(my_param_len[1], sizeof(buf)) in test_bio_callback_ex() 96 || !TEST_size_t_eq(my_param_processed[1], test1len) in test_bio_callback_ex() 108 || !TEST_size_t_eq(my_param_len[0], sizeof(buf)) in test_bio_callback_ex() 114 || !TEST_size_t_eq(my_param_len[1], sizeof(buf)) in test_bio_callback_ex() 116 || !TEST_size_t_eq(my_param_processed[1], 0) in test_bio_callback_ex() 145 || !TEST_size_t_eq(my_param_len[0], sizeof(buf)) in test_bio_callback_ex() [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 | params_api_test.c | 122 || !TEST_size_t_eq((size_t)i64, 12345)) in test_param_type_extra() 127 || !TEST_size_t_eq((size_t)i64, 12345)) in test_param_type_extra() 533 || !TEST_size_t_eq(cp->data_size, cp->return_size) in test_param_construct() 534 || !TEST_size_t_eq((size_t)i64, 3 + j)) { in test_param_construct() 544 || !TEST_size_t_eq(cp->data_size, cp->return_size) in test_param_construct() 545 || !TEST_size_t_eq((size_t)u64, 3 + j)) { in test_param_construct() 554 || !TEST_size_t_eq(cp->return_size, sizeof(double)) in test_param_construct() 562 || !TEST_size_t_eq(cp->return_size, sizeof("abcdef") - 1) in test_param_construct() 578 || !TEST_size_t_eq(cp->return_size, sizeof("tuvwxyz") - 1) in test_param_construct() 587 || !TEST_size_t_eq(cp->return_size, sizeof("abcdefghi"))) in test_param_construct() [all …]
|
D | punycode_test.c | 177 || !TEST_size_t_eq(outlen, 7) in test_a2ulabel() 183 || !TEST_size_t_eq(outlen, 7) in test_a2ulabel() 190 || !TEST_size_t_eq(outlen, 7) in test_a2ulabel()
|
D | wpackettest.c | 197 || !TEST_size_t_eq(len, 1) in test_WPACKET_start_sub_packet() 200 || !TEST_size_t_eq(len, 3) in test_WPACKET_start_sub_packet() 227 || !TEST_size_t_eq(len, 1) in test_WPACKET_start_sub_packet() 230 || !TEST_size_t_eq(len, 3) in test_WPACKET_start_sub_packet() 276 || !TEST_size_t_eq(written, 0)) in test_WPACKET_set_flags() 381 || !TEST_size_t_eq(size1, size2)) in test_WPACKET_init_der() 419 if (!TEST_size_t_eq(written[0], written[1]) in test_WPACKET_init_der()
|
D | sparse_array_test.c | 83 if (!TEST_size_t_eq(ossl_sa_char_num(NULL), 0) in test_sparse_array_num() 85 || !TEST_size_t_eq(ossl_sa_char_num(sa), 0)) in test_sparse_array_num() 89 || !TEST_size_t_eq(ossl_sa_char_num(sa), cases[i].num)) in test_sparse_array_num()
|
D | tls13ccstest.c | 391 || !TEST_size_t_eq(chsessidlen, 0)) in test_tls13ccs() 415 || !TEST_size_t_eq(chsessidlen, 0)) in test_tls13ccs() 439 || !TEST_size_t_eq(chsessidlen, 0)) in test_tls13ccs() 463 || !TEST_size_t_eq(chsessidlen, 0)) in test_tls13ccs()
|
D | sslapitest.c | 188 if (!TEST_size_t_eq(raw_length * 2, hex_length)) in compare_hex_encoded_buffer() 230 if (!TEST_size_t_eq(strlen(token), 16)) in test_keylog_output() 248 if (!TEST_size_t_eq(client_random_size, SSL3_RANDOM_SIZE)) in test_keylog_output() 253 if (!TEST_size_t_eq(strlen(token), 64)) in test_keylog_output() 303 if (!TEST_size_t_eq(client_random_size, SSL3_RANDOM_SIZE)) in test_keylog_output() 308 if (!TEST_size_t_eq(strlen(token), 64)) in test_keylog_output() 324 if (!TEST_size_t_eq(rsa_key_exchange_count, in test_keylog_output() 326 || !TEST_size_t_eq(master_secret_count, in test_keylog_output() 328 || !TEST_size_t_eq(client_early_secret_count, in test_keylog_output() 330 || !TEST_size_t_eq(client_handshake_secret_count, in test_keylog_output() [all …]
|
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 | params_test.c | 466 || !TEST_size_t_eq(p->return_size, in test_case_variant() 470 || !TEST_size_t_eq(p->return_size, in test_case_variant() 517 || !TEST_size_t_eq(p->return_size, in test_case_variant() 521 || !TEST_size_t_eq(p->return_size, in test_case_variant()
|
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 | 203 if (!TEST_size_t_eq(fixture->encrypt_block(test_input, ciphertext, len, in execute_cts128() 222 if (!TEST_size_t_eq(fixture->encrypt_stream(test_input, ciphertext, len, in execute_cts128() 232 if (!TEST_size_t_eq(fixture->decrypt_stream(ciphertext, cleartext, len, in execute_cts128()
|
D | ssl_cert_table_internal_test.c | 46 return TEST_size_t_eq(OSSL_NELEM(ssl_cert_info), SSL_PKEY_NUM) in test_ssl_cert_table()
|
D | ext_internal_test.c | 85 if (!TEST_size_t_eq(i, ext_list[i].idx)) { in test_extension_list()
|
D | poly1305_internal_test.c | 1517 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 | property_test.c | 613 || !TEST_size_t_eq(ossl_property_list_to_string(NULL, pl, buf, in test_property_list_to_string() 617 || !TEST_size_t_eq(bufsize, strlen(to_string_tests[i].out) + 1)) in test_property_list_to_string()
|
D | provider_pkey_test.c | 102 || !TEST_size_t_eq(siglen, 256)) in test_pkey_sig()
|
D | tls13encryptiontest.c | 371 if (!TEST_size_t_eq(tls13_enc(s, &rec, 1, 1, NULL, 0), 1)) { in test_tls13_encryption()
|
D | dhtest.c | 586 || !TEST_size_t_eq(td->Z_len, (size_t)szA) in rfc5114_test() 587 || !TEST_size_t_eq(td->Z_len, (size_t)szB)) in rfc5114_test()
|
D | asynciotest.c | 356 if (!TEST_size_t_eq(len, sizeof(testdata))) in test_asyncio()
|