Home
last modified time | relevance | path

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

12

/netbsd-src/crypto/external/bsd/openssl/dist/test/
H A Dbio_callback_test.c66 || !TEST_ptr_eq(my_param_b[0], bio) in test_bio_callback_ex()
68 || !TEST_ptr_eq(my_param_argp[0], test1) in test_bio_callback_ex()
72 || !TEST_ptr_eq(my_param_b[1], bio) in test_bio_callback_ex()
74 || !TEST_ptr_eq(my_param_argp[1], test1) in test_bio_callback_ex()
85 || !TEST_ptr_eq(my_param_b[0], bio) in test_bio_callback_ex()
87 || !TEST_ptr_eq(my_param_argp[0], buf) in test_bio_callback_ex()
91 || !TEST_ptr_eq(my_param_b[1], bio) in test_bio_callback_ex()
93 || !TEST_ptr_eq(my_param_argp[1], buf) in test_bio_callback_ex()
105 || !TEST_ptr_eq(my_param_b[0], bio) in test_bio_callback_ex()
107 || !TEST_ptr_eq(my_param_argp[0], buf) 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()
121 || !TEST_ptr_eq(argp, saved_argp) in exfree2()
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()
[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 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 Dsha_test.c26 || !TEST_ptr_eq(sbuf, buf) in test_static_sha_common()
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()
/netbsd-src/crypto/external/bsd/openssl.old/dist/test/
H A Dbio_callback_test.c60 || !TEST_ptr_eq(my_param_b[0], bio) in test_bio_callback()
62 || !TEST_ptr_eq(my_param_argp[0], test1) in test_bio_callback()
66 || !TEST_ptr_eq(my_param_b[1], bio) in test_bio_callback()
68 || !TEST_ptr_eq(my_param_argp[1], test1) in test_bio_callback()
78 || !TEST_ptr_eq(my_param_b[0], bio) in test_bio_callback()
80 || !TEST_ptr_eq(my_param_argp[0], buf) in test_bio_callback()
84 || !TEST_ptr_eq(my_param_b[1], bio) in test_bio_callback()
86 || !TEST_ptr_eq(my_param_argp[1], buf) in test_bio_callback()
97 || !TEST_ptr_eq(my_param_b[0], bio) in test_bio_callback()
99 || !TEST_ptr_eq(my_param_argp[0], buf) in test_bio_callback()
[all …]
H A Dexdatatest.c33 || !TEST_ptr_eq(argp, saved_argp) in exnew()
43 || !TEST_ptr_eq(argp, saved_argp) in exdup()
54 || !TEST_ptr_eq(argp, saved_argp)) in exfree()
76 || !TEST_ptr_eq(argp, saved_argp) in exnew2()
94 || !TEST_ptr_eq(argp, saved_argp) in exdup2()
118 || !TEST_ptr_eq(argp, saved_argp) in exfree2()
215 if (!TEST_ptr_eq(cp, p)) in test_exdata()
220 if (!TEST_ptr_eq(cp, p)) in test_exdata()
242 if (!TEST_ptr_eq(cp, p)) in test_exdata()
246 if (!TEST_ptr_eq(cp, p)) in test_exdata()
H A Ddhtest.c79 if (!TEST_ptr_eq(p2, p) in dh_test()
80 || !TEST_ptr_eq(q2, q) in dh_test()
81 || !TEST_ptr_eq(g2, g)) in dh_test()
85 if (!TEST_ptr_eq(DH_get0_p(dh), p2) in dh_test()
86 || !TEST_ptr_eq(DH_get0_q(dh), q2) in dh_test()
87 || !TEST_ptr_eq(DH_get0_g(dh), g2)) in dh_test()
97 if (!TEST_ptr_eq(pub_key2, NULL) in dh_test()
98 || !TEST_ptr_eq(priv_key2, priv_key)) in dh_test()
102 if (!TEST_ptr_eq(DH_get0_pub_key(dh), pub_key2) in dh_test()
103 || !TEST_ptr_eq(DH_get0_priv_key(dh), priv_key2)) in dh_test()
[all …]
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()
205 if (!TEST_ptr_eq(sk_uchar_pop(s), v + i)) { in test_uchar_stack()
228 if (!TEST_ptr_eq(sk_uchar_value(r, i), v + i)) { in test_uchar_stack()
236 if (!TEST_ptr_eq(sk_uchar_delete(r, 1), v + 1)) in test_uchar_stack()
242 if (!TEST_ptr_eq(sk_uchar_value(r, i), v + i)) { in test_uchar_stack()
325 if (!TEST_ptr_eq(sk_SS_value(s, i), v[i<3 ? i : 1+i])) { in test_SS_stack()
362 if (!TEST_ptr_eq(sk_SU_value(s, i), v + i)) { in test_SU_stack()
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.c108 if (!TEST_ptr_eq(lh_int_retrieve(h, int_tests + i), int_tests + i)) { in test_int_lhash()
113 if (!TEST_ptr_eq(lh_int_retrieve(h, &j), int_tests + 2)) in test_int_lhash()
120 if (!TEST_ptr_eq(p, int_tests + 1)) in test_int_lhash()
122 if (!TEST_ptr_eq(lh_int_retrieve(h, int_tests + 1), &j)) in test_int_lhash()
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 Dthreadstest.c148 if (!TEST_ptr_eq(ptr, &destructor_run_count)) in thread_local_thread_cb()
H A Ddrbgtest.c725 if (!TEST_ptr_eq(RAND_get_rand_method(), RAND_OpenSSL())) in test_rand_drbg_reseed()
738 || !TEST_ptr_eq(public->parent, master) in test_rand_drbg_reseed()
739 || !TEST_ptr_eq(private->parent, master)) in test_rand_drbg_reseed()
H A Devp_extra_test.c1081 || !TEST_ptr_eq(p, input + input_len) in test_d2i_AutoPrivateKey()
1165 if (!TEST_ptr_eq(derp, in test_EVP_PKCS82PKEY()
1527 || !TEST_ptr_eq(p, input + input_len) in test_EVP_PKEY_check()
1541 || !TEST_ptr_eq(p, input + input_len) in test_EVP_PKEY_check()

12