Home
last modified time | relevance | path

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

123

/freebsd/crypto/openssl/test/
H A Dpairwise_fail_test.c99 if (!TEST_ptr_null(pkey = EVP_PKEY_Q_keygen(libctx, NULL, "RSA", (size_t)2048))) in test_keygen_pairwise_failure()
104 if (!TEST_ptr_null(pkey = EVP_PKEY_Q_keygen(libctx, NULL, "EC", "P-256"))) in test_keygen_pairwise_failure()
121 if (!TEST_ptr_null(pkey)) in test_keygen_pairwise_failure()
132 if (!TEST_ptr_null(pkey)) in test_keygen_pairwise_failure()
143 if (!TEST_ptr_null(pkey)) in test_keygen_pairwise_failure()
154 if (!TEST_ptr_null(pkey)) in test_keygen_pairwise_failure()
165 if (!TEST_ptr_null(pkey)) in test_keygen_pairwise_failure()
H A Dlist_test.c131 if (!TEST_ptr_null(c) || !TEST_ptr_null(d)) in test_insert()
148 if (!TEST_ptr_null(c) || !TEST_ptr_null(d)) in test_insert()
172 if (!TEST_ptr_null(ossl_list_int_head(&l)) in test_insert()
173 || !TEST_ptr_null(ossl_list_int_tail(&l))) in test_insert()
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 Dx509_test.c206 || !TEST_ptr_null(X509_get0_extensions(x509)) in test_x509_delete_last_extension()
221 if (!TEST_ptr_null(X509_get0_extensions(x509))) in test_x509_delete_last_extension()
241 || !TEST_ptr_null(X509_CRL_get0_extensions(crl)) in test_x509_crl_delete_last_extension()
257 if (!TEST_ptr_null(X509_CRL_get0_extensions(crl))) in test_x509_crl_delete_last_extension()
277 || !TEST_ptr_null(X509_REVOKED_get0_extensions(rev)) in test_x509_revoked_delete_last_extension()
292 if (!TEST_ptr_null(X509_REVOKED_get0_extensions(rev))) in test_x509_revoked_delete_last_extension()
H A Dpkcs12_api_test.c119 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()
178 if (!TEST_ptr_null(ptr)) in pkcs12_create_ex2_test()
204 if (!TEST_ptr_null(ptr)) in pkcs12_create_ex2_test()
H A Dpkcs7_test.c32 || !TEST_ptr_null(PKCS7_get_issuer_and_serial(p7, -1))) in pkcs7_issuer_and_serial_negative_idx_test()
428 && TEST_ptr_null(bio = BIO_new_PKCS7(sink, p7)) in pkcs7_stream_enveloped_no_content_test()
452 && TEST_ptr_null(bio = BIO_new_PKCS7(sink, p7)) in pkcs7_stream_enveloped_signed_no_content_test()
491 && TEST_ptr_null(bio = BIO_new_PKCS7(sink, p7)) in pkcs7_stream_non_data_test()
H A Dproperty_test.c78 && 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 Dquic_cfq_test.c78 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 Ddecoder_propq_test.c67 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 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 Dquic_record_test_util.h44 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 Devp_extra_test2.c469 || !TEST_ptr_null(OSSL_PARAM_locate(pub_params, privtag))) in do_pkey_tofrom_data_select()
728 if (!TEST_ptr_null(key = EVP_PKEY_Q_keygen(mainctx, NULL, "XOR"))) in test_new_keytype()
896 if (!TEST_ptr_null(sha256 = EVP_MD_fetch(NULL, "SHA2-256", NULL))) in test_alternative_default()
914 || !TEST_ptr_null(sha256 = EVP_MD_fetch(NULL, "SHA2-256", NULL))) in test_alternative_default()
949 if (!TEST_ptr_null(sha256 = EVP_MD_fetch(NULL, "SHA2-256", NULL))) in test_provider_unload_effective()
971 if (!TEST_ptr_null(pkey = PEM_read_bio_PrivateKey(key_bio, NULL, NULL, NULL))) in test_d2i_PrivateKey_ex()
999 if (!TEST_ptr_null(pkey = PEM_read_bio_PrivateKey(key_bio, NULL, NULL, NULL))) in test_PEM_read_bio_negative()
1008 if (!TEST_ptr_null(pkey = PEM_read_bio_PrivateKey(key_bio, NULL, NULL, NULL))) in test_PEM_read_bio_negative()
1052 if (!TEST_ptr_null(read_pkey)) in test_PEM_read_bio_negative_wrong_password()
1343 || !TEST_ptr_null(OSSL_PARAM_locate(to_params, OSSL_PKEY_PARAM_FFC_SEED))) in test_dsa_todata()
[all …]
H A Dcipherbytes_test.c34 || !TEST_ptr_null(sk) in test_empty()
35 || !TEST_ptr_null(scsv)) in test_empty()
H A Dthreadpool_test.c126 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 Dasn1_decode_test.c181 if (!TEST_ptr_null(gentime)) in test_gentime()
205 if (!TEST_ptr_null(utctime)) in test_utctime()
242 if (TEST_ptr_null(tmp)) in test_invalid_template()
H A Dhttp_test.c273 res = res && TEST_ptr_null(rsp) in test_http_keep_alive()
412 && TEST_ptr_null(host) in test_http_url_invalid()
413 && TEST_ptr_null(port) in test_http_url_invalid()
414 && TEST_ptr_null(path); in test_http_url_invalid()
616 res = TEST_ptr_null(mem); in test_http_resp_hdr_limit()
H A Dcrltest.c604 if (!TEST_ptr_null(result) in test_reuse_crl()
605 || !TEST_ptr_null(reused_crl)) in test_reuse_crl()
609 if (!TEST_ptr_null(result) in test_reuse_crl()
H A Dec_internal_test.c175 if (!TEST_ptr_null(group1 = EC_GROUP_new_curve_GF2m(p, a, b, ctx))) in ec2m_field_sanity()
181 if (!TEST_ptr_null(group2 = EC_GROUP_new_curve_GF2m(p, a, b, ctx))) in ec2m_field_sanity()
188 if (!TEST_ptr_null(group3 = EC_GROUP_new_curve_GF2m(p, a, b, ctx))) in ec2m_field_sanity()
328 || !TEST_ptr_null(key->priv_key)) in set_private_key()
H A Dsysdefaulttest.c28 if (!TEST_ptr_null(ctx)) in test_func()
H A Ddefltfips_test.c47 if (!TEST_ptr_null(sha256)) { in test_is_fips_enabled()
H A Dbio_meth_test.c50 if (!TEST_ptr_null(BIO_find_type(bio3, BIO_TYPE_NONE))) in test_bio_meth()
H A Dml_dsa_test.c240 if (!TEST_ptr_null(key = ossl_ml_dsa_key_new(NULL, NULL, EVP_PKEY_ML_DSA_44)) in ml_dsa_key_internal_test()
242 || !TEST_ptr_null(key = ossl_ml_dsa_key_new(lib_ctx, "", NID_undef)) in ml_dsa_key_internal_test()
244 || !TEST_ptr_null(key1 = ossl_ml_dsa_key_dup(NULL, OSSL_KEYMGMT_SELECT_KEYPAIR)) in ml_dsa_key_internal_test()
305 || !TEST_ptr_null(EVP_PKEY_fromdata_settable(ctx, 0))) in from_data_bad_input_test()
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()
/freebsd/crypto/openssl/test/radix/
H A Dquic_ops.c211 if (!TEST_ptr_null(RADIX_PROCESS_get_obj(RP(), listener_name))) in DEF_FUNC()
262 if (!TEST_ptr_null(RADIX_PROCESS_get_obj(RP(), stream_name))) in DEF_FUNC()
300 if (!TEST_ptr_null(RADIX_PROCESS_get_obj(RP(), conn_name))) in DEF_FUNC()
325 if (!TEST_ptr_null(conn)) { in DEF_FUNC()
348 if (!TEST_ptr_null(stream)) { in DEF_FUNC()

123