Line data Source code
1 1 : /** @file
2 : * @brief Keys APIs.
3 : */
4 :
5 : /*
6 : * Copyright (c) 2023 Nordic Semiconductor ASA
7 : *
8 : * SPDX-License-Identifier: Apache-2.0
9 : */
10 :
11 : #ifndef ZEPHYR_INCLUDE_BLUETOOTH_MESH_KEYS_H_
12 : #define ZEPHYR_INCLUDE_BLUETOOTH_MESH_KEYS_H_
13 :
14 : #include <stdint.h>
15 : #include <psa/crypto.h>
16 :
17 : #ifdef __cplusplus
18 : extern "C" {
19 : #endif
20 :
21 : /** The structure that keeps representation of key. */
22 1 : struct bt_mesh_key {
23 : /** PSA key representation is the PSA key identifier. */
24 1 : psa_key_id_t key;
25 : };
26 :
27 : #ifdef __cplusplus
28 : }
29 : #endif
30 :
31 : #endif /* ZEPHYR_INCLUDE_BLUETOOTH_MESH_KEYS_H_ */
|