Searched refs:srkSecret (Results 1 – 2 of 2) sorted by relevance
85 char *srkSecret = NULL; in tpmUnsealFile() local294 srkSecret = GETPASSWD(_("Enter SRK password: "), &srkSecretLen, FALSE); in tpmUnsealFile()295 if (!srkSecret) in tpmUnsealFile()360 (BYTE *) srkSecret); in tpmUnsealFile()439 if (srkSecret) in tpmUnsealFile()440 shredPasswd(srkSecret); in tpmUnsealFile()
41 TCPA_SECRET srkSecret; in secret_TakeOwnership() local104 if ((result = obj_policy_get_secret(hSrkPolicy, TR_SECRET_CTX_NEW, &srkSecret))) { in secret_TakeOwnership()119 if ((result = Trspi_RSA_Encrypt(srkSecret.authdata, 20, encSRKAuth, in secret_TakeOwnership()