commit | 68876a096556666e6c9c2b2b3f8b3a96853d27e6 | [log] [tgz] |
---|---|---|
author | Philip Tricca <philip.b.tricca@intel.com> | Thu Dec 15 16:40:26 2016 -0800 |
committer | Philip Tricca <philip.b.tricca@intel.com> | Fri Dec 16 19:56:19 2016 -0800 |
tree | af540755dfd5983d0b5686cc15c86341c6039292 | |
parent | f9a2e674d555887dc1b97da33dcff9264ea6aa34 [diff] |
Tss2_Sys_Execute: Replace absurdly large timeout with TSS2_TCTI_TIMEOUT_BLOCK. The spec states that a call to Tss2_Sys_Execute should be equivalent to a call to Tss2_Sys_ExecuteAsync followed by a call to Tss2_Sys_Finish with a timeout of -1 aka TSS2_TCTI_TIMEOUT_BLOCK. See section 8.7.3.3 in spec titled "TSS System Level API and TPM Command Transmission Interface Specification" version "Family 2.0, Level 00, Revision 01.00" Signed-off-by: Philip Tricca <philip.b.tricca@intel.com>
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 exercising the SAPI.
The test application, tpmclient, tests many of the commands against the TPM 2.0 simulator. The tpmclient application can be altered and used as a sandbox to test and develop any TPM 2.0 command sequences, and provides an excellent development and learning vehicle.
TPM 2.0 specifications can be found at Trusted Computing Group.