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 <jarkko.sakkinen@xxxxxxxxxxxxxxx> > Signed-off-by: Sumit Garg <sumit.garg@xxxxxxxxxx> > --- > 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