• Home
  • History
  • Annotate
  • only in /external/tpm2/generator/
NameDateSize

..21-Dec-201720 KiB

command_generator.py21-Dec-201723.7 KiB

commands.txt21-Dec-201773.8 KiB

extract_commands.sh21-Dec-20173.2 KiB

extract_structures.py21-Dec-20176.8 KiB

extract_structures.sh21-Dec-201715.7 KiB

generator.py21-Dec-20175.5 KiB

raw_commands.txt21-Dec-2017655.2 KiB

raw_commands_fixed.txt21-Dec-2017655.2 KiB

raw_structures.txt21-Dec-2017363.4 KiB

raw_structures_fixed.txt21-Dec-2017361.5 KiB

README21-Dec-20171,021

structure_generator.py21-Dec-201747.5 KiB

structure_generator_test.py21-Dec-20178.2 KiB

structures.txt21-Dec-201736.5 KiB

test_structure_generator.html21-Dec-20172.7 KiB

TPM2_Parts_2_3_4.tgz21-Dec-2017988.8 KiB

tpm_table.py21-Dec-201731.7 KiB

union_selectors.py21-Dec-20175.5 KiB

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