Home
last modified time | relevance | path

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

/titanic_44/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dkey.c528 CK_ATTRIBUTE *sensitive_attr = NULL; in priv_key_set_default_attributes() local
546 sensitive_attr = (CK_ATTRIBUTE *)malloc(sizeof (CK_ATTRIBUTE) + in priv_key_set_default_attributes()
563 if (! class_attr || ! subject_attr || ! sensitive_attr || in priv_key_set_default_attributes()
569 if (sensitive_attr) free(sensitive_attr); in priv_key_set_default_attributes()
590 sensitive_attr->type = CKA_SENSITIVE; in priv_key_set_default_attributes()
591 sensitive_attr->ulValueLen = sizeof (CK_BBOOL); in priv_key_set_default_attributes()
592 sensitive_attr->pValue = (CK_BYTE *)sensitive_attr + in priv_key_set_default_attributes()
594 *(CK_BBOOL *)sensitive_attr->pValue = FALSE; in priv_key_set_default_attributes()
640 (void) template_update_attribute(tmpl, sensitive_attr); in priv_key_set_default_attributes()
807 CK_ATTRIBUTE *sensitive_attr = NULL; in secret_key_set_default_attributes() local
[all …]