summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSumit Garg <sumit.garg@linaro.org>2021-03-01 18:41:25 +0530
committerJarkko Sakkinen <jarkko@kernel.org>2021-04-14 16:30:30 +0300
commit0a95ebc91305a5f2400e9080911e8d240b6b05ca (patch)
treed5d2ffff0a20f9e985e924eaa0c25f0876fbb623 /include
parent5d0682be318910e028bdf57c90a1695ffc34be37 (diff)
KEYS: trusted: Introduce TEE based Trusted Keys
Add support for TEE based trusted keys where TEE provides the functionality to seal and unseal trusted keys using hardware unique key. Refer to Documentation/staging/tee.rst for detailed information about TEE. Signed-off-by: Sumit Garg <sumit.garg@linaro.org> Tested-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org> Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/keys/trusted_tee.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/keys/trusted_tee.h b/include/keys/trusted_tee.h
new file mode 100644
index 000000000000..151be25a979e
--- /dev/null
+++ b/include/keys/trusted_tee.h
@@ -0,0 +1,16 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * Copyright (C) 2019-2021 Linaro Ltd.
+ *
+ * Author:
+ * Sumit Garg <sumit.garg@linaro.org>
+ */
+
+#ifndef __TEE_TRUSTED_KEY_H
+#define __TEE_TRUSTED_KEY_H
+
+#include <keys/trusted-type.h>
+
+extern struct trusted_key_ops trusted_key_tee_ops;
+
+#endif