Home
last modified time | relevance | path

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

/titanic_44/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dkey.c530 CK_ATTRIBUTE *sign_attr = NULL; in priv_key_set_default_attributes() local
550 sign_attr = (CK_ATTRIBUTE *)malloc(sizeof (CK_ATTRIBUTE) + in priv_key_set_default_attributes()
564 ! decrypt_attr || ! sign_attr || ! sign_recover_attr || in priv_key_set_default_attributes()
571 if (sign_attr) free(sign_attr); in priv_key_set_default_attributes()
602 sign_attr->type = CKA_SIGN; in priv_key_set_default_attributes()
603 sign_attr->ulValueLen = sizeof (CK_BBOOL); in priv_key_set_default_attributes()
604 sign_attr->pValue = (CK_BYTE *)sign_attr + in priv_key_set_default_attributes()
606 *(CK_BBOOL *)sign_attr->pValue = TRUE; in priv_key_set_default_attributes()
642 (void) template_update_attribute(tmpl, sign_attr); in priv_key_set_default_attributes()
810 CK_ATTRIBUTE *sign_attr = NULL; in secret_key_set_default_attributes() local
[all …]