qseecom: Add support for key management scheme
Add IOCTLs and APIs for creating and wiping CE HW pipe Keys.
CE HW PIPE keys are not accessible by HLOS (xpu protected
by secure domain). So, HLOS needs to request TZ to set/clear
these PIPE key registers.
This patch adds support for issuing commands to TZ to generate
and wipe keys.
Change-Id: I43777bf20be4f82e37ca39b81b9a9e862e47cea7
Signed-off-by: Mona Hossain <mhossain@codeaurora.org>
diff --git a/arch/arm/mach-msm/include/mach/scm.h b/arch/arm/mach-msm/include/mach/scm.h
index 0cc7bbf..4258dbd 100644
--- a/arch/arm/mach-msm/include/mach/scm.h
+++ b/arch/arm/mach-msm/include/mach/scm.h
@@ -22,6 +22,7 @@
#define SCM_SVC_FUSE 0x8
#define SCM_SVC_PWR 0x9
#define SCM_SVC_MP 0xC
+#define SCM_SVC_CRYPTO 0xA
#define SCM_SVC_DCVS 0xD
#define SCM_SVC_TZSCHEDULER 0xFC