aboutsummaryrefslogtreecommitdiffstats
path: root/security/keys/trusted-keys/trusted_tpm1.c
diff options
context:
space:
mode:
authorSumit Garg <sumit.garg@linaro.org>2019-10-16 10:44:54 +0530
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>2019-11-12 21:45:37 +0200
commit47f9c279689107f306fff506753971a39a8a7ffc (patch)
tree9153ded08efe3479007a2e306f9d91e8159f0dc5 /security/keys/trusted-keys/trusted_tpm1.c
parentKEYS: Use common tpm_buf for trusted and asymmetric keys (diff)
downloadlinux-dev-47f9c279689107f306fff506753971a39a8a7ffc.tar.xz
linux-dev-47f9c279689107f306fff506753971a39a8a7ffc.zip
KEYS: trusted: Create trusted keys subsystem
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@linux.intel.com> Signed-off-by: Sumit Garg <sumit.garg@linaro.org> Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Tested-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Diffstat (limited to '')
-rw-r--r--security/keys/trusted-keys/trusted_tpm1.c (renamed from security/keys/trusted.c)2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/keys/trusted.c b/security/keys/trusted-keys/trusted_tpm1.c
index 707101170aec..e3155fd08f5b 100644
--- a/security/keys/trusted.c
+++ b/security/keys/trusted-keys/trusted_tpm1.c
@@ -27,7 +27,7 @@
#include <linux/tpm.h>
#include <linux/tpm_command.h>
-#include <keys/trusted.h>
+#include <keys/trusted_tpm.h>
static const char hmac_alg[] = "hmac(sha1)";
static const char hash_alg[] = "sha1";