/freebsd/crypto/openssl/test/ |
H A D | asn1_string_table_test.c | 24 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 D | exdatatest.c | 35 || !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 D | evp_extra_test2.c | 294 || !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 D | sparse_array_test.c | 44 || !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 D | http_test.c | 186 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 D | cipherbytes_test.c | 34 || !TEST_ptr_null(sk) in test_empty() 35 || !TEST_ptr_null(scsv)) in test_empty()
|
H A D | crltest.c | 408 if (!TEST_ptr_null(result) in test_reuse_crl() 409 || !TEST_ptr_null(reused_crl)) in test_reuse_crl() 413 if (!TEST_ptr_null(result) in test_reuse_crl()
|
H A D | ec_internal_test.c | 179 if (!TEST_ptr_null(group1 = EC_GROUP_new_curve_GF2m(p, a, b, ctx))) in ec2m_field_sanity() 185 if (!TEST_ptr_null(group2 = EC_GROUP_new_curve_GF2m(p, a, b, ctx))) in ec2m_field_sanity() 192 if (!TEST_ptr_null(group3 = EC_GROUP_new_curve_GF2m(p, a, b, ctx))) in ec2m_field_sanity() 334 || !TEST_ptr_null(key->priv_key)) in set_private_key()
|
H A D | property_test.c | 207 if (!TEST_ptr_null(p = ossl_parse_query(NULL, ps, 1))) in test_property_parse_error() 209 } else if (!TEST_ptr_null(p = ossl_parse_property(NULL, ps))) { in test_property_parse_error() 494 || !TEST_ptr_null(result)) { in test_property() 526 || !TEST_ptr_null(result)) { in test_property()
|
H A D | defltfips_test.c | 47 if (!TEST_ptr_null(sha256)) { in test_is_fips_enabled()
|
H A D | x509_internal_test.c | 89 if (!TEST_ptr_null(ip)) { in test_a2i_ipaddress()
|
H A D | threadstest.c | 98 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 D | evp_fetch_prov_test.c | 190 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 D | hmactest.c | 114 || !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 D | cmp_msg_test.c | 74 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 D | test_test.c | 224 || !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 D | d2i_test.c | 60 if (TEST_ptr_null(ASN1_item_d2i_bio(item_type, bio, NULL))) in test_bad_asn1()
|
H A D | bio_core_test.c | 83 || !TEST_ptr_null((cbiobad = BIO_new_from_core_bio(NULL, &corebio))) in test_bio_core()
|
H A D | secmemtest.c | 77 TEST_ptr_null(OPENSSL_secure_malloc((size_t)-1)); in test_sec_mem()
|
H A D | provider_internal_test.c | 122 if (!TEST_ptr_null(md = EVP_MD_fetch(ctx, "SHA256", NULL))) { in test_cache_flushes()
|
H A D | trace_api_test.c | 50 is_cat_name_eq = TEST_ptr_null(cat_name); in test_trace_categories()
|
H A D | hexstr_test.c | 104 if (!TEST_ptr_null(buf = OPENSSL_hexstr2buf(test->in, &len))) in test_hexstr_to_from()
|
H A D | evp_pkey_provided_test.c | 638 || !TEST_ptr_null(j) in test_fromdata_dh_named_group() 821 || !TEST_ptr_null(j) in test_fromdata_dh_fips186_4() 1269 || !TEST_ptr_null(pk)) in test_fromdata_ec() 1435 || !TEST_ptr_null(kctx = EVP_PKEY_CTX_dup(ctx))) in test_fromdata_dsa_fips186_4() 1633 || !TEST_ptr_null(j_out) in test_fromdata_dsa_fips186_4() 1775 if (!TEST_ptr_null(dctx = EVP_PKEY_CTX_dup(pctx))) in setup_tests()
|
H A D | asn1_decode_test.c | 192 if (TEST_ptr_null(tmp)) in test_invalid_template()
|
H A D | pemtest.c | 147 if (!TEST_ptr_null(pkey)) in test_protected_params()
|