Home
last modified time | relevance | path

Searched refs:TEST_str_eq (Results 1 – 19 of 19) sorted by relevance

/third_party/openssl/test/
Dcipherbytes_test.c58 || !TEST_str_eq(SSL_CIPHER_get_name(sk_SSL_CIPHER_value(sk, 0)), in test_unsupported()
113 || !TEST_str_eq(SSL_CIPHER_get_name(sk_SSL_CIPHER_value(sk, 0)), in test_v3()
115 || !TEST_str_eq(SSL_CIPHER_get_name(sk_SSL_CIPHER_value(sk, 1)), in test_v3()
117 || !TEST_str_eq(SSL_CIPHER_get_name(sk_SSL_CIPHER_value(sk, 2)), in test_v3()
119 || !TEST_str_eq(SSL_CIPHER_get_name(sk_SSL_CIPHER_value(scsv, 0)), in test_v3()
121 || !TEST_str_eq(SSL_CIPHER_get_name(sk_SSL_CIPHER_value(scsv, 1)), in test_v3()
Dssl_test_ctx_test.c41 || !TEST_str_eq(conf1->npn_protocols, conf2->npn_protocols) in clientconf_eq()
42 || !TEST_str_eq(conf1->alpn_protocols, conf2->alpn_protocols) in clientconf_eq()
54 || !TEST_str_eq(serv->npn_protocols, serv2->npn_protocols) in serverconf_eq()
55 || !TEST_str_eq(serv->alpn_protocols, serv2->alpn_protocols) in serverconf_eq()
58 || !TEST_str_eq(serv->session_ticket_app_data, in serverconf_eq()
94 || !TEST_str_eq(ctx->expected_npn_protocol, in testctx_eq()
96 || !TEST_str_eq(ctx->expected_alpn_protocol, in testctx_eq()
98 || !TEST_str_eq(ctx->expected_cipher, in testctx_eq()
100 || !TEST_str_eq(ctx->expected_session_ticket_app_data, in testctx_eq()
Dciphername_test.c390 if (!TEST_str_eq(p, "(NONE)")) { in test_cipher_name()
396 if (!TEST_str_eq(p, "(NONE)")) { in test_cipher_name()
402 if (!TEST_str_eq(p, "(NONE)")) { in test_cipher_name()
445 if (!TEST_str_eq(p, q)) { in test_cipher_name()
453 if (!TEST_str_eq(r, q)) { in test_cipher_name()
Dhmactest.c101 if (!TEST_str_eq(p, (char *)test[idx].digest)) in test_hmac_md5()
152 if (!TEST_str_eq(p, (char *)test[4].digest)) in test_hmac_run()
165 if (!TEST_str_eq(p, (char *)test[5].digest)) in test_hmac_run()
173 if (!TEST_str_eq(p, (char *)test[6].digest)) in test_hmac_run()
182 if (!TEST_str_eq(p, (char *)test[6].digest)) in test_hmac_run()
194 if (!TEST_str_eq(p, (char *)test[6].digest)) in test_hmac_run()
211 if (!TEST_str_eq(p, (char *)test[4].digest)) in test_hmac_single_shot()
238 if (!TEST_str_eq(p, (char *)test[7].digest)) in test_hmac_copy()
Dtest_test.c260 if (!TEST(1, TEST_str_eq(NULL, NULL)) in test_string()
261 | !TEST(1, TEST_str_eq("abc", buf)) in test_string()
262 | !TEST(0, TEST_str_eq("abc", NULL)) in test_string()
263 | !TEST(0, TEST_str_eq("abc", "")) in test_string()
264 | !TEST(0, TEST_str_eq(NULL, buf)) in test_string()
266 | !TEST(0, TEST_str_eq("", NULL)) in test_string()
267 | !TEST(0, TEST_str_eq(NULL, "")) in test_string()
269 | !TEST(0, TEST_str_eq("\1\2\3\4\5", "\1x\3\6\5")) in test_string()
273 | !TEST(0, TEST_str_eq("abcdef", "abcdefghijk"))) in test_string()
395 return TEST(0, TEST_str_eq(p, q)) in test_long_output()
[all …]
Dcmactest.c117 if (!TEST_str_eq(p, test[0].mac)) in test_cmac_run()
127 if (!TEST_str_eq(p, test[1].mac)) in test_cmac_run()
135 if (!TEST_str_eq(p, test[2].mac)) in test_cmac_run()
143 if (!TEST_str_eq(p, test[2].mac)) in test_cmac_run()
153 if (!TEST_str_eq(p, test[2].mac)) in test_cmac_run()
183 if (!TEST_str_eq(p, test[0].mac)) in test_cmac_copy()
Duitest.c63 if (TEST_str_eq(pass, defpass)) in test_old()
85 && TEST_str_eq(pass, cb_data.password)) in test_new_ui()
Dssl_test.c169 if (!TEST_str_eq(result->client_npn_negotiated, in check_npn()
172 if (!TEST_str_eq(test_ctx->expected_npn_protocol, in check_npn()
182 if (!TEST_str_eq(result->client_alpn_negotiated, in check_alpn()
185 if (!TEST_str_eq(test_ctx->expected_alpn_protocol, in check_alpn()
205 if (!TEST_str_eq(result->result_session_ticket_app_data, in check_session_ticket_app_data()
348 if (!TEST_str_eq(test_ctx->expected_cipher, in check_cipher()
Dbioprinttest.c137 if (!TEST_str_eq(bio_buf, data->expected)) in test_zu()
165 if (!TEST_str_eq(bio_buf, data->expected)) in test_j()
210 } else if (!TEST_str_eq(fpexpected[test][sub][i], result)) { in dofptest()
Dconf_include_test.c95 if (!TEST_ptr(str) || !TEST_str_eq(str, "./.rnd")) { in test_load_config()
118 if (!TEST_ptr(str) || !TEST_str_eq(str, "AU")) { in test_load_config()
Dservername_test.c121 if (!TEST_str_eq(hostname, host)) in client_setup_sni_before_state()
170 if (!TEST_str_eq(hostname, host)) in client_setup_sni_after_state()
Dmd2test.c55 if (!TEST_str_eq(buf, ret[n])) in test_md2()
Dct_test.c142 if (!TEST_str_eq(actual_output, expected_output)) in compare_sct_list_printout()
168 if (!TEST_str_eq(actual_output, expected_output)) in compare_extension_printout()
Ddestest.c466 if (!TEST_str_eq("efGnQx2725bI2", DES_crypt("testing", "ef"))) in test_des_crypt()
468 if (!TEST_str_eq("yA1Rp/1hZXIJk", DES_crypt("bca76;23", "yA"))) in test_des_crypt()
Dx509_time_test.c472 if (rv == 0 && !TEST_str_eq(readable, "Bad time value")) { in test_x509_time_print()
Dsslapitest.c3611 if (!TEST_str_eq(negotiated_scipher, negotiated_ccipher)) in test_tls13_ciphersuite()
3626 && !TEST_str_eq(t12_cipher, negotiated_scipher)) in test_tls13_ciphersuite()
6514 if (!TEST_str_eq(SSL_get_servername(clientssl, TLSEXT_NAMETYPE_host_name), in test_servername()
6516 || !TEST_str_eq(SSL_get_servername(serverssl, in test_servername()
6552 if (!TEST_str_eq(SSL_get_servername(clientssl, in test_servername()
6564 if (!TEST_str_eq(SSL_get_servername(clientssl, in test_servername()
6583 if (!TEST_str_eq(SSL_get_servername(clientssl, in test_servername()
6594 || !TEST_str_eq(SSL_get_servername(clientssl, in test_servername()
6597 || !TEST_str_eq(SSL_get_servername(serverssl, in test_servername()
Dpackettest.c259 || !TEST_str_eq(data, buf2)) in test_PACKET_strndup()
Dtestutil.h352 # define TEST_str_eq(a, b) test_str_eq(__FILE__, __LINE__, #a, #b, a, b) macro
Devp_test.c421 if (!TEST_str_eq(dont, "touch")) { in digest_test_run()