/freebsd/crypto/openssl/test/ |
H A D | pairwise_fail_test.c | 99 if (!TEST_ptr_null(pkey = EVP_PKEY_Q_keygen(libctx, NULL, "RSA", (size_t)2048))) in test_keygen_pairwise_failure() 106 if (!TEST_ptr_null(pkey = EVP_PKEY_Q_keygen(libctx, NULL, "EC", "P-256"))) in test_keygen_pairwise_failure() 123 if (!TEST_ptr_null(pkey)) in test_keygen_pairwise_failure() 134 if (!TEST_ptr_null(pkey)) in test_keygen_pairwise_failure() 145 if (!TEST_ptr_null(pkey)) in test_keygen_pairwise_failure() 156 if (!TEST_ptr_null(pkey)) in test_keygen_pairwise_failure() 167 if (!TEST_ptr_null(pkey)) in test_keygen_pairwise_failure()
|
H A D | list_test.c | 128 if (!TEST_ptr_null(c) || !TEST_ptr_null(d)) in test_insert() 145 if (!TEST_ptr_null(c) || !TEST_ptr_null(d)) in test_insert() 169 if (!TEST_ptr_null(ossl_list_int_head(&l)) in test_insert() 170 || !TEST_ptr_null(ossl_list_int_tail(&l))) in test_insert()
|
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 | property_test.c | 78 && TEST_ptr_null(ossl_property_name_str(ctx, 0)) in test_property_string() 79 && TEST_ptr_null(ossl_property_name_str(ctx, 9)) in test_property_string() 97 && TEST_ptr_null(ossl_property_value_str(ctx, 0)) in test_property_string() 98 && TEST_ptr_null(ossl_property_value_str(ctx, 5)) in test_property_string() 229 if (!TEST_ptr_null(p = ossl_parse_query(NULL, ps, 1))) in test_property_parse_error() 231 } else if (!TEST_ptr_null(p = ossl_parse_property(NULL, ps))) { in test_property_parse_error() 516 || !TEST_ptr_null(result)) { in test_property() 548 || !TEST_ptr_null(result)) { in test_property()
|
H A D | quic_cfq_test.c | 78 if (!TEST_ptr_null(item)) in check() 147 if (!TEST_ptr_null(ossl_quic_cfq_get_priority_head(cfq, pn_space))) in test_cfq() 164 if (!TEST_ptr_null(ossl_quic_cfq_get_priority_head(cfq, pn_space))) in test_cfq()
|
H A D | asn1_decode_test.c | 182 if (!TEST_ptr_null(gentime)) in test_gentime() 206 if (!TEST_ptr_null(utctime)) in test_utctime() 243 if (TEST_ptr_null(tmp)) in test_invalid_template()
|
H A D | decoder_propq_test.c | 67 if (!TEST_ptr_null(PEM_read_bio_PrivateKey_ex(bio, &privkey, &passcb, NULL, libctx, NULL))) in test_decode_nonfipsalg() 74 …if (!TEST_ptr_null(PEM_read_bio_PrivateKey_ex(bio, &privkey, &passcb, NULL, libctx, "?fips=true"))) in test_decode_nonfipsalg()
|
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 | quic_record_test_util.h | 44 if ((a->token_len == 0 && !TEST_ptr_null(a->token)) in cmp_pkt_hdr() 45 || (b->token_len == 0 && !TEST_ptr_null(b->token))) in cmp_pkt_hdr()
|
H A D | http_test.c | 268 res = res && TEST_ptr_null(rsp) in test_http_keep_alive() 375 && TEST_ptr_null(host) in test_http_url_invalid() 376 && TEST_ptr_null(port) in test_http_url_invalid() 377 && TEST_ptr_null(path); in test_http_url_invalid() 528 res = TEST_ptr_null(mem); in test_http_resp_hdr_limit()
|
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 | evp_extra_test2.c | 306 || !TEST_ptr_null(OSSL_PARAM_locate(pub_params, privtag))) in do_pkey_tofrom_data_select() 689 if (!TEST_ptr_null(sha256 = EVP_MD_fetch(NULL, "SHA2-256", NULL))) in test_alternative_default() 707 || !TEST_ptr_null(sha256 = EVP_MD_fetch(NULL, "SHA2-256", NULL))) in test_alternative_default() 742 if (!TEST_ptr_null(sha256 = EVP_MD_fetch(NULL, "SHA2-256", NULL))) in test_provider_unload_effective() 764 if (!TEST_ptr_null(pkey = PEM_read_bio_PrivateKey(key_bio, NULL, NULL, NULL))) in test_d2i_PrivateKey_ex() 792 if (!TEST_ptr_null(pkey = PEM_read_bio_PrivateKey(key_bio, NULL, NULL, NULL))) in test_PEM_read_bio_negative() 801 if (!TEST_ptr_null(pkey = PEM_read_bio_PrivateKey(key_bio, NULL, NULL, NULL))) in test_PEM_read_bio_negative() 845 if (!TEST_ptr_null(read_pkey)) in test_PEM_read_bio_negative_wrong_password() 1132 || !TEST_ptr_null(OSSL_PARAM_locate(to_params, OSSL_PKEY_PARAM_FFC_SEED))) in test_dsa_todata() 1433 if (!TEST_ptr_null(md = EVP_MD_fetch(mainctx, "SHA256:BogusName", NULL))) { in evp_test_name_parsing()
|
H A D | threadpool_test.c | 126 if (!TEST_ptr_null(t[0])) in test_thread_internal() 138 if (!TEST_ptr_null(t[0])) in test_thread_internal() 151 if (!TEST_ptr_null(t[0])) in test_thread_internal()
|
H A D | pkcs12_api_test.c | 119 if ((has_key && !TEST_ptr(key)) || (!has_key && !TEST_ptr_null(key))) in pkcs12_parse_test() 121 if ((has_cert && !TEST_ptr(cert)) || (!has_cert && !TEST_ptr_null(cert))) in pkcs12_parse_test() 123 if ((has_ca && !TEST_ptr(ca)) || (!has_ca && !TEST_ptr_null(ca))) in pkcs12_parse_test()
|
H A D | crltest.c | 428 if (!TEST_ptr_null(result) in test_reuse_crl() 429 || !TEST_ptr_null(reused_crl)) in test_reuse_crl() 433 if (!TEST_ptr_null(result) in test_reuse_crl()
|
H A D | ec_internal_test.c | 180 if (!TEST_ptr_null(group1 = EC_GROUP_new_curve_GF2m(p, a, b, ctx))) in ec2m_field_sanity() 186 if (!TEST_ptr_null(group2 = EC_GROUP_new_curve_GF2m(p, a, b, ctx))) in ec2m_field_sanity() 193 if (!TEST_ptr_null(group3 = EC_GROUP_new_curve_GF2m(p, a, b, ctx))) in ec2m_field_sanity() 335 || !TEST_ptr_null(key->priv_key)) in set_private_key()
|
H A D | sysdefaulttest.c | 28 if (!TEST_ptr_null(ctx)) in test_func()
|
H A D | defltfips_test.c | 47 if (!TEST_ptr_null(sha256)) { in test_is_fips_enabled()
|
H A D | ca_internals_test.c | 57 if (TEST_ptr_null(db)) { in test_do_updatedb()
|
H A D | bio_meth_test.c | 50 if (!TEST_ptr_null(BIO_find_type(bio3, BIO_TYPE_NONE))) in test_bio_meth()
|
H A D | ml_dsa_test.c | 235 if (!TEST_ptr_null(key = ossl_ml_dsa_key_new(NULL, NULL, EVP_PKEY_ML_DSA_44)) in ml_dsa_key_internal_test() 237 || !TEST_ptr_null(key = ossl_ml_dsa_key_new(lib_ctx, "", NID_undef)) in ml_dsa_key_internal_test() 239 || !TEST_ptr_null(key1 = ossl_ml_dsa_key_dup(NULL, OSSL_KEYMGMT_SELECT_KEYPAIR)) in ml_dsa_key_internal_test() 300 || !TEST_ptr_null(EVP_PKEY_fromdata_settable(ctx, 0))) in from_data_bad_input_test()
|
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 | cmp_msg_test.c | 74 TEST_ptr_null(msg = (expr)); \ 404 if (!TEST_ptr_null(ossl_cmp_certrepmessage_get0_certresponse(crepmsg, 88))) in execute_certrep_create() 478 if (!TEST_ptr_null(ossl_cmp_pollrepcontent_get0_pollrep(pollrep->body-> in execute_pollrep_create()
|
H A D | evp_fetch_prov_test.c | 211 if (!TEST_ptr_null(md)) in test_explicit_EVP_MD_fetch() 328 if (!TEST_ptr_null(cipher)) in test_explicit_EVP_CIPHER_fetch()
|