Home
last modified time | relevance | path

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

/netbsd/crypto/external/cpl/tpm-tools/dist/lib/
H A Dtpm_unseal.c85 char *srkSecret = NULL; in tpmUnsealFile() local
294 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()
/netbsd/crypto/external/cpl/trousers/dist/src/tspi/
H A Dtsp_own.c41 TCPA_SECRET srkSecret; in secret_TakeOwnership() local
104 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()