|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | - | - |
| README | D | 22-Nov-2023 | 1,021 | 34 | 22 |
| TPM2_Parts_2_3_4.tgz | D | 22-Nov-2023 | 988.8 KiB | | |
| command_generator.py | D | 22-Nov-2023 | 23.7 KiB | 677 | 616 |
| commands.txt | D | 22-Nov-2023 | 73.8 KiB | 2,922 | 2,921 |
| extract_commands.sh | D | 22-Nov-2023 | 3.2 KiB | 87 | 57 |
| extract_structures.py | D | 22-Nov-2023 | 6.8 KiB | 190 | 150 |
| extract_structures.sh | D | 22-Nov-2023 | 15.7 KiB | 431 | 304 |
| generator.py | D | 22-Nov-2023 | 5.5 KiB | 175 | 129 |
| raw_commands.txt | D | 22-Nov-2023 | 655.2 KiB | 35,656 | 26,488 |
| raw_commands_fixed.txt | D | 22-Nov-2023 | 655.2 KiB | 35,666 | 26,493 |
| raw_structures.txt | D | 22-Nov-2023 | 363.4 KiB | 17,798 | 11,114 |
| raw_structures_fixed.txt | D | 22-Nov-2023 | 361.5 KiB | 17,759 | 11,089 |
| structure_generator.py | D | 22-Nov-2023 | 47.5 KiB | 1,394 | 1,185 |
| structure_generator_test.py | D | 22-Nov-2023 | 8.2 KiB | 195 | 169 |
| structures.txt | D | 22-Nov-2023 | 36.5 KiB | 1,742 | 1,741 |
| test_structure_generator.html | D | 22-Nov-2023 | 2.7 KiB | 71 | 59 |
| tpm_table.py | D | 22-Nov-2023 | 31.7 KiB | 832 | 682 |
| union_selectors.py | D | 22-Nov-2023 | 5.5 KiB | 181 | 166 |
README
1********************
2TPM2 CODE GENERATION
3********************
4
5Code generation scripts for libtpm2 process TCG TPM2 library specification in
6HTML form and generate the appropriate type definitions and interface code.
7
8
9====================
10 TPM SPECIFICATION
11====================
12
13See http://www.trustedcomputinggroup.org. This version of libtpm2 is based on
14Family TPM 2.0 Level 00 Revision 01.16.
15
16Parts 2,3 and 4 of the specification were converted from PDF into HTML using
17Adobe Acrobat editor, and tarred and zipped into TPM2_Parts_2_3_4.tgz.
18
19Note that presently the scripts still do not process part4, and ignore all
20source code included in part 3.
21
22=========================================
23 REGENERATING TPM2 SOURCE CODE
24=========================================
25
26Run this command in the root tpm2 directory:
27
28$ generator/generator.py generator/TPM2_Parts_2_3_4.tgz
29
30The generator can also be invoked with separate html files as command line
31arguments:
32
33$ generator/generator.py <part2>.html <part3>.html
34