Lines Matching full:null

128 	session->processing = NULL;  in release_active_processing()
133 void *a_ptr = NULL; in get_object_key_bit_size()
146 if (get_attribute_ptr(attrs, PKCS11_CKA_VALUE, NULL, &a_size)) in get_object_key_bit_size()
151 if (get_attribute_ptr(attrs, PKCS11_CKA_MODULUS, NULL, &a_size)) in get_object_key_bit_size()
162 if (get_attribute_ptr(attrs, PKCS11_CKA_EC_POINT, NULL, in get_object_key_bit_size()
178 void *value = NULL; in generate_random_key_value()
179 void *data = NULL; in generate_random_key_value()
225 struct pkcs11_session *session = NULL; in entry_generate_secret()
226 struct pkcs11_attribute_head *proc_params = NULL; in entry_generate_secret()
227 struct obj_attrs *head = NULL; in entry_generate_secret()
228 struct pkcs11_object_head *template = NULL; in entry_generate_secret()
274 NULL, PKCS11_FUNCTION_GENERATE, in entry_generate_secret()
281 template = NULL; in entry_generate_secret()
283 rc = check_created_attrs(head, NULL); in entry_generate_secret()
315 proc_params = NULL; in entry_generate_secret()
327 * We reset head to NULL as it is no more the buffer owner and would in entry_generate_secret()
330 head = NULL; in entry_generate_secret()
351 void *ptr = NULL; in alloc_get_tee_attribute_data()
354 res = TEE_GetObjectBufferAttribute(tee_obj, attribute, NULL, &sz); in alloc_get_tee_attribute_data()
379 void *a_ptr = NULL; in tee2pkcs_add_attribute()
408 struct pkcs11_session *session = NULL; in entry_generate_key_pair()
409 struct pkcs11_attribute_head *proc_params = NULL; in entry_generate_key_pair()
410 struct obj_attrs *pub_head = NULL; in entry_generate_key_pair()
411 struct obj_attrs *priv_head = NULL; in entry_generate_key_pair()
412 struct pkcs11_object_head *pub_template = NULL; in entry_generate_key_pair()
413 struct pkcs11_object_head *priv_template = NULL; in entry_generate_key_pair()
414 struct pkcs11_object *object = NULL; in entry_generate_key_pair()
419 uint32_t *hdl_ptr = NULL; in entry_generate_key_pair()
461 pub_template_size, NULL, in entry_generate_key_pair()
469 pub_template = NULL; in entry_generate_key_pair()
475 priv_template_size, NULL, in entry_generate_key_pair()
483 priv_template = NULL; in entry_generate_key_pair()
539 proc_params = NULL; in entry_generate_key_pair()
551 * We reset local pub_head to NULL to mark that ownership has been in entry_generate_key_pair()
554 pub_head = NULL; in entry_generate_key_pair()
560 /* Ownership has been transferred so mark it with NULL */ in entry_generate_key_pair()
561 priv_head = NULL; in entry_generate_key_pair()
608 struct pkcs11_session *session = NULL; in entry_processing_init()
609 struct pkcs11_attribute_head *proc_params = NULL; in entry_processing_init()
611 struct pkcs11_object *obj = NULL; in entry_processing_init()
649 rc = set_processing_state(session, function, obj, NULL); in entry_processing_init()
713 struct pkcs11_session *session = NULL; in entry_processing_step()
716 struct pkcs11_object *obj = NULL; in entry_processing_step()
817 struct pkcs11_session *session = NULL; in entry_processing_key()
818 struct pkcs11_attribute_head *proc_params = NULL; in entry_processing_key()
819 struct pkcs11_object_head *template = NULL; in entry_processing_key()
822 struct pkcs11_object *parent = NULL; in entry_processing_key()
823 struct obj_attrs *head = NULL; in entry_processing_key()
825 void *in_buf = NULL; in entry_processing_key()
827 void *out_buf = NULL; in entry_processing_key()
916 rc = set_processing_state(session, function, parent, NULL); in entry_processing_key()
961 template = NULL; in entry_processing_key()
1036 out_buf = NULL; in entry_processing_key()
1039 proc_params = NULL; in entry_processing_key()
1051 * We reset head to NULL as it is no more the buffer owner and would in entry_processing_key()
1054 head = NULL; in entry_processing_key()
1084 struct pkcs11_session *session = NULL; in entry_release_active_processing()
1127 struct pkcs11_session *session = NULL; in entry_wrap_key()
1128 struct pkcs11_attribute_head *proc_params = NULL; in entry_wrap_key()
1129 struct pkcs11_object *wrapping_key = NULL; in entry_wrap_key()
1130 struct pkcs11_object *key = NULL; in entry_wrap_key()
1131 void *req_attrs = NULL; in entry_wrap_key()
1135 void *key_data = NULL; in entry_wrap_key()
1195 rc = set_processing_state(session, function, wrapping_key, NULL); in entry_wrap_key()