Home
last modified time | relevance | path

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

/titanic_44/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dkey.c317 CK_ATTRIBUTE * derive_attr = NULL; in key_object_set_default_attributes() local
328 derive_attr = (CK_ATTRIBUTE *)malloc(sizeof (CK_ATTRIBUTE) + in key_object_set_default_attributes()
334 ! derive_attr || ! local_attr) { in key_object_set_default_attributes()
338 if (derive_attr) free(derive_attr); in key_object_set_default_attributes()
355 derive_attr->type = CKA_DERIVE; in key_object_set_default_attributes()
356 derive_attr->ulValueLen = sizeof (CK_BBOOL); in key_object_set_default_attributes()
357 derive_attr->pValue = (CK_BYTE *)derive_attr + in key_object_set_default_attributes()
359 *(CK_BBOOL *)derive_attr->pValue = FALSE; in key_object_set_default_attributes()
369 (void) template_update_attribute(tmpl, derive_attr); in key_object_set_default_attributes()