Lines Matching refs:NULL

17 static const char *eecert_filename = NULL;  /* For test_x509_file() */
18 static const char *cacert_filename = NULL; /* For test_x509_file() */
19 static const char *pubkey_filename = NULL; /* For test_spki_file() */
26 X509_ALGOR *alg = NULL; in test_spki_aid()
27 EVP_PKEY *pkey = NULL; in test_spki_aid()
28 EVP_KEYMGMT *keymgmt = NULL; in test_spki_aid()
29 void *keydata = NULL; in test_spki_aid()
31 unsigned char *algid_legacy = NULL; in test_spki_aid()
35 const OSSL_PARAM *gettable_params = NULL; in test_spki_aid()
43 if (!TEST_true(X509_PUBKEY_get0_param(NULL, NULL, NULL, &alg, pubkey)) in test_spki_aid()
50 X509_ALGOR_get0(&oid, NULL, NULL, alg); in test_spki_aid()
60 if ((keydata = evp_pkey_export_to_provider(pkey, NULL, in test_spki_aid()
61 &keymgmt, NULL)) == NULL) { in test_spki_aid()
113 const ASN1_OBJECT *sig_oid = NULL; in test_x509_sig_aid()
114 const X509_ALGOR *alg = NULL; in test_x509_sig_aid()
116 EVP_MD_CTX *mdctx = NULL; in test_x509_sig_aid()
117 EVP_PKEY_CTX *pctx = NULL; in test_x509_sig_aid()
118 EVP_PKEY *pkey = NULL; in test_x509_sig_aid()
119 unsigned char *algid_legacy = NULL; in test_x509_sig_aid()
123 const OSSL_PARAM *gettable_params = NULL; in test_x509_sig_aid()
131 X509_get0_signature(NULL, &alg, eecert); in test_x509_sig_aid()
132 X509_ALGOR_get0(&sig_oid, NULL, NULL, alg); in test_x509_sig_aid()
155 NULL, NULL, pkey, NULL))) { in test_x509_sig_aid()
190 X509_PUBKEY *pubkey = NULL; in test_spki_file()
194 if (b == NULL) { in test_spki_file()
200 if ((pubkey = PEM_read_bio_X509_PUBKEY(b, NULL, NULL, NULL)) == NULL) { in test_spki_file()
216 X509 *eecert = NULL, *cacert = NULL; in test_x509_files()
217 BIO *bee = NULL, *bca = NULL; in test_x509_files()
220 if ((bee = BIO_new_file(eecert_filename, "r")) == NULL) { in test_x509_files()
225 if ((bca = BIO_new_file(cacert_filename, "r")) == NULL) { in test_x509_files()
231 if ((eecert = PEM_read_bio_X509(bee, NULL, NULL, NULL)) == NULL) { in test_x509_files()
237 if ((cacert = PEM_read_bio_X509(bca, NULL, NULL, NULL)) == NULL) { in test_x509_files()
271 { NULL } in test_get_options()
315 if (spki && pubkey_filename == NULL) { in setup_tests()
318 } else if (x509 && (eecert_filename == NULL || cacert_filename == NULL)) { in setup_tests()