commit | 5dc6916f1601d22eb542b734d20c9a208878bdd9 | [log] [tgz] |
---|---|---|
author | Philip Tricca <philip.b.tricca@intel.com> | Fri Apr 22 14:53:17 2016 -0700 |
committer | Philip Tricca <philip.b.tricca@intel.com> | Fri Apr 22 14:53:17 2016 -0700 |
tree | 73c6b4bf6b23548e15210a407451e5d43232fca1 | |
parent | aec584b9c88353cfe5a906b2d9d11bdc68e5984c [diff] |
tpmclient: Initialize a few variables explicitly. When compiling with -Wall -Werror these variables cause problems since they're initialized conditionally and so they may not be set by the time they're used (-Werror=maybe-uninitialized). 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.