ESP-IDF
bt_mesh_app_crypto_ctx::ad
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
bt_mesh_app_crypto_ctx::ad
bt_mesh_app_crypto_ctx::ad field
Syntax
Show:
Summary
Declaration
from
crypto.h:141
const
uint8_t
*
ad
;
Examples
References
from
examples
Code
Location
Referrer
const
uint8_t
*
ad
;
crypto.h:141
err
=
bt_ccm_encrypt
(
key
,
nonce
,
buf
->
om_data
,
buf
->
om_len
,
ctx
->
ad
,
crypto.c:418
bt_mesh_app_encrypt()
ctx
->
ad
?
16
:
0
,
buf
->
om_data
,
crypto.c:419
bt_mesh_app_encrypt()
err
=
bt_ccm_decrypt
(
key
,
nonce
,
buf
->
om_data
,
buf
->
om_len
,
ctx
->
ad
,
crypto.c:445
bt_mesh_app_decrypt()
ctx
->
ad
?
16
:
0
,
out
->
om_data
,
crypto.c:446
bt_mesh_app_decrypt()
meta
->
crypto
.
ad
=
bt_mesh_va_label_get
(
meta
->
crypto
.
dst
)
;
friend.c:372
unseg_app_sdu_unpack()
if
(
!
meta
->
crypto
.
ad
)
{
friend.c:373
unseg_app_sdu_unpack()
meta
->
crypto
.
ad
=
NULL
;
friend.c:377
unseg_app_sdu_unpack()
crypto
.
ad
=
bt_mesh_va_label_get
(
tx
->
ctx
->
addr
)
;
transport.c:624
trans_encrypt()
ctx
.
crypto
.
ad
=
bt_mesh_va_label_get
(
rx
->
ctx
.
recv_dst
)
;
transport.c:769
sdu_recv()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
bt_mesh_app_crypto_ctx::ad
is written by 3 functions and is read by 3 functions:
unseg_app_sdu_unpack()
trans_encrypt()
sdu_recv()
All items filtered out
bt_mesh_app_crypto_ctx::ad
unseg_app_sdu_unpack()
bt_mesh_app_encrypt()
bt_mesh_app_decrypt()
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