ESP-IDF
bt_mesh_ccm_encrypt()
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (2/5)...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
bt_mesh_ccm_encrypt()
bt_mesh_ccm_encrypt() function
Syntax
Show:
Summary
Declaration
from
crypto.c:361
static
int
bt_mesh_ccm_encrypt
(
const
uint8_t
key
[
16
]
,
uint8_t
nonce
[
13
]
,
const
uint8_t
*
msg
,
size_t
msg_len
,
const
uint8_t
*
aad
,
size_t
aad_len
,
uint8_t
*
out_msg
,
size_t
mic_size
)
;
Arguments
Argument
key
nonce
msg
msg_len
aad
aad_len
out_msg
mic_size
Examples
References
from
examples
Code
Location
Referrer
static
int
bt_mesh_ccm_encrypt
(
const
uint8_t
key
[
16
]
,
uint8_t
nonce
[
13
]
,
crypto.c:361
err
=
bt_mesh_ccm_encrypt
(
key
,
nonce
,
&
buf
->
data
[
7
]
,
buf
->
len
-
7
,
crypto.c:632
bt_mesh_net_encrypt()
err
=
bt_mesh_ccm_encrypt
(
key
,
nonce
,
buf
->
data
,
buf
->
len
,
ad
,
crypto.c:710
bt_mesh_app_encrypt()
return
bt_mesh_ccm_encrypt
(
key
,
nonce
,
data
,
25
,
NULL
,
0
,
out
,
8
)
;
crypto.c:869
bt_mesh_prov_encrypt()
Call Tree
from
examples
bt_mesh_ccm_encrypt()
is called by 3 functions and calls 5 functions:
bt_mesh_net_encrypt()
bt_mesh_app_encrypt()
bt_mesh_prov_encrypt()
All items filtered out
bt_mesh_ccm_encrypt()
esp_log_timestamp()
esp_log_write()
sys_put_be16()
bt_mesh_encrypt_be()
bt_hex()
All items filtered out
Data Use
from
examples
bt_mesh_ccm_encrypt()
reads 1 variable:
esp_log_level_t::ESP_LOG_DEBUG
All items filtered out
bt_mesh_ccm_encrypt()
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out