/freebsd/crypto/openssl/test/ |
H A D | bio_callback_test.c | 66 || !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 D | exdatatest.c | 34 || !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 D | context_internal_test.c | 87 || !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 D | stack_test.c | 104 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 D | asn1_dsa_internal_test.c | 97 || !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 D | test_test.c | 226 || !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 D | lhash_test.c | 119 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 D | dhtest.c | 93 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 D | property_test.c | 296 r = r && TEST_ptr_eq(ossl_prop_defn_get(NULL, "red"), red) in test_property_defn_cache() 297 && TEST_ptr_eq(ossl_prop_defn_get(NULL, "blue"), blue) in test_property_defn_cache() 306 r = r && TEST_ptr_eq(blue2, blue) in test_property_defn_cache() 307 && TEST_ptr_eq(ossl_prop_defn_get(NULL, "blue"), blue); in test_property_defn_cache() 482 || !TEST_ptr_eq(fake_prov1, &fake_provider1) in test_property() 493 || !TEST_ptr_eq(fake_prov1, &fake_provider1) in test_property() 514 || !TEST_ptr_eq(fake_prov2, &fake_provider2) in test_property() 525 || !TEST_ptr_eq(fake_prov2, &fake_provider2) in test_property()
|
H A D | namemap_internal_test.c | 95 if (!TEST_ptr_eq(sha256, foo)) in test_digestbyname() 123 if (!TEST_ptr_eq(aes128, bar)) in test_cipherbyname()
|
H A D | cmp_client_test.c | 365 && 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 D | sha_test.c | 26 || !TEST_ptr_eq(sbuf, buf) in test_static_sha_common()
|
H A D | packettest.c | 38 || !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 D | drbgtest.c | 566 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 D | params_api_test.c | 581 || (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 D | provider_pkey_test.c | 36 if (!TEST_ptr_eq(prov, expected_prov)) { in fetch_sig()
|
H A D | crltest.c | 420 || !TEST_ptr_eq(result, reused_crl)) in test_reuse_crl()
|
H A D | hmactest.c | 159 || !TEST_ptr_eq(HMAC_CTX_get_md(ctx), EVP_sha256()) in test_hmac_run()
|
H A D | evp_extra_test2.c | 462 || !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 D | threadstest.c | 104 if (!TEST_ptr_eq(ptr, &destructor_run_count)) in thread_local_thread_cb()
|
H A D | sslapitest.c | 887 || !TEST_ptr_eq(sesspre, sesspost) in test_ccs_change_cipher() 2157 if (!TEST_ptr_eq(SSL_get_session(clientssl2), sess1)) in execute_test_session() 8950 if (!TEST_ptr_eq(late->next, middle) in test_session_timeout() 8951 || !TEST_ptr_eq(middle->next, early) in test_session_timeout() 8952 || !TEST_ptr_eq(early->prev, middle) in test_session_timeout() 8953 || !TEST_ptr_eq(middle->prev, late)) in test_session_timeout() 9544 || !TEST_ptr_eq(clientssl, client2ssl)) in test_ssl_dup() 10109 if (!TEST_ptr_eq(store, new_store) || !TEST_ptr_eq(cstore, new_cstore)) in test_set_verify_cert_store_ssl_ctx() 10194 if (!TEST_ptr_eq(store, new_store) || !TEST_ptr_eq(cstore, new_cstore)) in test_set_verify_cert_store_ssl()
|
H A D | testutil.h | 492 # define TEST_ptr_eq(a, b) test_ptr_eq(__FILE__, __LINE__, #a, #b, a, b) macro
|
H A D | evp_extra_test.c | 1631 || !TEST_ptr_eq(EVP_MD_CTX_get0_md(md_ctx), NULL)) in test_EVP_Digest() 1703 || !TEST_ptr_eq(p, input + input_len) in test_d2i_AutoPrivateKey() 1783 if (!TEST_ptr_eq(derp, in test_EVP_PKCS82PKEY() 2766 || !TEST_ptr_eq(md, EVP_sha256())) in test_EVP_PKEY_CTX_get_set_params()
|
H A D | evp_kdf_test.c | 1573 return TEST_ptr_eq(EVP_KDF_get0_provider(kdf1), EVP_KDF_get0_provider(kdf2)) in test_kdfs_same()
|
H A D | bntest.c | 2952 if (!TEST_ptr_eq(BN_mod_inverse(r, a, b, ctx), r)) in test_mod_inverse()
|