aboutsummaryrefslogtreecommitdiffstats
path: root/roms/u-boot/include/scp03.h
diff options
context:
space:
mode:
Diffstat (limited to 'roms/u-boot/include/scp03.h')
-rw-r--r--roms/u-boot/include/scp03.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/roms/u-boot/include/scp03.h b/roms/u-boot/include/scp03.h
new file mode 100644
index 000000000..729667ccd
--- /dev/null
+++ b/roms/u-boot/include/scp03.h
@@ -0,0 +1,21 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * (C) Copyright 2021, Foundries.IO
+ *
+ */
+
+#ifndef _SCP03_H
+#define _SCP03_H
+
+/*
+ * Requests to OPTEE to enable or provision the Secure Channel Protocol on its
+ * Secure Element
+ *
+ * If key provisioning is requested, OPTEE shall generate new SCP03 keys and
+ * write them to the Secure Element.
+ *
+ * Both functions return < 0 on error else 0.
+ */
+int tee_enable_scp03(void);
+int tee_provision_scp03(void);
+#endif /* _SCP03_H */