Home
last modified time | relevance | path

Searched refs:TEST_ptr_eq (Results 1 – 24 of 24) sorted by relevance

/freebsd/crypto/openssl/test/
H A Dbio_callback_test.c66 || !TEST_ptr_eq(my_param_b[0], bio) in test_bio_callback_ex()
72 || !TEST_ptr_eq(my_param_b[1], bio) in test_bio_callback_ex()
85 || !TEST_ptr_eq(my_param_b[0], bio) in test_bio_callback_ex()
91 || !TEST_ptr_eq(my_param_b[1], bio) in test_bio_callback_ex()
105 || !TEST_ptr_eq(my_param_b[0], bio) in test_bio_callback_ex()
111 || !TEST_ptr_eq(my_param_b[1], bio) in test_bio_callback_ex()
125 || !TEST_ptr_eq(my_param_b[0], bio) in test_bio_callback_ex()
131 || !TEST_ptr_eq(my_param_b[1], bio) in test_bio_callback_ex()
142 || !TEST_ptr_eq(my_param_b[0], bio) in test_bio_callback_ex()
148 || !TEST_ptr_eq(my_param_b[1], bio) in test_bio_callback_ex()
[all …]
H A Dexdatatest.c34 || !TEST_ptr_eq(argp, saved_argp) in exnew()
44 || !TEST_ptr_eq(argp, saved_argp) in exdup()
55 || !TEST_ptr_eq(argp, saved_argp)) in exfree()
78 || !TEST_ptr_eq(argp, saved_argp) in exnew2()
97 || !TEST_ptr_eq(argp, saved_argp) in exdup2()
260 if (!TEST_ptr_eq(cp, p)) in test_exdata()
265 if (!TEST_ptr_eq(cp, p)) in test_exdata()
270 if (!TEST_ptr_eq(cp, p)) in test_exdata()
292 if (!TEST_ptr_eq(cp, p)) in test_exdata()
296 if (!TEST_ptr_eq(cp, p)) in test_exdata()
[all …]
H A Dcontext_internal_test.c87 || !TEST_ptr_eq(global, OSSL_LIB_CTX_set0_default(NULL)) in test_set0_default()
103 || !TEST_ptr_eq(global, prev) in test_set0_default()
109 if (!TEST_ptr_eq(local, OSSL_LIB_CTX_set0_default(NULL)) in test_set0_default()
115 if (!TEST_ptr_eq(global, OSSL_LIB_CTX_get0_global_default())) in test_set0_default()
120 || !TEST_ptr_eq(local, prev) in test_set0_default()
H A Dstack_test.c104 if (!TEST_ptr_eq(sk_sint_value(s, i), v + i)) { in test_int_stack()
159 if (!TEST_ptr_eq(sk_sint_shift(s), v + 6)) in test_int_stack()
209 if (!TEST_ptr_eq(sk_uchar_pop(s), v + i)) { in test_uchar_stack()
232 if (!TEST_ptr_eq(sk_uchar_value(r, i), v + i)) { in test_uchar_stack()
240 if (!TEST_ptr_eq(sk_uchar_delete(r, 1), v + 1)) in test_uchar_stack()
246 if (!TEST_ptr_eq(sk_uchar_value(r, i), v + i)) { in test_uchar_stack()
333 if (!TEST_ptr_eq(sk_SS_value(s, i), v[i<3 ? i : 1+i])) { in test_SS_stack()
370 if (!TEST_ptr_eq(sk_SU_value(s, i), v + i)) { in test_SU_stack()
H A Dasn1_dsa_internal_test.c97 || !TEST_ptr_eq(pder, (t_dsa_sig + sizeof(t_dsa_sig))) in test_decode()
107 || !TEST_ptr_eq(pder, in test_decode()
118 || !TEST_ptr_eq(pder, (t_dsa_sig_msb + sizeof(t_dsa_sig_msb))) in test_decode()
128 || !TEST_ptr_eq(pder, (t_dsa_sig_two + sizeof(t_dsa_sig_two))) in test_decode()
H A Dtest_test.c226 || !TEST(1, TEST_ptr_eq(NULL, NULL)) in test_pointer()
227 || !TEST(0, TEST_ptr_eq(NULL, &y)) in test_pointer()
228 || !TEST(0, TEST_ptr_eq(&y, NULL)) in test_pointer()
229 || !TEST(0, TEST_ptr_eq(&y, &x)) in test_pointer()
230 || !TEST(1, TEST_ptr_eq(&x, &x)) in test_pointer()
487 && TEST_ptr_eq(p++, buf) in test_single_eval()
488 && TEST_ptr_eq(buf + 2, ++p) in test_single_eval()
489 && TEST_ptr_eq(buf, p -= 2) in test_single_eval()
491 && TEST_ptr_eq(p, buf + 1) in test_single_eval()
H A Dlhash_test.c119 if (!TEST_ptr_eq(lh_int_retrieve(h, int_tests + i), int_tests + i)) { in test_int_lhash()
124 if (!TEST_ptr_eq(lh_int_retrieve(h, &j), int_tests + 2)) in test_int_lhash()
131 if (!TEST_ptr_eq(p, int_tests + 1)) in test_int_lhash()
133 if (!TEST_ptr_eq(lh_int_retrieve(h, int_tests + 1), &j)) in test_int_lhash()
H A Ddhtest.c93 if (!TEST_ptr_eq(p2, p) in dh_test()
94 || !TEST_ptr_eq(q2, q) in dh_test()
95 || !TEST_ptr_eq(g2, g)) in dh_test()
99 if (!TEST_ptr_eq(DH_get0_p(dh), p2) in dh_test()
100 || !TEST_ptr_eq(DH_get0_q(dh), q2) in dh_test()
101 || !TEST_ptr_eq(DH_get0_g(dh), g2)) in dh_test()
111 if (!TEST_ptr_eq(pub_key2, NULL) in dh_test()
112 || !TEST_ptr_eq(priv_key2, priv_key)) in dh_test()
116 if (!TEST_ptr_eq(DH_get0_pub_key(dh), pub_key2) in dh_test()
117 || !TEST_ptr_eq(DH_get0_priv_key(dh), priv_key2)) in dh_test()
H A Dproperty_test.c289 r = r && TEST_ptr_eq(ossl_prop_defn_get(NULL, "red"), red) in test_property_defn_cache()
290 && TEST_ptr_eq(ossl_prop_defn_get(NULL, "blue"), blue) in test_property_defn_cache()
299 r = r && TEST_ptr_eq(blue2, blue) in test_property_defn_cache()
300 && TEST_ptr_eq(ossl_prop_defn_get(NULL, "blue"), blue); in test_property_defn_cache()
475 || !TEST_ptr_eq(fake_prov1, &fake_provider1) in test_property()
486 || !TEST_ptr_eq(fake_prov1, &fake_provider1) in test_property()
507 || !TEST_ptr_eq(fake_prov2, &fake_provider2) in test_property()
518 || !TEST_ptr_eq(fake_prov2, &fake_provider2) in test_property()
H A Dnamemap_internal_test.c95 if (!TEST_ptr_eq(sha256, foo)) in test_digestbyname()
123 if (!TEST_ptr_eq(aes128, bar)) in test_cipherbyname()
H A Dcmp_client_test.c365 && TEST_ptr_eq(OSSL_CMP_CTX_get0_newCert(ctx), NULL) in execute_try_certreq_poll_test()
368 && TEST_ptr_eq(OSSL_CMP_CTX_get0_newCert(ctx), NULL) in execute_try_certreq_poll_test()
394 && TEST_ptr_eq(OSSL_CMP_CTX_get0_newCert(ctx), NULL) in execute_try_certreq_poll_abort_test()
397 && TEST_ptr_eq(OSSL_CMP_CTX_get0_newCert(fixture->cmp_ctx), NULL); in execute_try_certreq_poll_abort_test()
H A Dsha_test.c26 || !TEST_ptr_eq(sbuf, buf) in test_static_sha_common()
H A Dpackettest.c38 || !TEST_ptr_eq(PACKET_end(&pkt), smbuf + BUF_LEN) in test_PACKET_end()
40 || !TEST_ptr_eq(PACKET_end(&pkt), smbuf + BUF_LEN) in test_PACKET_end()
42 || !TEST_ptr_eq(PACKET_end(&pkt), smbuf + BUF_LEN)) in test_PACKET_end()
H A Ddrbgtest.c566 if (!TEST_ptr_eq(RAND_get_rand_method(), RAND_OpenSSL())) in test_rand_reseed()
580 || !TEST_ptr_eq(prov_rand(public)->parent, prov_rand(primary)) in test_rand_reseed()
581 || !TEST_ptr_eq(prov_rand(private)->parent, prov_rand(primary))) in test_rand_reseed()
H A Dparams_api_test.c581 || (tstid <= 1 && !TEST_ptr_eq(bufp2, bufp))) in test_param_construct()
607 || (tstid <= 1 && !TEST_ptr_eq(vp, &ul))) in test_param_construct()
613 || (tstid <= 1 && !TEST_ptr_eq(vp2, vp))) in test_param_construct()
H A Dprovider_pkey_test.c36 if (!TEST_ptr_eq(prov, expected_prov)) { in fetch_sig()
H A Dhmactest.c159 || !TEST_ptr_eq(HMAC_CTX_get_md(ctx), EVP_sha256()) in test_hmac_run()
H A Devp_extra_test2.c462 || !TEST_ptr_eq(p, input + input_len) in test_d2i_AutoPrivateKey_ex()
562 if (!TEST_ptr_eq(OSSL_LIB_CTX_set0_default(oldctx), mainctx) in test_alternative_default()
H A Dthreadstest.c104 if (!TEST_ptr_eq(ptr, &destructor_run_count)) in thread_local_thread_cb()
H A Dsslapitest.c887 || !TEST_ptr_eq(sesspre, sesspost) in test_ccs_change_cipher()
2157 if (!TEST_ptr_eq(SSL_get_session(clientssl2), sess1)) in execute_test_session()
8892 if (!TEST_ptr_eq(late->next, middle) in test_session_timeout()
8893 || !TEST_ptr_eq(middle->next, early) in test_session_timeout()
8894 || !TEST_ptr_eq(early->prev, middle) in test_session_timeout()
8895 || !TEST_ptr_eq(middle->prev, late)) in test_session_timeout()
9373 || !TEST_ptr_eq(clientssl, client2ssl)) in test_ssl_dup()
9938 if (!TEST_ptr_eq(store, new_store) || !TEST_ptr_eq(cstore, new_cstore)) in test_set_verify_cert_store_ssl_ctx()
10023 if (!TEST_ptr_eq(store, new_store) || !TEST_ptr_eq(cstore, new_cstore)) in test_set_verify_cert_store_ssl()
H A Dtestutil.h492 # define TEST_ptr_eq(a, b) test_ptr_eq(__FILE__, __LINE__, #a, #b, a, b) macro
H A Devp_extra_test.c1627 || !TEST_ptr_eq(EVP_MD_CTX_get0_md(md_ctx), NULL)) in test_EVP_Digest()
1699 || !TEST_ptr_eq(p, input + input_len) in test_d2i_AutoPrivateKey()
1779 if (!TEST_ptr_eq(derp, in test_EVP_PKCS82PKEY()
2721 || !TEST_ptr_eq(md, EVP_sha256())) in test_EVP_PKEY_CTX_get_set_params()
H A Devp_kdf_test.c1567 return TEST_ptr_eq(EVP_KDF_get0_provider(kdf1), EVP_KDF_get0_provider(kdf2)) in test_kdfs_same()
H A Dbntest.c2952 if (!TEST_ptr_eq(BN_mod_inverse(r, a, b, ctx), r)) in test_mod_inverse()