]> asedeno.scripts.mit.edu Git - linux.git/commit
KEYS: trusted: Move TPM2 trusted keys code
authorSumit Garg <sumit.garg@linaro.org>
Wed, 16 Oct 2019 05:14:55 +0000 (10:44 +0530)
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Tue, 12 Nov 2019 19:45:37 +0000 (21:45 +0200)
commit2e19e10131a08dc65079c755fb6e8af936bfedbd
tree2d0b6302ac56d77fc57fab16a150a191fd2f61b2
parent47f9c279689107f306fff506753971a39a8a7ffc
KEYS: trusted: Move TPM2 trusted keys code

Move TPM2 trusted keys code to trusted keys subsystem. The reason
being it's better to consolidate all the trusted keys code to a single
location so that it can be maintained sanely.

Also, utilize existing tpm_send() exported API which wraps the internal
tpm_transmit_cmd() API.

Suggested-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Tested-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
drivers/char/tpm/tpm-interface.c
drivers/char/tpm/tpm.h
drivers/char/tpm/tpm2-cmd.c
include/keys/trusted_tpm.h
include/linux/tpm.h
security/keys/trusted-keys/Makefile
security/keys/trusted-keys/trusted_tpm1.c
security/keys/trusted-keys/trusted_tpm2.c [new file with mode: 0644]