aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/tpm2/Makefile
diff options
context:
space:
mode:
authorJames Morris <james.morris@microsoft.com>2019-02-13 12:01:00 -0800
committerJames Morris <james.morris@microsoft.com>2019-02-13 12:01:00 -0800
commit5da10728037afea6743b76afddfdc9950cd711b3 (patch)
treeefc57d8e14bebb64e7401b37d29d4d1fe4220c2d /tools/testing/selftests/tpm2/Makefile
parentLSM: fix return value check in safesetid_init_securityfs() (diff)
parenttpm/ppi: Enable submission of optional command parameter for PPI 1.3 (diff)
downloadlinux-dev-5da10728037afea6743b76afddfdc9950cd711b3.tar.xz
linux-dev-5da10728037afea6743b76afddfdc9950cd711b3.zip
Merge tag 'tpmdd-next-20190213' of git://git.infradead.org/users/jjs/linux-tpmdd into next-tpm
tpmdd updates for Linux v5.1 From: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Clean up the transmission flow ============================== Cleaned up the whole transmission flow. Locking of the chip is now done in the level of tpm_try_get_ops() and tpm_put_ops() instead taking the chip lock inside tpm_transmit(). The nested calls inside tpm_transmit(), used with the resource manager, have been refactored out. Should make easier to perform more complex transactions with the TPM without making the subsystem a bigger mess (e.g. encrypted channel patches by James Bottomley). PPI 1.3 support =============== TPM PPI 1.3 introduces an additional optional command parameter that may be needed for some commands. Display the parameter if the command requires such a parameter. Only command 23 (SetPCRBanks) needs one. The PPI request file will show output like this then: # echo "23 16" > request # cat request 23 16 # echo "5" > request # cat request 5 Extend all PCR banks in IMA =========================== Instead of static PCR banks array, the array of available PCR banks is now allocated dynamically. The digests sizes are determined dynamically using a probe PCR read without relying crypto's static list of hash algorithms. This should finally make sealing of measurements in IMA safe and secure. TPM 2.0 selftests ================= Added a test suite to tools/testing/selftests/tpm2 previously outside of the kernel tree: https://github.com/jsakkine-intel/tpm2-scripts.
Diffstat (limited to 'tools/testing/selftests/tpm2/Makefile')
-rw-r--r--tools/testing/selftests/tpm2/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/testing/selftests/tpm2/Makefile b/tools/testing/selftests/tpm2/Makefile
new file mode 100644
index 000000000000..9dd848427a7b
--- /dev/null
+++ b/tools/testing/selftests/tpm2/Makefile
@@ -0,0 +1,4 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
+include ../lib.mk
+
+TEST_PROGS := test_smoke.sh test_space.sh