commit | 6cbaafb64e410368c76fc0fcfcd9a122ef5861d6 | [log] [tgz] |
---|---|---|
author | wcarthur <will.c.arthur@intel.com> | Thu Mar 31 15:18:53 2016 -0400 |
committer | Philip Tricca <philip.b.tricca@intel.com> | Sat Apr 02 22:50:57 2016 -0700 |
tree | 6825c5eec5d780e9c3734894f16c5dd7d80e6a25 | |
parent | b375407f37a3a5f53d4c9908ff974af0efbdf30e [diff] |
Fixed ContextLoad of sessions: For the response from ContextLoad commands of sessions, the session handle wasn't being virtualized. This bug was found while debugging some GetCapabilities tests for virtualized capabilities (soon to be added code). Also cleaned up some pretty messy code in this area. Removed redundant calls, added clarifying comments, and combined blocks of code whereever possible.
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.