• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

READMED22-Nov-20231,021 3422

TPM2_Parts_2_3_4.tgzD22-Nov-2023988.8 KiB

command_generator.pyD22-Nov-202323.7 KiB677616

commands.txtD22-Nov-202373.8 KiB2,9222,921

extract_commands.shD22-Nov-20233.2 KiB8757

extract_structures.pyD22-Nov-20236.8 KiB190150

extract_structures.shD22-Nov-202315.7 KiB431304

generator.pyD22-Nov-20235.5 KiB175129

raw_commands.txtD22-Nov-2023655.2 KiB35,65626,488

raw_commands_fixed.txtD22-Nov-2023655.2 KiB35,66626,493

raw_structures.txtD22-Nov-2023363.4 KiB17,79811,114

raw_structures_fixed.txtD22-Nov-2023361.5 KiB17,75911,089

structure_generator.pyD22-Nov-202347.5 KiB1,3941,185

structure_generator_test.pyD22-Nov-20238.2 KiB195169

structures.txtD22-Nov-202336.5 KiB1,7421,741

test_structure_generator.htmlD22-Nov-20232.7 KiB7159

tpm_table.pyD22-Nov-202331.7 KiB832682

union_selectors.pyD22-Nov-20235.5 KiB181166

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