board_arm_oid.h 3.45 KB
Newer Older
1
2
3
/*
 * Copyright (c) 2015, ARM Limited and Contributors. All rights reserved.
 *
dp-arm's avatar
dp-arm committed
4
 * SPDX-License-Identifier: BSD-3-Clause
5
6
7
8
9
10
 */

#ifndef __BOARD_ARM_OID_H__
#define __BOARD_ARM_OID_H__

/*
Juan Castillo's avatar
Juan Castillo committed
11
12
13
14
 * The following is a list of OID values defined and reserved by ARM, which
 * are used to define the extension fields of the certificate structure, as
 * defined in the Trusted Board Boot Requirements (TBBR) specification,
 * ARM DEN0006C-1.
15
 *
Juan Castillo's avatar
Juan Castillo committed
16
17
18
 * Non-ARM platform owners that wish to align with the TBBR should define
 * constants with the same name in their own platform port(s), using their
 * own OIDs obtained from the ITU-T.
19
20
21
 */


Juan Castillo's avatar
Juan Castillo committed
22
/* TrustedFirmwareNVCounter - Non-volatile counter extension */
23
#define TRUSTED_FW_NVCOUNTER_OID		"1.3.6.1.4.1.4128.2100.1"
Juan Castillo's avatar
Juan Castillo committed
24
/* NonTrustedFirmwareNVCounter - Non-volatile counter extension */
25
#define NON_TRUSTED_FW_NVCOUNTER_OID		"1.3.6.1.4.1.4128.2100.2"
26
27


Juan Castillo's avatar
Juan Castillo committed
28
29
30
31
32
/*
 * Non-Trusted Firmware Updater Certificate
 */

/* APFirmwareUpdaterConfigHash - BL2U */
33
#define AP_FWU_CFG_HASH_OID			"1.3.6.1.4.1.4128.2100.101"
Juan Castillo's avatar
Juan Castillo committed
34
/* SCPFirmwareUpdaterConfigHash - SCP_BL2U */
35
#define SCP_FWU_CFG_HASH_OID			"1.3.6.1.4.1.4128.2100.102"
Juan Castillo's avatar
Juan Castillo committed
36
/* FirmwareUpdaterHash - NS_BL2U */
37
#define FWU_HASH_OID				"1.3.6.1.4.1.4128.2100.103"
Juan Castillo's avatar
Juan Castillo committed
38
39
40
41
42
43
44
45
46
/* TrustedWatchdogRefreshTime */
#define TRUSTED_WATCHDOG_TIME_OID		"1.3.6.1.4.1.4128.2100.104"


/*
 * Trusted Boot Firmware Certificate
 */

/* TrustedBootFirmwareHash - BL2 */
47
#define TRUSTED_BOOT_FW_HASH_OID		"1.3.6.1.4.1.4128.2100.201"
Juan Castillo's avatar
Juan Castillo committed
48
49
50
51
52
53
54
55
56


/*
 * Trusted Key Certificate
 */

/* PrimaryDebugCertificatePK */
#define PRIMARY_DEBUG_PK_OID			"1.3.6.1.4.1.4128.2100.301"
/* TrustedWorldPK */
57
#define TRUSTED_WORLD_PK_OID			"1.3.6.1.4.1.4128.2100.302"
Juan Castillo's avatar
Juan Castillo committed
58
/* NonTrustedWorldPK */
59
#define NON_TRUSTED_WORLD_PK_OID		"1.3.6.1.4.1.4128.2100.303"
Juan Castillo's avatar
Juan Castillo committed
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78


/*
 * Trusted Debug Certificate
 */

/* DebugScenario */
#define TRUSTED_DEBUG_SCENARIO_OID		"1.3.6.1.4.1.4128.2100.401"
/* SoC Specific */
#define TRUSTED_DEBUG_SOC_SPEC_OID		"1.3.6.1.4.1.4128.2100.402"
/* SecondaryDebugCertPK */
#define SECONDARY_DEBUG_PK_OID			"1.3.6.1.4.1.4128.2100.403"


/*
 * SoC Firmware Key Certificate
 */

/* SoCFirmwareContentCertPK */
79
#define SOC_FW_CONTENT_CERT_PK_OID		"1.3.6.1.4.1.4128.2100.501"
Juan Castillo's avatar
Juan Castillo committed
80
81
82
83
84


/*
 * SoC Firmware Content Certificate
 */
85

Juan Castillo's avatar
Juan Castillo committed
86
87
88
89
90
/* APRomPatchHash - BL1_PATCH */
#define APROM_PATCH_HASH_OID			"1.3.6.1.4.1.4128.2100.601"
/* SoCConfigHash */
#define SOC_CONFIG_HASH_OID			"1.3.6.1.4.1.4128.2100.602"
/* SoCAPFirmwareHash - BL31 */
91
#define SOC_AP_FW_HASH_OID			"1.3.6.1.4.1.4128.2100.603"
92
93


Juan Castillo's avatar
Juan Castillo committed
94
95
96
97
98
/*
 * SCP Firmware Key Certificate
 */

/* SCPFirmwareContentCertPK */
99
#define SCP_FW_CONTENT_CERT_PK_OID		"1.3.6.1.4.1.4128.2100.701"
Juan Castillo's avatar
Juan Castillo committed
100
101
102
103
104
105


/*
 * SCP Firmware Content Certificate
 */

106
/* SCPFirmwareHash - SCP_BL2 */
107
#define SCP_FW_HASH_OID				"1.3.6.1.4.1.4128.2100.801"
108
/* SCPRomPatchHash - SCP_BL1_PATCH */
Juan Castillo's avatar
Juan Castillo committed
109
110
111
112
113
114
115
116
#define SCP_ROM_PATCH_HASH_OID			"1.3.6.1.4.1.4128.2100.802"


/*
 * Trusted OS Firmware Key Certificate
 */

/* TrustedOSFirmwareContentCertPK */
117
#define TRUSTED_OS_FW_CONTENT_CERT_PK_OID	"1.3.6.1.4.1.4128.2100.901"
Juan Castillo's avatar
Juan Castillo committed
118
119
120
121
122
123
124


/*
 * Trusted OS Firmware Content Certificate
 */

/* TrustedOSFirmwareHash - BL32 */
125
#define TRUSTED_OS_FW_HASH_OID			"1.3.6.1.4.1.4128.2100.1001"
Juan Castillo's avatar
Juan Castillo committed
126
127
128
129
130
131
132


/*
 * Non-Trusted Firmware Key Certificate
 */

/* NonTrustedFirmwareContentCertPK */
133
#define NON_TRUSTED_FW_CONTENT_CERT_PK_OID	"1.3.6.1.4.1.4128.2100.1101"
Juan Castillo's avatar
Juan Castillo committed
134
135
136
137
138


/*
 * Non-Trusted Firmware Content Certificate
 */
139

Juan Castillo's avatar
Juan Castillo committed
140
/* NonTrustedWorldBootloaderHash - BL33 */
141
#define NON_TRUSTED_WORLD_BOOTLOADER_HASH_OID	"1.3.6.1.4.1.4128.2100.1201"
142
143

#endif /* __BOARD_ARM_OID_H__ */