nRF Connect SDK API 2.8.0
Loading...
Searching...
No Matches
tfm_builtin_key_ids.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2023 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
7#ifndef __TFM_BUILTIN_KEY_IDS_H__
8#define __TFM_BUILTIN_KEY_IDS_H__
9
10#include <nrf.h>
11
12#if defined(NRF_CRACENCORE) || defined(CONFIG_CRACEN_HW_PRESENT)
13
14#include <cracen_psa_key_ids.h>
15#define TFM_BUILTIN_KEY_LOADER_KEY_LOCATION PSA_KEY_LOCATION_CRACEN
17 TFM_BUILTIN_KEY_ID_HUK = CRACEN_BUILTIN_MKEK_ID,
18 TFM_BUILTIN_KEY_ID_IAK = CRACEN_BUILTIN_IDENTITY_KEY_ID,
19};
20
21#else
27#define TFM_BUILTIN_KEY_LOADER_KEY_LOCATION ((psa_key_location_t)0x800001)
28
44#endif /* NRF_CRACEN_BASE */
45
46#endif /* __TFM_BUILTIN_KEY_IDS_H__ */
tfm_builtin_key_id_t
The persistent key identifiers for TF-M builtin keys.
Definition tfm_builtin_key_ids.h:36
@ TFM_BUILTIN_KEY_ID_PLAT_SPECIFIC_MIN
Definition tfm_builtin_key_ids.h:40
@ TFM_BUILTIN_KEY_ID_MIN
Definition tfm_builtin_key_ids.h:37
@ TFM_BUILTIN_KEY_ID_HUK
Definition tfm_builtin_key_ids.h:38
@ TFM_BUILTIN_KEY_ID_IAK
Definition tfm_builtin_key_ids.h:39
@ TFM_BUILTIN_KEY_ID_MAX
Definition tfm_builtin_key_ids.h:42