Re: [RFC/RFT v4 4/5] KEYS: trusted: move tpm2 trusted keys code
From: Sumit Garg <hidden>
Date: 2019-08-20 05:54:51
Also in:
keyrings, linux-crypto, linux-integrity, lkml
From: Sumit Garg <hidden>
Date: 2019-08-20 05:54:51
Also in:
keyrings, linux-crypto, linux-integrity, lkml
On Mon, 19 Aug 2019 at 22:37, Jarkko Sakkinen [off-list ref] wrote:
On Tue, Aug 13, 2019 at 01:23:03PM +0530, Sumit Garg wrote:quoted
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.
Okay. -Sumit
/Jarkko