Home
last modified time | relevance | path

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

/titanic_44/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dkey.c529 CK_ATTRIBUTE *decrypt_attr = NULL; in priv_key_set_default_attributes() local
548 decrypt_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()
570 if (decrypt_attr) free(decrypt_attr); in priv_key_set_default_attributes()
596 decrypt_attr->type = CKA_DECRYPT; in priv_key_set_default_attributes()
597 decrypt_attr->ulValueLen = sizeof (CK_BBOOL); in priv_key_set_default_attributes()
598 decrypt_attr->pValue = (CK_BYTE *)decrypt_attr + in priv_key_set_default_attributes()
600 *(CK_BBOOL *)decrypt_attr->pValue = TRUE; in priv_key_set_default_attributes()
641 (void) template_update_attribute(tmpl, decrypt_attr); in priv_key_set_default_attributes()
809 CK_ATTRIBUTE *decrypt_attr = NULL; in secret_key_set_default_attributes() local
[all …]