Home
last modified time | relevance | path

Searched refs:TEST_ptr_null (Results 1 – 25 of 44) sorted by relevance

12

/freebsd/crypto/openssl/test/
H A Dasn1_string_table_test.c24 if (!TEST_ptr_null(tmp)) { in test_string_tbl()
57 if (!TEST_ptr_null(tmp)) { in test_string_tbl()
63 if (!TEST_ptr_null(tmp)) { in test_string_tbl()
H A Dexdatatest.c35 || !TEST_ptr_null(ptr)) in exnew()
79 || !TEST_ptr_null(ptr) in exnew2()
182 if (TEST_ptr_null(ex_data = CRYPTO_get_ex_data(&obj->ex_data, saved_idx3)) in MYOBJ_allochello3()
255 if (!TEST_ptr_null(CRYPTO_get_ex_data(&t1->ex_data, saved_idx3))) in test_exdata()
274 if (!TEST_ptr_null(cp)) in test_exdata()
278 if (!TEST_ptr_null(cp)) in test_exdata()
H A Devp_extra_test2.c294 || !TEST_ptr_null(OSSL_PARAM_locate(pub_params, privtag))) in do_pkey_tofrom_data_select()
545 if (!TEST_ptr_null(sha256 = EVP_MD_fetch(NULL, "SHA2-256", NULL))) in test_alternative_default()
563 || !TEST_ptr_null(sha256 = EVP_MD_fetch(NULL, "SHA2-256", NULL))) in test_alternative_default()
598 if (!TEST_ptr_null(sha256 = EVP_MD_fetch(NULL, "SHA2-256", NULL))) in test_provider_unload_effective()
620 if (!TEST_ptr_null(pkey = PEM_read_bio_PrivateKey(key_bio, NULL, NULL, NULL))) in test_d2i_PrivateKey_ex()
648 if (!TEST_ptr_null(pkey = PEM_read_bio_PrivateKey(key_bio, NULL, NULL, NULL))) in test_PEM_read_bio_negative()
657 if (!TEST_ptr_null(pkey = PEM_read_bio_PrivateKey(key_bio, NULL, NULL, NULL))) in test_PEM_read_bio_negative()
701 if (!TEST_ptr_null(read_pkey)) in test_PEM_read_bio_negative_wrong_password()
988 || !TEST_ptr_null(OSSL_PARAM_locate(to_params, OSSL_PKEY_PARAM_FFC_SEED))) in test_dsa_todata()
1234 if (!TEST_ptr_null(md = EVP_MD_fetch(mainctx, "SHA256:BogusName", NULL))) { in evp_test_name_parsing()
H A Dsparse_array_test.c44 || !TEST_ptr_null(ossl_sa_char_get(sa, 3)) in test_sparse_array()
45 || !TEST_ptr_null(ossl_sa_char_get(sa, 0)) in test_sparse_array()
46 || !TEST_ptr_null(ossl_sa_char_get(sa, UINT_MAX))) in test_sparse_array()
H A Dhttp_test.c186 res = res && TEST_ptr_null(rsp) in test_http_keep_alive()
283 && TEST_ptr_null(host) in test_http_url_invalid()
284 && TEST_ptr_null(port) in test_http_url_invalid()
285 && TEST_ptr_null(path); in test_http_url_invalid()
H A Dcipherbytes_test.c34 || !TEST_ptr_null(sk) in test_empty()
35 || !TEST_ptr_null(scsv)) in test_empty()
H A Dproperty_test.c200 if (!TEST_ptr_null(p = ossl_parse_query(NULL, ps, 1))) in test_property_parse_error()
202 } else if (!TEST_ptr_null(p = ossl_parse_property(NULL, ps))) { in test_property_parse_error()
487 || !TEST_ptr_null(result)) { in test_property()
519 || !TEST_ptr_null(result)) { in test_property()
H A Ddefltfips_test.c47 if (!TEST_ptr_null(sha256)) { in test_is_fips_enabled()
H A Dx509_internal_test.c89 if (!TEST_ptr_null(ip)) { in test_a2i_ipaddress()
H A Dthreadstest.c98 if (!TEST_ptr_null(ptr) in thread_local_thread_cb()
120 if (!TEST_ptr_null(ptr) in test_thread_local()
129 if (!TEST_ptr_null(ptr)) in test_thread_local()
H A Dhmactest.c114 || !TEST_ptr_null(HMAC_CTX_get_md(ctx)) in test_hmac_bad()
140 || !TEST_ptr_null(HMAC_CTX_get_md(ctx)) in test_hmac_run()
H A Devp_fetch_prov_test.c190 if (!TEST_ptr_null(md)) in test_explicit_EVP_MD_fetch()
307 if (!TEST_ptr_null(cipher)) in test_explicit_EVP_CIPHER_fetch()
H A Dtest_test.c224 || !TEST(0, TEST_ptr_null(&y)) in test_pointer()
225 || !TEST(1, TEST_ptr_null(NULL)) in test_pointer()
492 && TEST_ptr_null(p = NULL) in test_single_eval()
H A Dcmp_msg_test.c74 TEST_ptr_null(msg = (expr)); \
405 if (!TEST_ptr_null(ossl_cmp_certrepmessage_get0_certresponse(crepmsg, 88))) in execute_certrep_create()
480 if (!TEST_ptr_null(ossl_cmp_pollrepcontent_get0_pollrep(pollrep->body-> in execute_pollrep_create()
H A Dbio_core_test.c83 || !TEST_ptr_null((cbiobad = BIO_new_from_core_bio(NULL, &corebio))) in test_bio_core()
H A Dprovider_internal_test.c122 if (!TEST_ptr_null(md = EVP_MD_fetch(ctx, "SHA256", NULL))) { in test_cache_flushes()
H A Dsecmemtest.c77 TEST_ptr_null(OPENSSL_secure_malloc((size_t)-1)); in test_sec_mem()
H A Dhexstr_test.c104 if (!TEST_ptr_null(buf = OPENSSL_hexstr2buf(test->in, &len))) in test_hexstr_to_from()
H A Dd2i_test.c60 if (TEST_ptr_null(ASN1_item_d2i_bio(item_type, bio, NULL))) in test_bad_asn1()
H A Dtrace_api_test.c50 is_cat_name_eq = TEST_ptr_null(cat_name); in test_trace_categories()
H A Dpemtest.c147 if (!TEST_ptr_null(pkey)) in test_protected_params()
H A Dasn1_decode_test.c192 if (TEST_ptr_null(tmp)) in test_invalid_template()
H A Devp_pkey_provided_test.c635 || !TEST_ptr_null(j) in test_fromdata_dh_named_group()
815 || !TEST_ptr_null(j) in test_fromdata_dh_fips186_4()
1257 || !TEST_ptr_null(pk)) in test_fromdata_ec()
1411 || !TEST_ptr_null(kctx = EVP_PKEY_CTX_dup(ctx))) in test_ec_dup_keygen_operation()
1609 || !TEST_ptr_null(j_out) in test_fromdata_dsa_fips186_4()
1748 if (!TEST_ptr_null(dctx = EVP_PKEY_CTX_dup(pctx))) in test_evp_pkey_ctx_dup_kdf_fail()
H A Ddestest.c478 if (!TEST_ptr_null(DES_crypt("testing", "y\202"))) in test_des_crypt()
480 if (!TEST_ptr_null(DES_crypt("testing", "\0A"))) in test_des_crypt()
482 if (!TEST_ptr_null(DES_crypt("testing", "A"))) in test_des_crypt()
H A Dossl_store_test.c66 ret = TEST_ptr_null(search = OSSL_STORE_SEARCH_by_key_fingerprint( in test_store_search_by_key_fingerprint_fail()

12