[RFC/RFT v2 0/2] KEYS: trusted: Add generic trusted keys framework

From: Sumit Garg
Date: Thu Jul 18 2019 - 07:25:48 EST


This patch-set is an outcome of discussion here [1].

I have tested this framework with trusted keys support provided via TEE
but I wasn't able to test it with a TPM device as I don't possess one. It
would be really helpful if others could test this patch-set using a TPM
device.

[1] https://www.mail-archive.com/linux-doc@xxxxxxxxxxxxxxx/msg30591.html

Changes in v2:

Split trusted keys abstraction patch for ease of review.

Sumit Garg (2):
KEYS: trusted: create trusted keys subsystem
KEYS: trusted: Add generic trusted keys framework

crypto/asymmetric_keys/asym_tpm.c | 2 +-
include/keys/trusted-type.h | 45 +++
include/keys/{trusted.h => trusted_tpm.h} | 19 +-
security/keys/Makefile | 2 +-
security/keys/trusted-keys/Makefile | 7 +
.../keys/{trusted.c => trusted-keys/trusted-tpm.c} | 347 ++++-----------------
security/keys/trusted-keys/trusted.c | 343 ++++++++++++++++++++
7 files changed, 458 insertions(+), 307 deletions(-)
rename include/keys/{trusted.h => trusted_tpm.h} (85%)
create mode 100644 security/keys/trusted-keys/Makefile
rename security/keys/{trusted.c => trusted-keys/trusted-tpm.c} (77%)
create mode 100644 security/keys/trusted-keys/trusted.c

--
2.7.4