Lines Matching refs:template
369 rc = template_attribute_find(o->template, CKA_SENSITIVE, &attr);
383 rc = template_attribute_find(o->template, CKA_EXTRACTABLE,
398 (void) template_update_attribute(o->template, sensitive);
399 (void) template_update_attribute(o->template, extractable);
417 // object's attribute template plus any additional attributes that are
453 // copy the original object's attribute template
455 rc = template_copy(tmpl, old_obj->template);
483 // of the old template.
499 o->template = tmpl;
528 count = template_get_count(obj->template);
529 tmpl_len = template_get_compressed_size(obj->template);
551 rc = template_flatten(obj->template, buf + offset);
566 (void) template_free(obj->template);
582 found = template_attribute_find(obj->template, CKA_MODIFIABLE, &attr);
602 found = template_attribute_find(obj->template, CKA_PRIVATE, &attr);
631 found = template_attribute_find(obj->template,
655 size = sizeof (OBJECT) + template_get_size(obj->template);
673 obj_tmpl = obj->template;
721 found = template_get_class(obj->template, &class, &subclass);
744 rc = template_merge(obj->template, &new_tmpl);
789 obj->template = tmpl;
794 (void) template_free((*new_obj)->template);
854 // at this point, the new template has the list of attributes. we need
878 o->template = tmpl;