commit | 40e926ded61523c1a6c1011939c918a7b827f089 | [log] [tgz] |
---|---|---|
author | Philip Tricca <philip.b.tricca@intel.com> | Thu Sep 22 20:37:28 2016 -0700 |
committer | Philip Tricca <philip.b.tricca@intel.com> | Tue Sep 27 14:38:16 2016 -0700 |
tree | f31ada9ae49337e11308ff2bcd041065f0f46ba9 | |
parent | 717795e52fea0492638c1076ab7664ea0e019734 [diff] |
tcti_socket: Move simulator initialization code into the context init function. This is something that every application has to do to be sure that the simulator has been initialized. Running these commands multiple time has no negative effect (AFAIK). Might as well just run this each time we initialize a connection to the simulator. Save everyone else the headache. 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.