Home
last modified time | relevance | path

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

/openbmc/linux/security/keys/trusted-keys/
H A Dtrusted_tpm1.c269 unsigned char *authdata1; in TSS_checkhmac2() local
291 authdata1 = buffer + bufsize - (SHA1_DIGEST_SIZE + 1 in TSS_checkhmac2()
294 continueflag1 = authdata1 - 1; in TSS_checkhmac2()
337 if (memcmp(testhmac1, authdata1, SHA1_DIGEST_SIZE)) { in TSS_checkhmac2()
584 unsigned char authdata1[SHA1_DIGEST_SIZE]; in tpm_unseal() local
613 ret = TSS_authhmac(authdata1, keyauth, TPM_NONCE_SIZE, in tpm_unseal()
631 tpm_buf_append(tb, authdata1, SHA1_DIGEST_SIZE); in tpm_unseal()