commit | 4ee284bbd8c9a5d81e018e214ac0c8a30fe06983 | [log] [tgz] |
---|---|---|
author | Philip Tricca <philip.b.tricca@intel.com> | Wed Mar 30 17:40:39 2016 -0700 |
committer | Philip Tricca <philip.b.tricca@intel.com> | Fri Apr 08 14:43:57 2016 -0700 |
tree | 131b9742adc5bf63963648123f2fba4647981250 | |
parent | a06f237d86aca4b5dad6d4c59f091cb59830f2ad [diff] |
sockets: Factor sendBytes to remove use of global printfFunction pointer. This is a function used both in library and application code. Using global data in it is bad. We factor the code by wrapping calls to it in a library / application specific function. These functions are able to use debug functions that are specific to the application or the library. 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.