Home
last modified time | relevance | path

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

/titanic_44/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dkey.c534 CK_ATTRIBUTE *never_extr_attr = NULL; in priv_key_set_default_attributes() local
558 never_extr_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()
576 if (never_extr_attr) free(never_extr_attr); in priv_key_set_default_attributes()
626 never_extr_attr->type = CKA_NEVER_EXTRACTABLE; in priv_key_set_default_attributes()
627 never_extr_attr->ulValueLen = sizeof (CK_BBOOL); in priv_key_set_default_attributes()
628 never_extr_attr->pValue = (CK_BYTE *)never_extr_attr + in priv_key_set_default_attributes()
630 *(CK_BBOOL *)never_extr_attr->pValue = FALSE; in priv_key_set_default_attributes()
646 (void) template_update_attribute(tmpl, never_extr_attr); in priv_key_set_default_attributes()
815 CK_ATTRIBUTE *never_extr_attr = NULL; in secret_key_set_default_attributes() local
[all …]