Lines Matching refs:attributes
33 find_attribute(CK_ATTRIBUTE_TYPE attrtype, generic_attr_t *attributes,
39 * Returns an (statically allocated) set of object attributes, as determined by
40 * class and keytype of the supplied object. The attributes are only
45 slot_object_t *slot_object, generic_attr_t **attributes,
94 attributes, num_attributes);
102 * Returns an (statically allocated) set of object attributes, as determined by
104 * class/subclass of the object. The attributes are only initialized to
110 generic_attr_t **attributes, size_t *num_attributes)
150 attributes, num_attributes));
156 * Returns an (statically allocated) set of object attributes, as determined
157 * by the specified class and subtype. The attributes are initialized to default
162 generic_attr_t **attributes, size_t *num_attributes)
367 *attributes = master_template;
377 * Returns an (statically allocated) set of object attributes, as determined by
378 * the specified class and subtype. The attributes are initialized to default
383 generic_attr_t **attributes, size_t *num_attributes)
430 *attributes = new_attributes;
440 * Returns an (statically allocated) set of object attributes, as copied from an
441 * existing set of attributes. The new attributes inherit the values from
442 * the old attributes.
511 * Deallocates the storage used for a set of attributes. The attribute
515 dealloc_attributes(generic_attr_t *attributes, size_t num_attributes)
521 attr = attributes + i;
525 * attributes with isSensitive == True, but it's not much
526 * extra work to just do them all. [Most attributes are just
535 free(attributes);
547 generic_attr_t *attributes, size_t num_attributes)
557 find_attribute(new_attr->type, attributes, num_attributes, &attr);
618 find_attribute(CK_ATTRIBUTE_TYPE attrtype, generic_attr_t *attributes,
626 for (i = 0, attr = attributes; i < num_attributes; i++, attr++) {
644 get_template_ulong(CK_ATTRIBUTE_TYPE type, CK_ATTRIBUTE *attributes,
651 if (attributes[i].type == type) {
652 CK_ULONG *value = attributes[i].pValue;
671 get_template_boolean(CK_ATTRIBUTE_TYPE type, CK_ATTRIBUTE *attributes,
678 if (attributes[i].type == type) {
679 CK_BBOOL *value = attributes[i].pValue;
708 set_template_boolean(CK_ATTRIBUTE_TYPE type, CK_ATTRIBUTE *attributes,
714 if (attributes[i].type == type) {
716 attributes[i].pValue = value;
718 *((CK_BBOOL *)attributes[i].pValue) = *value;