summaryrefslogtreecommitdiff
path: root/include/keys
diff options
context:
space:
mode:
authorSumit Garg <sumit.garg@linaro.org>2019-10-16 08:14:54 +0300
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>2019-11-12 22:45:37 +0300
commit47f9c279689107f306fff506753971a39a8a7ffc (patch)
tree9153ded08efe3479007a2e306f9d91e8159f0dc5 /include/keys
parentc6f61e59760df04a245ef48c8805b4eb3d958230 (diff)
downloadlinux-47f9c279689107f306fff506753971a39a8a7ffc.tar.xz
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 'include/keys')
-rw-r--r--include/keys/trusted_tpm.h (renamed from include/keys/trusted.h)7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/keys/trusted.h b/include/keys/trusted_tpm.h
index 29e3e9ba8e1a..7b9d7b450a9e 100644
--- a/include/keys/trusted.h
+++ b/include/keys/trusted_tpm.h
@@ -1,6 +1,9 @@
/* SPDX-License-Identifier: GPL-2.0 */
-#ifndef __TRUSTED_KEY_H
-#define __TRUSTED_KEY_H
+#ifndef __TRUSTED_TPM_H
+#define __TRUSTED_TPM_H
+
+#include <keys/trusted-type.h>
+#include <linux/tpm_command.h>
/* implementation specific TPM constants */
#define MAX_BUF_SIZE 1024