Lines Matching refs:template
369 rc = template_attribute_find(o->template, CKA_SENSITIVE, &attr); in object_create()
383 rc = template_attribute_find(o->template, CKA_EXTRACTABLE, in object_create()
398 (void) template_update_attribute(o->template, sensitive); in object_create()
399 (void) template_update_attribute(o->template, extractable); in object_create()
455 rc = template_copy(tmpl, old_obj->template); in object_copy()
499 o->template = tmpl; in object_copy()
528 count = template_get_count(obj->template); in object_flatten()
529 tmpl_len = template_get_compressed_size(obj->template); in object_flatten()
551 rc = template_flatten(obj->template, buf + offset); in object_flatten()
566 (void) template_free(obj->template); in object_free()
582 found = template_attribute_find(obj->template, CKA_MODIFIABLE, &attr); in object_is_modifiable()
602 found = template_attribute_find(obj->template, CKA_PRIVATE, &attr); in object_is_private()
631 found = template_attribute_find(obj->template, in object_is_token_object()
655 size = sizeof (OBJECT) + template_get_size(obj->template); in object_get_size()
673 obj_tmpl = obj->template; in object_get_attribute_values()
721 found = template_get_class(obj->template, &class, &subclass); in object_set_attribute_values()
744 rc = template_merge(obj->template, &new_tmpl); in object_set_attribute_values()
789 obj->template = tmpl; in object_restore()
794 (void) template_free((*new_obj)->template); in object_restore()
878 o->template = tmpl; in object_create_skel()