commit | b33221db29d10be281732dcf3db89a7cefcf79dc | [log] [tgz] |
---|---|---|
author | Philip Tricca <philip.b.tricca@intel.com> | Thu Mar 10 15:37:24 2016 -0800 |
committer | Philip Tricca <philip.b.tricca@intel.com> | Mon Mar 14 10:12:44 2016 -0700 |
tree | 2a9a56e6f4282b5c624bc78f3e0461adee5be16f | |
parent | 7f28fd176819c2d21848efef13db57994379ce91 [diff] |
debug: Consolidate debug printf functions into the debug code. The resourcemgr, tpmclient and tpmtest all seem to have copy/pasted the same debug printf function. Seems like this would be best done with a single function in the debug file. This makes the SAPI_CLIENT macro in the device TCTI unnecessary. 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.