aboutsummaryrefslogtreecommitdiff
path: root/include/tools_share
diff options
context:
space:
mode:
authorManish Pandey <manish.pandey2@arm.com>2020-06-10 15:50:36 +0100
committerManish Pandey <manish.pandey2@arm.com>2020-06-11 23:13:09 +0100
commita8818bbf75196d84b098170c2c0f98382308c50c (patch)
treea08af47c7d05c2c8290bf87bce38735fdd298ba7 /include/tools_share
parent10640d245911992274565d4f54234da7f0c654f6 (diff)
downloadtrusted-firmware-a-a8818bbf75196d84b098170c2c0f98382308c50c.tar.gz
cert_create: extend Secure partition support for tbbr CoT
with sha 0792dd7, support to generate certificate for Secure Partitions was added for dualroot CoT only, this patch extends this support for tbbr CoT. Signed-off-by: Manish Pandey <manish.pandey2@arm.com> Change-Id: I451c0333536dd1cbe17861d454bdb0dc7a17c63f
Diffstat (limited to 'include/tools_share')
-rw-r--r--include/tools_share/dualroot_oid.h12
-rw-r--r--include/tools_share/tbbr_oid.h12
2 files changed, 12 insertions, 12 deletions
diff --git a/include/tools_share/dualroot_oid.h b/include/tools_share/dualroot_oid.h
index da367da921..3e88a6d229 100644
--- a/include/tools_share/dualroot_oid.h
+++ b/include/tools_share/dualroot_oid.h
@@ -16,16 +16,4 @@
*/
#define PROT_PK_OID "1.3.6.1.4.1.4128.2100.1102"
-/*
- * Secure Partitions Content Certificate
- */
-#define SP_PKG1_HASH_OID "1.3.6.1.4.1.4128.2100.1301"
-#define SP_PKG2_HASH_OID "1.3.6.1.4.1.4128.2100.1302"
-#define SP_PKG3_HASH_OID "1.3.6.1.4.1.4128.2100.1303"
-#define SP_PKG4_HASH_OID "1.3.6.1.4.1.4128.2100.1304"
-#define SP_PKG5_HASH_OID "1.3.6.1.4.1.4128.2100.1305"
-#define SP_PKG6_HASH_OID "1.3.6.1.4.1.4128.2100.1306"
-#define SP_PKG7_HASH_OID "1.3.6.1.4.1.4128.2100.1307"
-#define SP_PKG8_HASH_OID "1.3.6.1.4.1.4128.2100.1308"
-
#endif /* DUALROOT_OID_H */
diff --git a/include/tools_share/tbbr_oid.h b/include/tools_share/tbbr_oid.h
index 6bccfdd1ed..24a8f39ca2 100644
--- a/include/tools_share/tbbr_oid.h
+++ b/include/tools_share/tbbr_oid.h
@@ -145,4 +145,16 @@
/* NonTrustedFirmwareConfigHash - NT_FW_CONFIG */
#define NON_TRUSTED_FW_CONFIG_HASH_OID "1.3.6.1.4.1.4128.2100.1202"
+/*
+ * Secure Partitions Content Certificate
+ */
+#define SP_PKG1_HASH_OID "1.3.6.1.4.1.4128.2100.1301"
+#define SP_PKG2_HASH_OID "1.3.6.1.4.1.4128.2100.1302"
+#define SP_PKG3_HASH_OID "1.3.6.1.4.1.4128.2100.1303"
+#define SP_PKG4_HASH_OID "1.3.6.1.4.1.4128.2100.1304"
+#define SP_PKG5_HASH_OID "1.3.6.1.4.1.4128.2100.1305"
+#define SP_PKG6_HASH_OID "1.3.6.1.4.1.4128.2100.1306"
+#define SP_PKG7_HASH_OID "1.3.6.1.4.1.4128.2100.1307"
+#define SP_PKG8_HASH_OID "1.3.6.1.4.1.4128.2100.1308"
+
#endif /* TBBR_OID_H */