Lines Matching refs:template
212 struct pkcs11_object_head *template = NULL; in entry_generate_secret() local
230 rc = serialargs_alloc_get_attributes(&ctrlargs, &template); in entry_generate_secret()
243 template_size = sizeof(*template) + template->attrs_size; in entry_generate_secret()
257 rc = create_attributes_from_template(&head, template, template_size, in entry_generate_secret()
264 TEE_Free(template); in entry_generate_secret()
265 template = NULL; in entry_generate_secret()
324 TEE_Free(template); in entry_generate_secret()
802 struct pkcs11_object_head *template = NULL; in entry_processing_key() local
870 rc = serialargs_alloc_get_attributes(&ctrlargs, &template); in entry_processing_key()
930 template_size = sizeof(*template) + template->attrs_size; in entry_processing_key()
935 rc = create_attributes_from_template(&head, template, template_size, in entry_processing_key()
943 TEE_Free(template); in entry_processing_key()
944 template = NULL; in entry_processing_key()
1022 TEE_Free(template); in entry_processing_key()