Skip to content
This repository has been archived by the owner on Aug 24, 2022. It is now read-only.

Commit

Permalink
[test patch]: print TPM seed
Browse files Browse the repository at this point in the history
Signed-off-by: Chen Gang G <[email protected]>
  • Loading branch information
GangSecurity committed Aug 12, 2020
1 parent df568f1 commit 21ec9f5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions libkernelflinger/tpm2_security.c
Original file line number Diff line number Diff line change
Expand Up @@ -771,6 +771,12 @@ EFI_STATUS tpm2_read_trusty_seed(UINT8 seed[TRUSTY_SEED_SIZE])
goto out;
}

{
int i;
for (i = 0 ; i < TRUSTY_SEED_SIZE ; i++)
debug(L"seed[%d] = 0x%02x", i, seed[i]);
}

return EFI_SUCCESS;

out:
Expand Down

0 comments on commit 21ec9f5

Please sign in to comment.