Re: [RFC/RFT v4 3/5] KEYS: trusted: create trusted keys subsystem

From: Jarkko Sakkinen
Date: Mon Aug 19 2019 - 13:05:09 EST


On Tue, Aug 13, 2019 at 01:23:02PM +0530, Sumit Garg wrote:
> Move existing code to trusted keys subsystem. Also, rename files with
> "tpm" as suffix which provides the underlying implementation.
>
> Suggested-by: Jarkko Sakkinen <jarkko.sakkinen@xxxxxxxxxxxxxxx>
> Signed-off-by: Sumit Garg <sumit.garg@xxxxxxxxxx>
> ---
> crypto/asymmetric_keys/asym_tpm.c | 2 +-
> include/keys/{trusted.h => trusted_tpm.h} | 4 ++--
> security/keys/Makefile | 2 +-
> security/keys/trusted-keys/Makefile | 7 +++++++
> security/keys/{trusted.c => trusted-keys/trusted-tpm.c} | 2 +-
> 5 files changed, 12 insertions(+), 5 deletions(-)
> rename include/keys/{trusted.h => trusted_tpm.h} (98%)
> create mode 100644 security/keys/trusted-keys/Makefile
> rename security/keys/{trusted.c => trusted-keys/trusted-tpm.c} (99%)

Would prefer trusted_tpm.c.

/Jarkko