Fixed Tss2_Sys_Finalize API so that it returns an error code.

Added code to Tss2_Sys_Finalize to check for null
sysContext pointer.

Changed return code from CheckOverflow from TSS2_BASE_RC_INSUFFICIENT_BUFFER
to TSS2_SYS_RC_INSUFFICIENT_BUFFER.

Added tests for Tss2_Sys_GetContextSize and Tss2_Sys_Finalize functions.
4 files changed
tree: b4142bb8a384677ec79bb08fecb00c3fa71b9d3e
  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.