commit | 5a20994667ee3bb79fc2937fda0238dc17ae0965 | [log] [tgz] |
---|---|---|
author | Philip Tricca <philip.b.tricca@intel.com> | Fri Mar 11 22:15:32 2016 -0800 |
committer | Philip Tricca <philip.b.tricca@intel.com> | Mon Mar 14 10:13:56 2016 -0700 |
tree | 646015b3284b089ea9bbfe936ba518afb2b4aa28 | |
parent | 2b7d89b2feed9b0026db206013659f9777039cff [diff] |
debug: Turn printf_types enumeration into a type ... and then use it. The first parameter to the debug printf function, and the flag values that control its output are much easier to understand when we're not dealing with 0/1 values. Using the enumeration types makes things a bit more readable and safer (can't set the flag variable to an invalid value). 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.