forked from jiazhang0/efi-tpm2-utils
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
81 lines (68 loc) · 1.62 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
efi-tpm2-utils
==============
This project provides various TPM 2.0 applications running in EFI.
Build
-----
$ make
Note: use "CROSS_COMPILE=" in command line to specify cross compilation.
Installation
------------
$ sudo make install
Tools
-----
* fake-etet.efi
Install a fake ETET if UEFI BIOS doesn't have.
Usage:
fake-etet.efi
Example:
ETET (version 1, number of events 0) detected
Skip to install a fake ETET
ETET triggered
* tpm2-capability.efi
Show the capability information of TPM 1.x/2.0 device.
Usage:
tpm2-capability.efi
Example:
Structure Size: 36-byte
Structure Version: 1.1
Protocol Version: 1.1
Supported Hash Algorithm: 0x3 (SHA-1 SHA-256)
Supported Event Log Format: 0x3 (TCG1.2 TCG2.0)
TPM Present: True
Max Command Size: 3968-byte
Max Response Size: 3968-byte
Manufacturer ID: 0x494E5443
Number of PCR Banks: 2
Active PCR Banks: 0x1 (SHA-1)
* tpm2-eventlog.efi
Show the content of normal event logs.
Usage:
tpm2-eventlog.efi
Example:
TCG 1.2 Normal Event Logs:
[01]
PCR Index: 0
Event Type: 0x8 (S-CRTM version)
Digest: C42FEDAD268200CB1D15F97841C344E79DAE3320
Event Size: 16-byte
Event Data:
1EFB6B540C1D5540A4AD4EF4BF17B83A
[02]
PCR Index: 0
Event Type: 0x1 (Post code)
Digest: 81AA09B1BAD84B72E3103B7169F02A667D833C45
Event Size: 16-byte
Event Data:
0010B4FF000000000070400000000000
[03]
PCR Index: 7
Event Type: 0x80000001 (EFI variable driver config)
Digest: 2F20112A3F55398B208E0C42681389B4CB5B1823
Event Size: 52-byte
Event Data:
Variable name: Efi
Unicode name length: 20-byte
Variable data length: 0-byte
Unicode name: SecureBoot
Variable data:
...omitted