commit | 2efe29185172c7f5aae583fa3e150538dcc7a74b | [log] [tgz] |
---|---|---|
author | wcarthur <will.c.arthur@intel.com> | Mon Nov 16 11:19:42 2015 -0500 |
committer | wcarthur <will.c.arthur@intel.com> | Mon Nov 16 11:19:42 2015 -0500 |
tree | f152aa48cb964e12eeb5f8cb4997cbe30d87a585 | |
parent | ea1d3450f0fa7b790d728ab6372808974a5400c7 [diff] |
Fixed RM error codes. Added -D DEBUG to Windows builds so that we see debug info. Fixed bug in SetEncryptParam: it was returning an error when encryptParamSize was not exactly equal to the size returned by GetEncryptParam. Should only return error when encryptParamSize is less than what's returned by GetEncryptParam. Added special handling for case of TSS2_TCTI_RC_INSUFFICIENT_BUFFER. Added error handling for GetCommandCode for: BAD_REFERENCE and BAD_SEQUENCE. Added error handling for GetRpBuffer for: BAD_REFERENCE and BAD_SEQUENCE. Added error handling BAD_REFERENCE to all Part 3 one-call functions that take non-TPM2B inputs as pointers. This change affects most of the Part 3 one-call functions.
This site contains the code for the TPM (Trusted Platform Module) 2.0 Software Stack (TSS).
This stack consists of the following layers from top to bottom:
Since the FAPI and ESAPI haven't been implemented yet, this repository only contains the SAPI and layers below it, plus a test application for excercising the SAPI.
For more details on this code and how to install and use it, the Readme.pdf file is a good place to start.
Instructions for building and installing the TPM2.0-TSS are provided in the INSTALL file.
TPM 2.0 specifications can be found at Trusted Computing Group.