Lines Matching refs:NULL
97 NULL, /* No i2d_DHPrivateKey */
98 NULL, /* No i2d_DHPublicKey */
100 NULL, /* No i2d_DH_PUBKEY */
101 NULL, /* No PEM_write_bio_DHPrivateKey */
102 NULL, /* No PEM_write_bio_DHPublicKey */
104 NULL, /* No PEM_write_bio_DH_PUBKEY */
105 NULL, /* No d2i_DHPrivateKey */
106 NULL, /* No d2i_DHPublicKey */
108 NULL, /* No d2i_DH_PUBKEY */
109 NULL, /* No PEM_read_bio_DHPrivateKey */
110 NULL, /* No PEM_read_bio_DHPublicKey */
112 NULL }, /* No PEM_read_bio_DH_PUBKEY */
114 NULL, /* No i2d_DHxPrivateKey */
115 NULL, /* No i2d_DHxPublicKey */
117 NULL, /* No i2d_DHx_PUBKEY */
118 NULL, /* No PEM_write_bio_DHxPrivateKey */
119 NULL, /* No PEM_write_bio_DHxPublicKey */
121 NULL, /* No PEM_write_bio_DHx_PUBKEY */
122 NULL, /* No d2i_DHxPrivateKey */
123 NULL, /* No d2i_DHxPublicKey */
125 NULL, /* No d2i_DHx_PUBKEY */
126 NULL, /* No PEM_read_bio_DHxPrivateKey */
127 NULL, /* No PEM_read_bio_DHxPublicKey */
128 NULL, /* No PEM_read_bio_DHxparams */
129 NULL }, /* No PEM_read_bio_DHx_PUBKEY */
138 NULL, /* No PEM_write_bio_DSAPublicKey */
146 NULL, /* No PEM_write_bio_DSAPublicKey */
153 NULL, /* No i2d_ECPublicKey */
157 NULL, /* No PEM_write_bio_ECPublicKey */
158 NULL, /* No PEM_write_bio_ECParameters */
161 NULL, /* No d2i_ECPublicKey */
165 NULL, /* No PEM_read_bio_ECPublicKey */
166 NULL, /* No PEM_read_bio_ECParameters */
172 NULL, /* No i2d_RSAparams */
176 NULL, /* No PEM_write_bio_RSAparams */
180 NULL, /* No d2i_RSAparams */
184 NULL, /* No PEM_read_bio_RSAparams */
224 { "DH", EVP_PKEY_DH, DH_params, NULL },
225 { "DHX", EVP_PKEY_DHX, DHX_params, NULL },
228 { "DSA", EVP_PKEY_DSA, DSA_params, NULL },
231 { "EC", EVP_PKEY_EC, EC_params, NULL },
234 { "RSA", EVP_PKEY_RSA, NULL, NULL },
241 EVP_PKEY *template = NULL; in make_key()
242 EVP_PKEY *pkey = NULL; in make_key()
243 EVP_PKEY_CTX *ctx = NULL; in make_key()
247 if (gen_template_params != NULL in make_key()
248 && ((ctx = EVP_PKEY_CTX_new_from_name(NULL, type, NULL)) == NULL in make_key()
250 || (gen_template_params[0].key != NULL in make_key()
261 template != NULL in make_key()
262 ? EVP_PKEY_CTX_new(template, NULL) in make_key()
263 : EVP_PKEY_CTX_new_from_name(NULL, type, NULL); in make_key()
265 (void)(ctx != NULL in make_key()
283 return NULL; in lookup_key()
288 char *str_provided = NULL, *str_legacy = NULL; in test_membio_str_eq()
308 BIO *membio_legacy = NULL; in test_protected_PEM()
309 BIO *membio_provided = NULL; in test_protected_PEM()
310 OSSL_ENCODER_CTX *ectx = NULL; in test_protected_PEM()
311 OSSL_DECODER_CTX *dctx = NULL; in test_protected_PEM()
312 void *decoded_legacy_key = NULL; in test_protected_PEM()
313 EVP_PKEY *decoded_legacy_pkey = NULL; in test_protected_PEM()
314 EVP_PKEY *decoded_provided_pkey = NULL; in test_protected_PEM()
324 NULL)) in test_protected_PEM()
327 NULL, NULL, 0, NULL, NULL)) in test_protected_PEM()
331 if (pem_read_bio != NULL) { in test_protected_PEM()
339 NULL, NULL)) in test_protected_PEM()
342 pem_read_bio(membio_legacy, NULL, NULL, NULL)) in test_protected_PEM()
350 evp_pkey_print(bio_out, decoded_provided_pkey, 0, NULL); in test_protected_PEM()
352 evp_pkey_print(bio_out, decoded_legacy_pkey, 0, NULL); in test_protected_PEM()
376 BIO *membio_legacy = NULL; in test_unprotected_PEM()
377 BIO *membio_provided = NULL; in test_unprotected_PEM()
378 OSSL_ENCODER_CTX *ectx = NULL; in test_unprotected_PEM()
379 OSSL_DECODER_CTX *dctx = NULL; in test_unprotected_PEM()
380 void *decoded_legacy_key = NULL; in test_unprotected_PEM()
381 EVP_PKEY *decoded_legacy_pkey = NULL; in test_unprotected_PEM()
382 EVP_PKEY *decoded_provided_pkey = NULL; in test_unprotected_PEM()
392 NULL)) in test_unprotected_PEM()
398 if (pem_read_bio != NULL) { in test_unprotected_PEM()
406 NULL, NULL)) in test_unprotected_PEM()
409 pem_read_bio(membio_legacy, NULL, NULL, NULL)) in test_unprotected_PEM()
417 evp_pkey_print(bio_out, decoded_provided_pkey, 0, NULL); in test_unprotected_PEM()
419 evp_pkey_print(bio_out, decoded_legacy_pkey, 0, NULL); in test_unprotected_PEM()
441 unsigned char *der_legacy = NULL; in test_DER()
442 const unsigned char *pder_legacy = NULL; in test_DER()
444 unsigned char *der_provided = NULL; in test_DER()
445 const unsigned char *pder_provided = NULL; in test_DER()
448 OSSL_ENCODER_CTX *ectx = NULL; in test_DER()
449 OSSL_DECODER_CTX *dctx = NULL; in test_DER()
450 void *decoded_legacy_key = NULL; in test_DER()
451 EVP_PKEY *decoded_legacy_pkey = NULL; in test_DER()
452 EVP_PKEY *decoded_provided_pkey = NULL; in test_DER()
457 NULL)) in test_DER()
465 if (d2i != NULL) { in test_DER()
473 NULL, NULL)) in test_DER()
479 decoded_legacy_key = d2i(NULL, &pder_legacy, in test_DER()
488 evp_pkey_print(bio_out, decoded_provided_pkey, 0, NULL); in test_DER()
490 evp_pkey_print(bio_out, decoded_legacy_pkey, 0, NULL); in test_DER()
506 struct test_stanza_st *test_stanza = NULL; in test_key()
507 struct key_st *key = NULL; in test_key()
510 EVP_PKEY *pkey = NULL, *downgraded_pkey = NULL; in test_key()
511 const void *legacy_obj = NULL; in test_key()
529 if (test_stanza->pem_write_bio_PrivateKey != NULL) { in test_key()
547 if (test_stanza->pem_write_bio_PublicKey != NULL) { in test_key()
567 if (test_stanza->pem_write_bio_params != NULL) { in test_key()
586 if (test_stanza->pem_write_bio_PUBKEY != NULL) { in test_key()
604 if (test_stanza->i2d_PrivateKey != NULL) { in test_key()
622 if (test_stanza->i2d_PublicKey != NULL) { in test_key()
642 if (test_stanza->i2d_params != NULL) { in test_key()
659 if (test_stanza->i2d_PUBKEY != NULL) { in test_key()
700 load_pkey_pem(test_get_argument(1), NULL))) in OPT_TEST_DECLARE_USAGE()
708 load_pkey_pem(test_get_argument(0), NULL))) in OPT_TEST_DECLARE_USAGE()