Home
last modified time | relevance | path

Searched refs:app_attr (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Ddata_obj.c315 CK_ATTRIBUTE *app_attr = NULL; in data_object_set_default_attributes() local
319 app_attr = NULL; in data_object_set_default_attributes()
323 app_attr = (CK_ATTRIBUTE *)malloc(sizeof (CK_ATTRIBUTE)); in data_object_set_default_attributes()
326 if (! class_attr || ! app_attr || ! value_attr) { in data_object_set_default_attributes()
328 if (app_attr) free(app_attr); in data_object_set_default_attributes()
333 app_attr->type = CKA_APPLICATION; in data_object_set_default_attributes()
334 app_attr->ulValueLen = 0; // empty string in data_object_set_default_attributes()
335 app_attr->pValue = NULL; in data_object_set_default_attributes()
347 (void) template_update_attribute(tmpl, app_attr); in data_object_set_default_attributes()