commit | 81acbf294f5c855b8f8c08fa89034ac18a24420d | [log] [tgz] |
---|---|---|
author | wcarthur <will.c.arthur@intel.com> | Thu Apr 14 08:20:19 2016 -0400 |
committer | Philip Tricca <philip.b.tricca@intel.com> | Mon Apr 18 11:35:57 2016 -0700 |
tree | a39c460ecdbbf453a45e6a73c5d824b7482b3667 | |
parent | b6617089e52d561f174678689d29ace94ba5308e [diff] |
Fixed bugs in handling of critical sections in RM. Found these issues by code inspection and when debugging other unrelated changes on Windows with a debug build, an uninitialized variable error was found for the criticalSectionEntered variable in the OtherCmdServer. I tried to duplicate this error by creating a test case, but was unsuccessful. As I examined the code I found some issues that needed to be fixed.
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.