Home | History | Annotate | only in /external/tpm2/generator
Up to higher level directory
NameDateSize
command_generator.py21-Oct-201623.7K
commands.txt21-Oct-201673.8K
extract_commands.sh21-Oct-20163.2K
extract_structures.py21-Oct-20166.8K
extract_structures.sh21-Oct-201615.7K
generator.py21-Oct-20165.5K
raw_commands.txt21-Oct-2016655.2K
raw_commands_fixed.txt21-Oct-2016655.2K
raw_structures.txt21-Oct-2016363.4K
raw_structures_fixed.txt21-Oct-2016361.5K
README21-Oct-20161,021
structure_generator.py21-Oct-201647.5K
structure_generator_test.py21-Oct-20168.2K
structures.txt21-Oct-201636.5K
test_structure_generator.html21-Oct-20162.7K
TPM2_Parts_2_3_4.tgz21-Oct-2016988.8K
tpm_table.py21-Oct-201631.7K
union_selectors.py21-Oct-20165.5K

README

      1 ********************
      2 TPM2 CODE GENERATION
      3 ********************
      4 
      5 Code generation scripts for libtpm2 process TCG TPM2 library specification in
      6 HTML form and generate the appropriate type definitions and interface code.
      7 
      8 
      9 ====================
     10  TPM SPECIFICATION
     11 ====================
     12 
     13 See http://www.trustedcomputinggroup.org.  This version of libtpm2 is based on
     14 Family TPM 2.0 Level 00 Revision 01.16.
     15 
     16 Parts 2,3 and 4 of the specification were converted from PDF into HTML using
     17 Adobe Acrobat editor, and tarred and zipped into TPM2_Parts_2_3_4.tgz.
     18 
     19 Note that presently the scripts still do not process part4, and ignore all
     20 source code included in part 3.
     21 
     22 =========================================
     23       REGENERATING TPM2 SOURCE CODE
     24 =========================================
     25 
     26 Run this command in the root tpm2 directory:
     27 
     28 $ generator/generator.py generator/TPM2_Parts_2_3_4.tgz
     29 
     30 The generator can also be invoked with separate html files as command line
     31 arguments:
     32 
     33 $ generator/generator.py <part2>.html <part3>.html
     34