Zephyr API Documentation
3.6.0
A Scalable Open Source RTOS
3.6.0
Toggle main menu visibility
Main Page
Related Pages
Modules
Data Structures
Data Structures
Data Structure Index
Data Fields
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Enumerator
Files
File List
Globals
All
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
$
a
b
c
d
f
g
h
i
k
l
m
n
o
p
r
s
t
x
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Macros
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Loading...
Searching...
No Matches
keys.h
Go to the documentation of this file.
1
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
#if defined CONFIG_BT_MESH_USES_MBEDTLS_PSA || defined CONFIG_BT_MESH_USES_TFM_PSA
16
#include <psa/crypto.h>
17
#endif
18
19
#ifdef __cplusplus
20
extern
"C"
{
21
#endif
22
23
#if defined CONFIG_BT_MESH_USES_MBEDTLS_PSA || defined CONFIG_BT_MESH_USES_TFM_PSA
24
26
struct
bt_mesh_key {
28
psa_key_id_t key;
29
};
30
31
#elif defined CONFIG_BT_MESH_USES_TINYCRYPT
32
34
struct
bt_mesh_key {
36
uint8_t
key[16];
37
};
38
39
#else
40
#error "Crypto library has not been chosen"
41
#endif
42
43
#ifdef __cplusplus
44
}
45
#endif
46
47
#endif
/* ZEPHYR_INCLUDE_BLUETOOTH_MESH_KEYS_H_ */
stdint.h
uint8_t
__UINT8_TYPE__ uint8_t
Definition:
stdint.h:88
zephyr
bluetooth
mesh
keys.h
Generated on Sat Feb 24 2024 03:45:05 for Zephyr API Documentation by
1.9.6