Searched refs:hPrivateLeafKey (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | tpm_specific.c | 152 TSS_HKEY hPrivateLeafKey = NULL_HKEY; variable 1437 pinHash, &hPrivateLeafKey))) { in token_create_private_tree() 1441 if ((result = Tspi_Key_LoadKey(hPrivateLeafKey, hPrivateRootKey))) { in token_create_private_tree() 1447 &hPrivateLeafKey); in token_create_private_tree() 1460 Tspi_Context_CloseObject(hContext, hPrivateLeafKey); in token_create_private_tree() 1670 if (hPrivateLeafKey != NULL_HKEY) { in token_specific_logout() 1671 Tspi_Key_UnloadKey(hPrivateLeafKey); in token_specific_logout() 1672 hPrivateLeafKey = NULL_HKEY; in token_specific_logout() 1767 if (hPrivateLeafKey == NULL_HKEY) { in verify_user_pin() 1772 &hPrivateLeafKey); in verify_user_pin() [all …]
|
H A D | loadsave.c | 305 extern TSS_HKEY hPrivateLeafKey; 810 rc = tpm_encrypt_data(hContext, hPrivateLeafKey, cleartxt, cleartxt_len, in save_private_token_object() 1064 rc = tpm_decrypt_data(hContext, hPrivateLeafKey, data, len, in restore_private_token_object()
|