ESP-IDF
bt_mesh_prov_link::dhkey
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (3/5)...
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_prov_link::dhkey
bt_mesh_prov_link::dhkey field
Syntax
Show:
Summary
Declaration
from
prov.h:122
uint8_t
dhkey
[
BT_DH_KEY_LEN
]
;
Examples
References
from
examples
Code
Location
Referrer
uint8_t
dhkey
[
BT_DH_KEY_LEN
]
;
/* Calculated DHKey */
prov.h:122
uint8_t
dhkey
[
32
]
;
/* Calculated DHKey */
prov_common.h:203
if
(
bt_mesh_prov_conf_key
(
bt_mesh_prov_link
.
dhkey
,
bt_mesh_prov_link
.
conf_salt
,
prov_device.c:173
send_confirm()
BT_DBG
(
"DHkey: %s"
,
bt_hex
(
bt_mesh_prov_link
.
dhkey
,
BT_DH_KEY_LEN
)
)
;
prov_device.c:272
dh_key_gen_complete()
sys_memcpy_swap
(
bt_mesh_prov_link
.
dhkey
,
dhkey
,
BT_DH_KEY_LEN
)
;
prov_device.c:292
prov_dh_key_cb()
err
=
bt_mesh_session_key
(
bt_mesh_prov_link
.
dhkey
,
prov_device.c:480
prov_data()
err
=
bt_mesh_prov_nonce
(
bt_mesh_prov_link
.
dhkey
,
prov_device.c:490
prov_data()
err
=
bt_mesh_dev_key
(
bt_mesh_prov_link
.
dhkey
,
prov_device.c:507
prov_data()
if
(
bt_mesh_prov_conf_key
(
prov_link
.
dhkey
,
prov_link
.
conf_salt
,
prov_node.c:476
send_confirm()
if
(
bt_mesh_prov_conf_key_epa
(
prov_link
.
dhkey
,
prov_link
.
auth
,
prov_node.c:491
send_confirm()
sys_memcpy_swap
(
prov_link
.
dhkey
,
dhkey
,
32
)
;
prov_node.c:628
send_pub_key()
BT_DBG
(
"DHkey: %s"
,
bt_hex
(
prov_link
.
dhkey
,
32
)
)
;
prov_node.c:630
send_pub_key()
sys_memcpy_swap
(
prov_link
.
dhkey
,
dhkey
,
32
)
;
prov_node.c:676
bt_mesh_calc_dh_key()
BT_DBG
(
"DHkey: %s"
,
bt_hex
(
prov_link
.
dhkey
,
32
)
)
;
prov_node.c:678
bt_mesh_calc_dh_key()
err
=
bt_mesh_session_key
(
prov_link
.
dhkey
,
prov_link
.
prov_salt
,
session_key
)
;
prov_node.c:867
prov_data()
err
=
bt_mesh_prov_nonce
(
prov_link
.
dhkey
,
prov_link
.
prov_salt
,
nonce
)
;
prov_node.c:876
prov_data()
err
=
bt_mesh_dev_key
(
prov_link
.
dhkey
,
prov_link
.
prov_salt
,
dev_key
)
;
prov_node.c:911
prov_data()
if
(
bt_mesh_prov_conf_key
(
link
->
dhkey
,
link
->
conf_salt
,
link
->
conf_key
)
)
{
prov_pvnr.c:1515
send_confirm()
if
(
bt_mesh_prov_conf_key_epa
(
link
->
dhkey
,
link
->
auth
,
link
->
conf_salt
,
link
->
conf_key
)
)
{
prov_pvnr.c:1527
send_confirm()
sys_memcpy_swap
(
link
->
dhkey
,
dhkey
,
32
)
;
prov_pvnr.c:1739
prov_gen_dh_key()
BT_DBG
(
"DHKey: %s"
,
bt_hex
(
link
->
dhkey
,
32
)
)
;
prov_pvnr.c:1741
prov_gen_dh_key()
err
=
bt_mesh_session_key
(
link
->
dhkey
,
link
->
prov_salt
,
session_key
)
;
prov_pvnr.c:1965
send_prov_data()
err
=
bt_mesh_prov_nonce
(
link
->
dhkey
,
link
->
prov_salt
,
nonce
)
;
prov_pvnr.c:1973
send_prov_data()
err
=
bt_mesh_dev_key
(
link
->
dhkey
,
link
->
prov_salt
,
device_key
)
;
prov_pvnr.c:2219
prov_complete()
if
(
bt_mesh_prov_conf_key
(
bt_mesh_prov_link
.
dhkey
,
provisioner.c:268
send_confirm()
sys_memcpy_swap
(
bt_mesh_prov_link
.
dhkey
,
dhkey
,
BT_DH_KEY_LEN
)
;
provisioner.c:358
prov_dh_key_cb()
BT_DBG
(
"DHkey: %s"
,
bt_hex
(
bt_mesh_prov_link
.
dhkey
,
BT_DH_KEY_LEN
)
)
;
provisioner.c:360
prov_dh_key_cb()
err
=
bt_mesh_session_key
(
bt_mesh_prov_link
.
dhkey
,
provisioner.c:462
send_prov_data()
err
=
bt_mesh_prov_nonce
(
bt_mesh_prov_link
.
dhkey
,
provisioner.c:472
send_prov_data()
err
=
bt_mesh_dev_key
(
bt_mesh_prov_link
.
dhkey
,
provisioner.c:482
send_prov_data()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
bt_mesh_prov_link::dhkey
is read by 12 functions:
All items filtered out
bt_mesh_prov_link::dhkey
send_confirm()
send_pub_key()
bt_mesh_calc_dh_key()
prov_data()
prov_gen_dh_key()
send_prov_data()
prov_complete()
send_confirm()
dh_key_gen_complete()
prov_dh_key_cb()
send_confirm()
prov_dh_key_cb()
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