commit | 0180ae20ce6d4ea9e200adef1c83b489e9b2f92a | [log] [tgz] |
---|---|---|
author | wcarthur <will.c.arthur@intel.com> | Fri Mar 25 11:52:06 2016 -0400 |
committer | Philip Tricca <philip.b.tricca@intel.com> | Fri Apr 08 08:48:59 2016 -0700 |
tree | 36fd6dd51da1ca881753de5e9703d6f614ad3683 | |
parent | 210b770c1dff47b11be623e1d1e7ffb02298fca5 [diff] |
Added code to clean up when connection between application and resource manager dies. This required adding a couple critical sections to the RM and platformcommand.c. The current test case for this is in TestEvict() when we tear down the other TCTI context, line #2526 of tpmclient.cpp. Addition of the critical sections should also fix the case where multiple connections are trying to access the TPM at the same time. We don't yet have a test case for that, which is issue #133.
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.