nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
hw_unique_key_internal.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2021 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
7#ifndef NRF_LIB_HW_UNIQUE_KEY_INTERNAL_H__
8#define NRF_LIB_HW_UNIQUE_KEY_INTERNAL_H__
9
10#include <hw_unique_key.h>
11
12/* Define print and panic macros. This library can be compiled for different OSes. */
13#ifdef __ZEPHYR__
14#include <zephyr/kernel.h>
15#elif defined(__NRF_TFM__)
16#include "utilities.h"
17#endif
18
19/* The available slots as an array that can be iterated over. */
20static const enum hw_unique_key_slot huk_slots[] = {
21#ifndef HUK_HAS_KMU
23#else
24 HUK_KEYSLOT_MKEK,
25 HUK_KEYSLOT_MEXT,
26#endif
27};
28
29#endif /* NRF_LIB_HW_UNIQUE_KEY_INTERNAL_H__ */
hw_unique_key_slot
Definition: hw_unique_key.h:78
@ HUK_KEYSLOT_KDR
Definition: hw_unique_key.h:80
static enum hw_unique_key_slot huk_slots[]
Definition: hw_unique_key_internal.h:20