Home
last modified time | relevance | path

Searched refs:TEST_size_t_eq (Results 1 – 20 of 20) sorted by relevance

/third_party/openssl/test/
Dpackettest.c22 || !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 …]
Dtls13secretstest.c310 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 …]
Dsecmemtest.c39 || !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()
Dsanitytest.c43 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()
Dwpackettest.c204 || !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()
Dsslapitest.c153 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 …]
Dtls13ccstest.c384 || !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()
Dtest_test.c173 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()
Dconstant_time_test.c88 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()
Dmodes_internal_test.c197 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()
Dssl_cert_table_internal_test.c56 TEST_size_t_eq(OSSL_NELEM(ssl_cert_info), SSL_PKEY_NUM); in test_ssl_cert_table()
Dpoly1305_internal_test.c1518 if (!TEST_size_t_eq(expectedlen, sizeof(out))) in test_poly1305()
Dsslbuffertest.c105 if (!TEST_size_t_eq(len, sizeof(testdata))) in test_func()
Dtls13encryptiontest.c382 if (!TEST_size_t_eq(tls13_enc(s, &rec, 1, 1), 1)) { in test_tls13_encryption()
Dasynciotest.c355 if (!TEST_size_t_eq(len, sizeof(testdata))) in test_asyncio()
Devp_extra_test.c1020 || !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()
Dtestutil.h333 # define TEST_size_t_eq(a, b) test_size_t_eq(__FILE__, __LINE__, #a, #b, a, b) macro
Dhandshake_helper.c1256 if (TEST_size_t_eq(OPENSSL_strnlen((const char*)(in), len), len)) in dup_str()
Dectest.c1149 || !TEST_size_t_eq(len, EC_POINT_point2oct(group, in hybrid_point_encoding_test()
Dbntest.c2057 if (!TEST_size_t_eq(mpi_len2 = BN_bn2mpi(bn, scratch), mpi_len) in test_mpi()