commit | c1364fffa471fd66161e15f6669b498a654f6328 | [log] [tgz] |
---|---|---|
author | Philip Tricca <philip.b.tricca@intel.com> | Wed Mar 30 15:47:41 2016 -0700 |
committer | Philip Tricca <philip.b.tricca@intel.com> | Fri Apr 08 13:22:25 2016 -0700 |
tree | c9c8c8d2d177ab390e09ed305a6156a2d0c4eb50 | |
parent | 0180ae20ce6d4ea9e200adef1c83b489e9b2f92a [diff] |
sockets: Remove global data from InitSockets. This function is used by both the socket TCTI and the resource manager to initialize socket stuff. The use of the printfFunction pointer here creates some tight coupling between resource manager and the tcti_socket code. To keep the debug output from this function unchanged we add two new parameters, the first is a function pointer to a debug function and the second is a pointer to some user data. This is the same function signature as is used by the TCTI for the user debug callback function. 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.