Home
last modified time | relevance | path

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

/titanic_50/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dkey.c533 CK_ATTRIBUTE *extractable_attr = NULL; in priv_key_set_default_attributes() local
556 extractable_attr = (CK_ATTRIBUTE *)malloc(sizeof (CK_ATTRIBUTE) + in priv_key_set_default_attributes()
565 ! unwrap_attr || ! extractable_attr || in priv_key_set_default_attributes()
574 if (extractable_attr) free(extractable_attr); in priv_key_set_default_attributes()
620 extractable_attr->type = CKA_EXTRACTABLE; in priv_key_set_default_attributes()
621 extractable_attr->ulValueLen = sizeof (CK_BBOOL); in priv_key_set_default_attributes()
622 extractable_attr->pValue = (CK_BYTE *)extractable_attr + in priv_key_set_default_attributes()
624 *(CK_BBOOL *)extractable_attr->pValue = TRUE; in priv_key_set_default_attributes()
645 (void) template_update_attribute(tmpl, extractable_attr); in priv_key_set_default_attributes()
814 CK_ATTRIBUTE *extractable_attr = NULL; in secret_key_set_default_attributes() local
[all …]