commit | 0651af2c786ea43f82e466cfa0006f2ad9810df5 | [log] [tgz] |
---|---|---|
author | wcarthur <will.c.arthur@intel.com> | Wed Nov 25 15:01:22 2015 -0500 |
committer | wcarthur <will.c.arthur@intel.com> | Wed Nov 25 15:01:22 2015 -0500 |
tree | 4fe78e73e4ae0ea0ec9276614d34921e46d56eea | |
parent | a88a414d9aa047017777a6e5fc190c9b48c70fa2 [diff] |
Added tests for TCTI cancel and setLocality functions. Fixed bugs with code in tpmsockets.c that handles errors related to the response_size being too small and reads the whole response into the too small buffer. Fixed bugs in PlatformCommand: when send or recv errors occur it was shutting the socket down.
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.