commit | e72f257d9b4d7900995eea84e2b5396ed2784cc1 | [log] [tgz] |
---|---|---|
author | Philip Tricca <philip.b.tricca@intel.com> | Fri Dec 02 11:26:59 2016 -0800 |
committer | Philip Tricca <philip.b.tricca@intel.com> | Sun Dec 04 21:45:21 2016 -0800 |
tree | 6c01486897648590d6efa8ca33786cbabd722198 | |
parent | f93eeacb4cda3fd8ea300b20bec6a31af8cebf1f [diff] |
test: Add integration test "framework". This adds a test driver for integration tests in the main.c file. Additinoally we provide a mechanism for the test to get TCTI configuration data from the environment. Tests should include the 'test.h' file and implement the function whos prototype is defined there.
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.