blob: 152cb71b64e0e2db3a6baf720ef73753bd62ee07 [file] [log] [blame]
laurenw-arm1c7c5762022-04-21 16:21:53 -05001/*
laurenw-arm9b4f9d52023-05-02 14:28:38 -05002 * Copyright (c) 2022-2023, Arm Limited. All rights reserved.
laurenw-arm1c7c5762022-04-21 16:21:53 -05003 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef CCA_COT_H
8#define CCA_COT_H
9
10/* Certificates. */
11enum {
12 /* Certificates owned by the silicon provider. */
13 CCA_CONTENT_CERT,
14 CORE_SWD_KEY_CERT,
15 SPMC_CONTENT_CERT,
16 SIP_SECURE_PARTITION_CONTENT_CERT,
17
18 /* Certificates owned by the platform owner. */
19 PLAT_KEY_CERT,
20 PLAT_SECURE_PARTITION_CONTENT_CERT,
21 NON_TRUSTED_FW_CONTENT_CERT,
22};
23
24/* Certificate extensions. */
25enum {
26 /* Extensions used in certificates owned by the silicon provider. */
laurenw-arm9b4f9d52023-05-02 14:28:38 -050027 CCA_FW_NVCOUNTER_EXT,
laurenw-arm1c7c5762022-04-21 16:21:53 -050028 TRUSTED_FW_NVCOUNTER_EXT,
29 TRUSTED_BOOT_FW_HASH_EXT,
30 TRUSTED_BOOT_FW_CONFIG_HASH_EXT,
31 HW_CONFIG_HASH_EXT,
32 FW_CONFIG_HASH_EXT,
33 SWD_ROT_PK_EXT,
34 CORE_SWD_PK_EXT,
35 SOC_AP_FW_HASH_EXT,
36 SOC_FW_CONFIG_HASH_EXT,
37 RMM_HASH_EXT,
38 TRUSTED_OS_FW_HASH_EXT,
39 TRUSTED_OS_FW_CONFIG_HASH_EXT,
40 SP_PKG1_HASH_EXT,
41 SP_PKG2_HASH_EXT,
42 SP_PKG3_HASH_EXT,
43 SP_PKG4_HASH_EXT,
44
45 /* Extensions used in certificates owned by the platform owner. */
46 PROT_PK_EXT,
47 PLAT_PK_EXT,
48 SP_PKG5_HASH_EXT,
49 SP_PKG6_HASH_EXT,
50 SP_PKG7_HASH_EXT,
51 SP_PKG8_HASH_EXT,
52 NON_TRUSTED_FW_NVCOUNTER_EXT,
53 NON_TRUSTED_WORLD_BOOTLOADER_HASH_EXT,
54 NON_TRUSTED_FW_CONFIG_HASH_EXT,
55};
56
57/* Keys. */
58enum {
59 /* Keys owned by the silicon provider. */
60 ROT_KEY,
61 SWD_ROT_KEY,
62 CORE_SWD_KEY,
63
64 /* Keys owned by the platform owner. */
65 PROT_KEY,
66 PLAT_KEY,
67};
68
69#endif /* CCA_COT_H */