1 /* 2 * Copyright (c) 2022-2023, Arm Limited. All rights reserved. 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 * 6 */ 7 8 #ifndef __TFM_BUILTIN_KEY_IDS_H__ 9 #define __TFM_BUILTIN_KEY_IDS_H__ 10 11 /** 12 * \brief The persistent key identifiers for TF-M builtin keys. 13 * 14 * \note The value of TFM_BUILTIN_KEY_ID_MIN (and therefore of the whole range) is 15 * completely arbitrary except for being inside the PSA builtin keys range. 16 * The range is specified by the limits defined through MBEDTLS_PSA_KEY_ID_BUILTIN_MIN 17 * and MBEDTLS_PSA_KEY_ID_BUILTIN_MAX 18 */ 19 enum tfm_builtin_key_id_t { 20 TFM_BUILTIN_KEY_ID_MIN = 0x7FFF815Bu, 21 TFM_BUILTIN_KEY_ID_HUK, 22 TFM_BUILTIN_KEY_ID_IAK, 23 #ifdef TFM_PARTITION_DELEGATED_ATTESTATION 24 TFM_BUILTIN_KEY_ID_DAK_SEED, 25 #endif /* TFM_PARTITION_DELEGATED_ATTESTATION */ 26 TFM_BUILTIN_KEY_ID_PLAT_SPECIFIC_MIN = 0x7FFF816Bu, 27 TFM_BUILTIN_KEY_ID_MAX = 0x7FFF817Bu, 28 }; 29 30 #endif /* __TFM_BUILTIN_KEY_IDS_H__ */ 31