Lines Matching refs:NULL
22 EVP_KEYMGMT *keymgmt = NULL; in keymgmt_new()
24 if ((keymgmt = OPENSSL_zalloc(sizeof(*keymgmt))) == NULL) in keymgmt_new()
25 return NULL; in keymgmt_new()
28 return NULL; in keymgmt_new()
58 EVP_KEYMGMT *keymgmt = NULL; in keymgmt_from_algorithm()
65 if ((keymgmt = keymgmt_new()) == NULL) in keymgmt_from_algorithm()
66 return NULL; in keymgmt_from_algorithm()
69 if ((keymgmt->type_name = ossl_algorithm_get1_first_name(algodef)) == NULL) { in keymgmt_from_algorithm()
71 return NULL; in keymgmt_from_algorithm()
78 if (keymgmt->new == NULL) in keymgmt_from_algorithm()
82 if (keymgmt->gen_init == NULL) in keymgmt_from_algorithm()
86 if (keymgmt->gen_set_template == NULL) in keymgmt_from_algorithm()
91 if (keymgmt->gen_set_params == NULL) { in keymgmt_from_algorithm()
98 if (keymgmt->gen_settable_params == NULL) { in keymgmt_from_algorithm()
105 if (keymgmt->gen_get_params == NULL) { in keymgmt_from_algorithm()
112 if (keymgmt->gen_gettable_params == NULL) { in keymgmt_from_algorithm()
119 if (keymgmt->gen == NULL) in keymgmt_from_algorithm()
123 if (keymgmt->gen_cleanup == NULL) in keymgmt_from_algorithm()
127 if (keymgmt->free == NULL) in keymgmt_from_algorithm()
131 if (keymgmt->load == NULL) in keymgmt_from_algorithm()
135 if (keymgmt->get_params == NULL) { in keymgmt_from_algorithm()
141 if (keymgmt->gettable_params == NULL) { in keymgmt_from_algorithm()
148 if (keymgmt->set_params == NULL) { in keymgmt_from_algorithm()
154 if (keymgmt->settable_params == NULL) { in keymgmt_from_algorithm()
161 if (keymgmt->query_operation_name == NULL) in keymgmt_from_algorithm()
166 if (keymgmt->has == NULL) in keymgmt_from_algorithm()
170 if (keymgmt->dup == NULL) in keymgmt_from_algorithm()
174 if (keymgmt->validate == NULL) in keymgmt_from_algorithm()
178 if (keymgmt->match == NULL) in keymgmt_from_algorithm()
182 if (keymgmt->import == NULL) { in keymgmt_from_algorithm()
188 if (keymgmt->import_types == NULL) { in keymgmt_from_algorithm()
196 if (keymgmt->import_types_ex == NULL) { in keymgmt_from_algorithm()
204 if (keymgmt->export == NULL) { in keymgmt_from_algorithm()
210 if (keymgmt->export_types == NULL) { in keymgmt_from_algorithm()
218 if (keymgmt->export_types_ex == NULL) { in keymgmt_from_algorithm()
235 if (keymgmt->free == NULL in keymgmt_from_algorithm()
236 || (keymgmt->new == NULL in keymgmt_from_algorithm()
237 && keymgmt->gen == NULL in keymgmt_from_algorithm()
238 && keymgmt->load == NULL) in keymgmt_from_algorithm()
239 || keymgmt->has == NULL in keymgmt_from_algorithm()
246 || (keymgmt->gen != NULL in keymgmt_from_algorithm()
247 && (keymgmt->gen_init == NULL in keymgmt_from_algorithm()
248 || keymgmt->gen_cleanup == NULL))) { in keymgmt_from_algorithm()
251 return NULL; in keymgmt_from_algorithm()
254 if (prov != NULL) in keymgmt_from_algorithm()
296 if (keymgmt == NULL) in EVP_KEYMGMT_free()
335 return keymgmt != NULL in EVP_KEYMGMT_is_a()
336 && evp_is_a(keymgmt->prov, keymgmt->name_id, NULL, name); in EVP_KEYMGMT_is_a()
354 if (keymgmt->prov != NULL) in EVP_KEYMGMT_names_do_all()
372 if (keymgmt->new == NULL) in evp_keymgmt_newdata()
373 return NULL; in evp_keymgmt_newdata()
388 if (keymgmt->gen_init == NULL) in evp_keymgmt_gen_init()
389 return NULL; in evp_keymgmt_gen_init()
402 if (keymgmt->gen_set_template == NULL) in evp_keymgmt_gen_set_template()
410 if (keymgmt->gen_set_params == NULL) in evp_keymgmt_gen_set_params()
419 if (keymgmt->gen_settable_params == NULL) in EVP_KEYMGMT_gen_settable_params()
420 return NULL; in EVP_KEYMGMT_gen_settable_params()
421 return keymgmt->gen_settable_params(NULL, provctx); in EVP_KEYMGMT_gen_settable_params()
427 if (keymgmt->gen_get_params == NULL) in evp_keymgmt_gen_get_params()
436 if (keymgmt->gen_gettable_params == NULL) in EVP_KEYMGMT_gen_gettable_params()
437 return NULL; in EVP_KEYMGMT_gen_gettable_params()
438 return keymgmt->gen_gettable_params(NULL, provctx); in EVP_KEYMGMT_gen_gettable_params()
444 if (keymgmt->gen == NULL) in evp_keymgmt_gen()
445 return NULL; in evp_keymgmt_gen()
451 if (keymgmt->gen_cleanup != NULL) in evp_keymgmt_gen_cleanup()
457 return keymgmt != NULL && keymgmt->load != NULL; in evp_keymgmt_has_load()
465 return NULL; in evp_keymgmt_load()
471 if (keymgmt->get_params == NULL) in evp_keymgmt_get_params()
480 if (keymgmt->gettable_params == NULL) in EVP_KEYMGMT_gettable_params()
481 return NULL; in EVP_KEYMGMT_gettable_params()
488 if (keymgmt->set_params == NULL) in evp_keymgmt_set_params()
497 if (keymgmt->settable_params == NULL) in EVP_KEYMGMT_settable_params()
498 return NULL; in EVP_KEYMGMT_settable_params()
512 if (keymgmt->validate == NULL) in evp_keymgmt_validate()
522 if (keymgmt->match == NULL) in evp_keymgmt_match()
530 if (keymgmt->import == NULL) in evp_keymgmt_import()
540 if (keymgmt->import_types_ex != NULL) in evp_keymgmt_import_types()
542 if (keymgmt->import_types == NULL) in evp_keymgmt_import_types()
543 return NULL; in evp_keymgmt_import_types()
550 if (keymgmt->export == NULL) in evp_keymgmt_export()
560 if (keymgmt->export_types_ex != NULL) in evp_keymgmt_export_types()
562 if (keymgmt->export_types == NULL) in evp_keymgmt_export_types()
563 return NULL; in evp_keymgmt_export_types()
571 if (keymgmt->dup == NULL) in evp_keymgmt_dup()
572 return NULL; in evp_keymgmt_dup()