xref: /rk3399_ARM-atf/include/tools_share/cca_oid.h (revision 9be048a96d4eab9f1c60497e289b3c6fbf8067e0)
156b741d3Slaurenw-arm /*
2*79841546STamas Ban  * Copyright (c) 2022-2024, Arm Limited. All rights reserved.
356b741d3Slaurenw-arm  *
456b741d3Slaurenw-arm  * SPDX-License-Identifier: BSD-3-Clause
556b741d3Slaurenw-arm  */
656b741d3Slaurenw-arm 
756b741d3Slaurenw-arm #ifndef CCA_OID_H
856b741d3Slaurenw-arm #define CCA_OID_H
956b741d3Slaurenw-arm 
1056b741d3Slaurenw-arm /* Reuse the Object IDs defined by TBBR for certificate extensions. */
1156b741d3Slaurenw-arm #include "tbbr_oid.h"
1256b741d3Slaurenw-arm 
1356b741d3Slaurenw-arm /*
1456b741d3Slaurenw-arm  * Assign arbitrary Object ID values that do not conflict with any of the
1556b741d3Slaurenw-arm  * TBBR reserved OIDs.
1656b741d3Slaurenw-arm  */
1756b741d3Slaurenw-arm /* Platform root-of-trust public key */
1856b741d3Slaurenw-arm #define PROT_PK_OID				"1.3.6.1.4.1.4128.2100.1102"
1956b741d3Slaurenw-arm /* Secure World root-of-trust public key */
2056b741d3Slaurenw-arm #define SWD_ROT_PK_OID				"1.3.6.1.4.1.4128.2100.1103"
2156b741d3Slaurenw-arm /* Core Secure World public key */
2256b741d3Slaurenw-arm #define CORE_SWD_PK_OID				"1.3.6.1.4.1.4128.2100.1104"
2356b741d3Slaurenw-arm /* Platform public key */
2456b741d3Slaurenw-arm #define PLAT_PK_OID				"1.3.6.1.4.1.4128.2100.1105"
2556b741d3Slaurenw-arm /* Realm Monitor Manager (RMM) Hash */
2656b741d3Slaurenw-arm #define RMM_HASH_OID				"1.3.6.1.4.1.4128.2100.1106"
2756b741d3Slaurenw-arm 
2860753a63Slaurenw-arm /* CCAFirmwareNVCounter - Non-volatile counter extension */
2960753a63Slaurenw-arm #define CCA_FW_NVCOUNTER_OID			"1.3.6.1.4.1.4128.2100.3"
3060753a63Slaurenw-arm 
310cffcdd6SManish V Badarkhe /*
320cffcdd6SManish V Badarkhe  * First undef previous definitions from tbbr_oid.h.
33*79841546STamas Ban  * CCA ROTPK authenticates BL31, SCP_BL2 and its configuration image in
340cffcdd6SManish V Badarkhe  * CCA CoT.
350cffcdd6SManish V Badarkhe  **/
360cffcdd6SManish V Badarkhe #undef BL31_IMAGE_KEY_OID
370cffcdd6SManish V Badarkhe #undef SOC_FW_CONFIG_KEY_OID
380cffcdd6SManish V Badarkhe #undef HW_CONFIG_KEY_OID
39*79841546STamas Ban #undef SCP_BL2_IMAGE_KEY_OID
400cffcdd6SManish V Badarkhe #define BL31_IMAGE_KEY_OID			ZERO_OID
410cffcdd6SManish V Badarkhe #define SOC_FW_CONFIG_KEY_OID			ZERO_OID
420cffcdd6SManish V Badarkhe #define HW_CONFIG_KEY_OID			ZERO_OID
43*79841546STamas Ban #define SCP_BL2_IMAGE_KEY_OID			ZERO_OID
440cffcdd6SManish V Badarkhe #define RMM_IMAGE_KEY_OID			ZERO_OID
450cffcdd6SManish V Badarkhe 
4656b741d3Slaurenw-arm #endif /* CCA_OID_H */
47