commit | 56bd58afa792b37cf32e749f0109e9115e87ecc4 | [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> | Wed May 03 08:52:35 2017 -0700 |
tree | 19c78b892efb44369e7e27872f7fef8c70f394ce | |
parent | 05c064f12078dde94744f026f52e85598c6e4666 [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.