cca_cot.h 1.4 KB

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