Home
last modified time | relevance | path

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

/titanic_50/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dkey.c535 CK_ATTRIBUTE *always_sens_attr = NULL; in priv_key_set_default_attributes() local
560 always_sens_attr = (CK_ATTRIBUTE *)malloc(sizeof (CK_ATTRIBUTE) + in priv_key_set_default_attributes()
566 ! never_extr_attr || ! always_sens_attr) { in priv_key_set_default_attributes()
575 if (always_sens_attr) free(always_sens_attr); in priv_key_set_default_attributes()
632 always_sens_attr->type = CKA_ALWAYS_SENSITIVE; in priv_key_set_default_attributes()
633 always_sens_attr->ulValueLen = sizeof (CK_BBOOL); in priv_key_set_default_attributes()
634 always_sens_attr->pValue = (CK_BYTE *)always_sens_attr + in priv_key_set_default_attributes()
636 *(CK_BBOOL *)always_sens_attr->pValue = FALSE; in priv_key_set_default_attributes()
647 (void) template_update_attribute(tmpl, always_sens_attr); in priv_key_set_default_attributes()
816 CK_ATTRIBUTE *always_sens_attr = NULL; in secret_key_set_default_attributes() local
[all …]