Lines Matching refs:NULL

38 static const char *cert_filename = NULL;
42 if (fixture != NULL) { in tear_down()
63 return NULL; in set_up()
91 BIGNUM *n = NULL; in get_ulong_via_BN()
104 const OSSL_PARAM *p = NULL; in export_cb()
106 if (keydata == NULL) in export_cb()
146 RSA *rsa = NULL; in test_pass_rsa()
147 BIGNUM *bn1 = NULL, *bn2 = NULL, *bn3 = NULL; in test_pass_rsa()
148 EVP_PKEY *pk = NULL, *dup_pk = NULL; in test_pass_rsa()
149 EVP_KEYMGMT *km = NULL, *km1 = NULL, *km2 = NULL, *km3 = NULL; in test_pass_rsa()
150 void *provkey = NULL, *provkey2 = NULL; in test_pass_rsa()
151 BIGNUM *bn_primes[1] = { NULL }; in test_pass_rsa()
152 BIGNUM *bn_exps[1] = { NULL }; in test_pass_rsa()
153 BIGNUM *bn_coeffs[1] = { NULL }; in test_pass_rsa()
204 bn1 = bn2 = bn3 = NULL; in test_pass_rsa()
219 rsa = NULL; in test_pass_rsa()
221 if (!TEST_ptr(km1 = EVP_KEYMGMT_fetch(fixture->ctx1, "RSA", NULL)) in test_pass_rsa()
222 || !TEST_ptr(km2 = EVP_KEYMGMT_fetch(fixture->ctx2, "RSA", NULL)) in test_pass_rsa()
223 || !TEST_ptr(km3 = EVP_KEYMGMT_fetch(fixture->ctx1, "RSA-PSS", NULL)) in test_pass_rsa()
231 if (!TEST_ptr_null(provkey2 = evp_pkey_export_to_provider(pk, NULL, in test_pass_rsa()
233 NULL))) in test_pass_rsa()
236 if (!TEST_ptr(provkey = evp_pkey_export_to_provider(pk, NULL, &km1, in test_pass_rsa()
237 NULL)) in test_pass_rsa()
259 if (!ret || dup_pk != NULL) in test_pass_rsa()
298 OSSL_LIB_CTX *libctx = NULL; in test_evp_pkey_export_to_provider()
299 OSSL_PROVIDER *prov = NULL; in test_evp_pkey_export_to_provider()
300 X509 *cert = NULL; in test_evp_pkey_export_to_provider()
301 BIO *bio = NULL; in test_evp_pkey_export_to_provider()
302 X509_PUBKEY *pubkey = NULL; in test_evp_pkey_export_to_provider()
303 EVP_KEYMGMT *keymgmt = NULL; in test_evp_pkey_export_to_provider()
304 EVP_PKEY *pkey = NULL; in test_evp_pkey_export_to_provider()
305 void *keydata = NULL; in test_evp_pkey_export_to_provider()
312 if ((bio = BIO_new_file(cert_filename, "r")) == NULL) { in test_evp_pkey_export_to_provider()
318 if ((cert = PEM_read_bio_X509(bio, NULL, NULL, NULL)) == NULL) { in test_evp_pkey_export_to_provider()
329 if (!TEST_ptr(keydata = evp_pkey_export_to_provider(pkey, NULL, in test_evp_pkey_export_to_provider()
330 NULL, NULL))) in test_evp_pkey_export_to_provider()
333 if (!TEST_ptr(keydata = evp_pkey_export_to_provider(pkey, NULL, in test_evp_pkey_export_to_provider()
334 &keymgmt, NULL))) in test_evp_pkey_export_to_provider()
337 keymgmt = EVP_KEYMGMT_fetch(libctx, "RSA", NULL); in test_evp_pkey_export_to_provider()
339 if (!TEST_ptr(keydata = evp_pkey_export_to_provider(pkey, NULL, in test_evp_pkey_export_to_provider()
340 &keymgmt, NULL))) in test_evp_pkey_export_to_provider()