Searched defs:class_attr (Results 1 - 2 of 2) sorted by relevance

/osnet-11/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Ddata_obj.c314 CK_ATTRIBUTE *class_attr = NULL; local
321 class_attr = (CK_ATTRIBUTE *)malloc(sizeof (CK_ATTRIBUTE) +
326 if (! class_attr || ! app_attr || ! value_attr) {
327 if (class_attr) free(class_attr);
341 class_attr->type = CKA_CLASS;
342 class_attr->ulValueLen = sizeof (CK_OBJECT_CLASS);
343 class_attr->pValue = (CK_BYTE *)class_attr + sizeof (CK_ATTRIBUTE);
344 *(CK_OBJECT_CLASS *)class_attr
[all...]
H A Dkey.c409 CK_ATTRIBUTE *class_attr = NULL; local
427 class_attr = (CK_ATTRIBUTE *)malloc(sizeof (CK_ATTRIBUTE) +
441 if (class_attr) free(class_attr);
451 class_attr->type = CKA_CLASS;
452 class_attr->ulValueLen = sizeof (CK_OBJECT_CLASS);
453 class_attr->pValue = (CK_BYTE *)class_attr +
455 *(CK_OBJECT_CLASS *)class_attr->pValue = CKO_PUBLIC_KEY;
485 (void) template_update_attribute(tmpl, class_attr);
526 CK_ATTRIBUTE *class_attr = NULL; local
806 CK_ATTRIBUTE *class_attr = NULL; local
[all...]

Completed in 24 milliseconds