Lines Matching defs:type

104 kms_lookup_attr(CK_ATTRIBUTE_TYPE type)
115 if (type > attr_map[middle]) {
121 if (type == attr_map[middle]) {
126 if (type < attr_map[middle]) {
159 switch (template[i].type) {
175 switch (template[i].type) {
196 rv = kms_lookup_attr(template[i].type);
229 * attribute (with simple byte array type).
259 attrp->attr.type = template->type;
306 attrp->attr.type = old_attrp->attr.type;
337 * (if the specified attribute type is found), and copy it to a template.
338 * Note the type of the attribute to be copied is specified by the template,
346 CK_ATTRIBUTE_TYPE type = template->type;
351 if (type == extra_attr->attr.type) {
395 * if the specified attribute type is found. Otherwise, just add it to
399 set_extra_attr_to_object(kms_object_t *object_p, CK_ATTRIBUTE_TYPE type,
407 if (type == extra_attr->attr.type) {
452 * Copy the boolean data type attribute value from an object for the
489 * Set the boolean data type attribute value in the object.
506 * Copy the CK_ULONG data type attribute value from an object to the
550 dest->type = src->type;
554 dest->type = src->type;
583 switch (template->type) {
625 * invalid attribute type, invalid attribute value, etc., return
628 * attributes that have boolean type.
630 * attribute that has byte array type. Link attribute_info structs
679 switch (template[i].type) {
691 * value with byte array type, and add it to
892 /* Validate the attribute type in the template. */
936 switch (template->type) {
1003 switch (template->type) {
1013 * The above extra attributes have byte array type.
1052 switch (template->type) {
1219 switch (template->type) {
1302 switch (template->type) {
1374 * If we got this far, then the combination of key type
1471 if (pTemplate[i].type == CKA_CLASS) {
1493 if (pTemplate[i].type == SECRET_KEY_ATTRS[j]) {
1540 switch (tmpl_attr->type) {
1643 obj_attr = get_extra_attr(tmpl_attr->type, obj);
1690 * The attribute type is valid, and its value
1714 get_extra_attr(CK_ATTRIBUTE_TYPE type, kms_object_t *obj)
1720 if (tmp->attr.type == type) {