• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2015-2017, ARM Limited and Contributors. All rights reserved.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 #ifndef __TBBR_OID_H__
8 #define __TBBR_OID_H__
9 
10 /*
11  * The following is a list of OID values defined and reserved by ARM, which
12  * are used to define the extension fields of the certificate structure, as
13  * defined in the Trusted Board Boot Requirements (TBBR) specification,
14  * ARM DEN0006C-1.
15  */
16 
17 
18 /* TrustedFirmwareNVCounter - Non-volatile counter extension */
19 #define TRUSTED_FW_NVCOUNTER_OID		"1.3.6.1.4.1.4128.2100.1"
20 /* NonTrustedFirmwareNVCounter - Non-volatile counter extension */
21 #define NON_TRUSTED_FW_NVCOUNTER_OID		"1.3.6.1.4.1.4128.2100.2"
22 
23 
24 /*
25  * Non-Trusted Firmware Updater Certificate
26  */
27 
28 /* APFirmwareUpdaterConfigHash - BL2U */
29 #define AP_FWU_CFG_HASH_OID			"1.3.6.1.4.1.4128.2100.101"
30 /* SCPFirmwareUpdaterConfigHash - SCP_BL2U */
31 #define SCP_FWU_CFG_HASH_OID			"1.3.6.1.4.1.4128.2100.102"
32 /* FirmwareUpdaterHash - NS_BL2U */
33 #define FWU_HASH_OID				"1.3.6.1.4.1.4128.2100.103"
34 /* TrustedWatchdogRefreshTime */
35 #define TRUSTED_WATCHDOG_TIME_OID		"1.3.6.1.4.1.4128.2100.104"
36 
37 
38 /*
39  * Trusted Boot Firmware Certificate
40  */
41 
42 /* TrustedBootFirmwareHash - BL2 */
43 #define TRUSTED_BOOT_FW_HASH_OID		"1.3.6.1.4.1.4128.2100.201"
44 
45 
46 /*
47  * Trusted Key Certificate
48  */
49 
50 /* PrimaryDebugCertificatePK */
51 #define PRIMARY_DEBUG_PK_OID			"1.3.6.1.4.1.4128.2100.301"
52 /* TrustedWorldPK */
53 #define TRUSTED_WORLD_PK_OID			"1.3.6.1.4.1.4128.2100.302"
54 /* NonTrustedWorldPK */
55 #define NON_TRUSTED_WORLD_PK_OID		"1.3.6.1.4.1.4128.2100.303"
56 
57 
58 /*
59  * Trusted Debug Certificate
60  */
61 
62 /* DebugScenario */
63 #define TRUSTED_DEBUG_SCENARIO_OID		"1.3.6.1.4.1.4128.2100.401"
64 /* SoC Specific */
65 #define TRUSTED_DEBUG_SOC_SPEC_OID		"1.3.6.1.4.1.4128.2100.402"
66 /* SecondaryDebugCertPK */
67 #define SECONDARY_DEBUG_PK_OID			"1.3.6.1.4.1.4128.2100.403"
68 
69 
70 /*
71  * SoC Firmware Key Certificate
72  */
73 
74 /* SoCFirmwareContentCertPK */
75 #define SOC_FW_CONTENT_CERT_PK_OID		"1.3.6.1.4.1.4128.2100.501"
76 
77 
78 /*
79  * SoC Firmware Content Certificate
80  */
81 
82 /* APRomPatchHash - BL1_PATCH */
83 #define APROM_PATCH_HASH_OID			"1.3.6.1.4.1.4128.2100.601"
84 /* SoCConfigHash */
85 #define SOC_CONFIG_HASH_OID			"1.3.6.1.4.1.4128.2100.602"
86 /* SoCAPFirmwareHash - BL31 */
87 #define SOC_AP_FW_HASH_OID			"1.3.6.1.4.1.4128.2100.603"
88 
89 
90 /*
91  * SCP Firmware Key Certificate
92  */
93 
94 /* SCPFirmwareContentCertPK */
95 #define SCP_FW_CONTENT_CERT_PK_OID		"1.3.6.1.4.1.4128.2100.701"
96 
97 
98 /*
99  * SCP Firmware Content Certificate
100  */
101 
102 /* SCPFirmwareHash - SCP_BL2 */
103 #define SCP_FW_HASH_OID				"1.3.6.1.4.1.4128.2100.801"
104 /* SCPRomPatchHash - SCP_BL1_PATCH */
105 #define SCP_ROM_PATCH_HASH_OID			"1.3.6.1.4.1.4128.2100.802"
106 
107 
108 /*
109  * Trusted OS Firmware Key Certificate
110  */
111 
112 /* TrustedOSFirmwareContentCertPK */
113 #define TRUSTED_OS_FW_CONTENT_CERT_PK_OID	"1.3.6.1.4.1.4128.2100.901"
114 
115 
116 /*
117  * Trusted OS Firmware Content Certificate
118  */
119 
120 /* TrustedOSFirmwareHash - BL32 */
121 #define TRUSTED_OS_FW_HASH_OID			"1.3.6.1.4.1.4128.2100.1001"
122 /* TrustedOSExtra1FirmwareHash - BL32 Extra1 */
123 #define TRUSTED_OS_FW_EXTRA1_HASH_OID		"1.3.6.1.4.1.4128.2100.1002"
124 /* TrustedOSExtra2FirmwareHash - BL32 Extra2 */
125 #define TRUSTED_OS_FW_EXTRA2_HASH_OID		"1.3.6.1.4.1.4128.2100.1003"
126 
127 
128 /*
129  * Non-Trusted Firmware Key Certificate
130  */
131 
132 /* NonTrustedFirmwareContentCertPK */
133 #define NON_TRUSTED_FW_CONTENT_CERT_PK_OID	"1.3.6.1.4.1.4128.2100.1101"
134 
135 
136 /*
137  * Non-Trusted Firmware Content Certificate
138  */
139 
140 /* NonTrustedWorldBootloaderHash - BL33 */
141 #define NON_TRUSTED_WORLD_BOOTLOADER_HASH_OID	"1.3.6.1.4.1.4128.2100.1201"
142 
143 #endif /* __TBBR_OID_H__ */
144