selftests: add TPM 2.0 tests
authorJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Mon, 4 Feb 2019 13:16:40 +0000 (15:16 +0200)
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Fri, 8 Feb 2019 21:13:02 +0000 (23:13 +0200)
commit6ea3dfe1e0732c5bd3be1e073690b06a83c03c25
tree12eba15c9ac44d0a84f94e653891c3dfbe35c3c4
parent8ab547a2dcfac6ec184a5e036e1093eb3f7a215c
selftests: add TPM 2.0 tests

Added the tests that I've been using for testing TPM 2.0 functionality
for a long time but have been out-of-tree so far, residing in

https://github.com/jsakkine-intel/tpm2-scripts

Cc: Tadeusz Struk <tadeusz.struk@intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Acked-by: Joey Pabalinas <joeypabalinas@gmail.com>
Reviewed-by: Petr Vorel <petr.vorel@gmail.com>
tools/testing/selftests/Makefile
tools/testing/selftests/tpm2/Makefile [new file with mode: 0644]
tools/testing/selftests/tpm2/test_smoke.sh [new file with mode: 0755]
tools/testing/selftests/tpm2/test_space.sh [new file with mode: 0755]
tools/testing/selftests/tpm2/tpm2.py [new file with mode: 0644]
tools/testing/selftests/tpm2/tpm2_tests.py [new file with mode: 0644]