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.
125 files changed
tree: f152aa48cb964e12eeb5f8cb4997cbe30d87a585
  1. common/
  2. resourcemgr/
  3. sysapi/
  4. tcti/
  5. test/
  6. .gitattributes
  7. .gitignore
  8. bootstrap
  9. ChangeLog
  10. configure.ac
  11. INSTALL
  12. Makefile.am
  13. README.md
  14. Readme.pdf
  15. tss.sln
  16. tss.vcxproj
README.md

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.

Build and Installation instructions:

Instructions for building and installing the TPM2.0-TSS are provided in the INSTALL file.

Resources

TPM 2.0 specifications can be found at Trusted Computing Group.