Lines Matching refs:NULL

21 static OSSL_LIB_CTX *libctx = NULL;
54 OSSL_PROVIDER *deflt = NULL; in test_pkey_sig()
55 OSSL_PROVIDER *fake_rsa = NULL; in test_pkey_sig()
57 EVP_PKEY *pkey = NULL; in test_pkey_sig()
58 EVP_PKEY_CTX *ctx = NULL; in test_pkey_sig()
75 || !TEST_true(EVP_PKEY_fromdata(ctx, &pkey, EVP_PKEY_KEYPAIR, NULL)) in test_pkey_sig()
80 ctx = NULL; in test_pkey_sig()
103 if (!TEST_int_eq(EVP_PKEY_sign(ctx, NULL, &siglen, NULL, 0), 1) in test_pkey_sig()
108 ctx = NULL; in test_pkey_sig()
123 EVP_PKEY_CTX *ctx = NULL; in test_alternative_keygen_init()
124 OSSL_PROVIDER *deflt = NULL; in test_alternative_keygen_init()
125 OSSL_PROVIDER *fake_rsa = NULL; in test_alternative_keygen_init()
134 if (!TEST_ptr(ctx = EVP_PKEY_CTX_new_from_name(libctx, "RSA", NULL))) in test_alternative_keygen_init()
150 ctx = NULL; in test_alternative_keygen_init()
183 OSSL_PROVIDER *deflt = NULL; in test_pkey_eq()
184 OSSL_PROVIDER *fake_rsa = NULL; in test_pkey_eq()
185 EVP_PKEY *pkey_fake = NULL; in test_pkey_eq()
186 EVP_PKEY *pkey_dflt = NULL; in test_pkey_eq()
187 EVP_PKEY_CTX *ctx = NULL; in test_pkey_eq()
188 OSSL_PARAM *params = NULL; in test_pkey_eq()
208 ctx = NULL; in test_pkey_eq()
210 params = NULL; in test_pkey_eq()
223 ctx = NULL; in test_pkey_eq()
225 params = NULL; in test_pkey_eq()
244 OSSL_PROVIDER *deflt = NULL; in test_pkey_store()
245 OSSL_PROVIDER *fake_rsa = NULL; in test_pkey_store()
247 EVP_PKEY *pkey = NULL; in test_pkey_store()
248 OSSL_STORE_LOADER *loader = NULL; in test_pkey_store()
249 OSSL_STORE_CTX *ctx = NULL; in test_pkey_store()
268 NULL, NULL, NULL, NULL, NULL))) in test_pkey_store()
272 && (info = OSSL_STORE_load(ctx)) != NULL in test_pkey_store()
273 && pkey == NULL) { in test_pkey_store()
277 info = NULL; in test_pkey_store()
295 OSSL_PROVIDER *deflt = NULL; in test_pkey_delete()
296 OSSL_PROVIDER *fake_rsa = NULL; in test_pkey_delete()
298 EVP_PKEY *pkey = NULL; in test_pkey_delete()
299 OSSL_STORE_LOADER *loader = NULL; in test_pkey_delete()
300 OSSL_STORE_CTX *ctx = NULL; in test_pkey_delete()
319 NULL, NULL, NULL, NULL, NULL))) in test_pkey_delete()
323 && (info = OSSL_STORE_load(ctx)) != NULL in test_pkey_delete()
324 && pkey == NULL) { in test_pkey_delete()
328 info = NULL; in test_pkey_delete()
334 pkey = NULL; in test_pkey_delete()
337 NULL, NULL, NULL), 1)) in test_pkey_delete()
344 NULL, NULL, NULL, NULL, NULL))) in test_pkey_delete()
377 OSSL_PROVIDER *deflt = NULL; in test_pkey_store_open_ex()
378 OSSL_PROVIDER *fake_rsa = NULL; in test_pkey_store_open_ex()
380 EVP_PKEY *pkey = NULL; in test_pkey_store_open_ex()
381 OSSL_STORE_LOADER *loader = NULL; in test_pkey_store_open_ex()
382 OSSL_STORE_CTX *ctx = NULL; in test_pkey_store_open_ex()
384 UI_METHOD *ui_method = NULL; in test_pkey_store_open_ex()
406 ui_method, NULL, NULL, NULL, NULL))) in test_pkey_store_open_ex()
412 propq, NULL, NULL, NULL, NULL, in test_pkey_store_open_ex()
413 NULL))) in test_pkey_store_open_ex()
430 if (libctx == NULL) in setup_tests()