Lines Matching refs:head

166 static enum pkcs11_rc generate_random_key_value(struct obj_attrs **head)  in generate_random_key_value()  argument
174 if (!*head) in generate_random_key_value()
177 rc = get_attribute_ptr(*head, PKCS11_CKA_VALUE_LEN, &data, &data_size); in generate_random_key_value()
187 rc = remove_empty_attribute(head, PKCS11_CKA_VALUE); in generate_random_key_value()
197 rc = add_attribute(head, PKCS11_CKA_VALUE, value, value_len); in generate_random_key_value()
217 struct obj_attrs *head = NULL; in entry_generate_secret() local
263 rc = create_attributes_from_template(&head, template, template_size, in entry_generate_secret()
273 rc = check_created_attrs(head, NULL); in entry_generate_secret()
277 rc = check_created_attrs_against_processing(proc_params->id, head); in entry_generate_secret()
281 rc = check_created_attrs_against_token(session, head); in entry_generate_secret()
294 rc = generate_random_key_value(&head); in entry_generate_secret()
310 rc = create_object(session, head, &obj_handle); in entry_generate_secret()
320 head = NULL; in entry_generate_secret()
331 TEE_Free(head); in entry_generate_secret()
363 enum pkcs11_rc tee2pkcs_add_attribute(struct obj_attrs **head, in tee2pkcs_add_attribute() argument
376 rc = add_attribute(head, pkcs11_id, a_ptr, a_size); in tee2pkcs_add_attribute()
813 struct obj_attrs *head = NULL; in entry_processing_key() local
942 rc = create_attributes_from_template(&head, template, template_size, in entry_processing_key()
955 rc = check_created_attrs_against_processing(proc_params->id, head); in entry_processing_key()
959 rc = check_created_attrs_against_token(session, head); in entry_processing_key()
963 rc = check_access_attrs_against_token(session, head); in entry_processing_key()
996 rc = do_asymm_derivation(session, proc_params, &head); in entry_processing_key()
1020 rc = set_key_data(&head, out_buf, out_size); in entry_processing_key()
1034 rc = create_object(session, head, &obj_handle); in entry_processing_key()
1044 head = NULL; in entry_processing_key()
1057 TEE_Free(head); in entry_processing_key()