Re: [RFC/RFT v4 4/5] KEYS: trusted: move tpm2 trusted keys code
From: Jarkko Sakkinen <hidden>
Date: 2019-08-19 17:07:59
Also in:
keyrings, linux-crypto, linux-integrity, lkml
From: Jarkko Sakkinen <hidden>
Date: 2019-08-19 17:07:59
Also in:
keyrings, linux-crypto, linux-integrity, lkml
On Tue, Aug 13, 2019 at 01:23:03PM +0530, Sumit Garg wrote:
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. Suggested-by: Jarkko Sakkinen <redacted> Signed-off-by: Sumit Garg <redacted> --- drivers/char/tpm/tpm-chip.c | 1 + drivers/char/tpm/tpm-interface.c | 56 ----- drivers/char/tpm/tpm.h | 16 -- drivers/char/tpm/tpm2-cmd.c | 308 +----------------------- include/keys/trusted_tpm.h | 7 + include/linux/tpm.h | 56 +++-- security/keys/trusted-keys/Makefile | 1 + security/keys/trusted-keys/trusted-tpm2.c | 378 ++++++++++++++++++++++++++++++
Would prefer trusted_tpm2.c. /Jarkko