commit | 12eb050f13bcb9c796fc88535ec83956e789a9bc | [log] [tgz] |
---|---|---|
author | wcarthur <will.c.arthur@intel.com> | Fri Nov 06 12:01:24 2015 -0500 |
committer | wcarthur <will.c.arthur@intel.com> | Fri Nov 06 12:01:24 2015 -0500 |
tree | 342a3e223006cc95d3ab8d7d4f1b4734d0d3b817 | |
parent | d1fe287b1d5fe66b553598815270ca452f0f3cee [diff] |
Fixed bug in RM: when it gets a zero sized response from the TPM, it was returning a misleading error code. Added test for the case above. In Tss2_Sys_GetRspAuths, we weren't doing bounds checking for hmac field. Added that. Fixed bug: for Tss2_Sys_SetCmdAuths function, we weren't checking for NULL pointers in cmdAuths array. Created an offset for level- and implementation-specific error codes per agreed on changes to SAPI spec. Added tests for Tss2_Sys_SetCmdAuths Fixed error codes from Tss2_Sys_GetRspAuths: was returning invalid sessions, when it should return INSUFFICIENT_BUFFER. Add power down command at beginning of tpmtest(). This will restart the TPM in case previous test exited without cleaning up.
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.