commit | 81223f4a03e541a35dc60596bc503abf11890b9c | [log] [tgz] |
---|---|---|
author | Philip Tricca <philip.b.tricca@intel.com> | Thu Jul 28 19:50:08 2016 -0700 |
committer | Philip Tricca <flihp@twobit.us> | Sun Aug 14 09:52:26 2016 -0700 |
tree | 1a3c2e5d33705ddd28a94b8a19dbe18484ca29e6 | |
parent | 364c0cef9f9e0b32b8b8df8842d2cc1adbe86cb4 [diff] |
Add unit test for the CopyCommandHeader function. This function is basically a transform on the sys context structure. It populates 2 of the 3 fields in the output buffer that it can at this point. 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.