ESP-IDF
bt_mesh_prov_link::algorithm
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (1/5)...
Files
loading (4/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::algorithm
bt_mesh_prov_link::algorithm field
Syntax
Show:
Summary
Declaration
from
prov_common.h:205
uint8_t
algorithm
;
Examples
References
from
examples
Code
Location
Referrer
uint8_t
algorithm
;
/* Provisioning Algorithm */
prov_common.h:205
auth_size
=
PROV_AUTH_SIZE
(
&
prov_link
)
;
prov_node.c:268
prov_auth()
prov_link
.
algorithm
=
data
[
0
]
;
prov_node.c:392
prov_start()
conf_val_size
=
PROV_CONF_SIZE
(
&
prov_link
)
;
prov_node.c:455
send_confirm()
rand_val_size
=
PROV_RAND_SIZE
(
&
prov_link
)
;
prov_node.c:456
send_confirm()
conf_salt_size
=
PROV_CONF_SALT_SIZE
(
&
prov_link
)
;
prov_node.c:457
send_confirm()
conf_key_size
=
PROV_CONF_KEY_SIZE
(
&
prov_link
)
;
prov_node.c:458
send_confirm()
if
(
prov_link
.
algorithm
==
PROV_ALG_P256_CMAC_AES128
)
{
prov_node.c:469
send_confirm()
if
(
prov_link
.
algorithm
==
PROV_ALG_P256_CMAC_AES128
)
{
prov_node.c:514
send_confirm()
auth_size
=
PROV_AUTH_SIZE
(
&
prov_link
)
;
prov_node.c:562
bt_mesh_input_number()
conf_val_size
=
PROV_CONF_SIZE
(
&
prov_link
)
;
prov_node.c:754
prov_confirm()
rand_val_size
=
PROV_RAND_SIZE
(
&
prov_link
)
;
prov_node.c:781
prov_random()
conf_val_size
=
PROV_CONF_SIZE
(
&
prov_link
)
;
prov_node.c:782
prov_random()
if
(
prov_link
.
algorithm
==
PROV_ALG_P256_CMAC_AES128
)
{
prov_node.c:787
prov_random()
if
(
prov_link
.
algorithm
==
PROV_ALG_P256_CMAC_AES128
)
{
prov_node.c:820
prov_random()
link
->
algorithm
=
PROV_ALG_P256_HMAC_SHA256
;
prov_pvnr.c:1311
prov_capabilities()
link
->
algorithm
=
PROV_ALG_P256_CMAC_AES128
;
prov_pvnr.c:1314
prov_capabilities()
uint8_t
auth_size
=
PROV_AUTH_SIZE
(
link
)
;
prov_pvnr.c:1375
prov_auth()
conf_salt_size
=
PROV_CONF_SALT_SIZE
(
link
)
;
prov_pvnr.c:1493
send_confirm()
conf_key_size
=
PROV_CONF_KEY_SIZE
(
link
)
;
prov_pvnr.c:1494
send_confirm()
rand_size
=
PROV_RAND_SIZE
(
link
)
;
prov_pvnr.c:1495
send_confirm()
conf_size
=
PROV_CONF_SIZE
(
link
)
;
prov_pvnr.c:1496
send_confirm()
if
(
link
->
algorithm
==
PROV_ALG_P256_CMAC_AES128
)
{
prov_pvnr.c:1509
send_confirm()
if
(
link
->
algorithm
==
PROV_ALG_P256_CMAC_AES128
)
{
prov_pvnr.c:1547
send_confirm()
auth_size
=
PROV_AUTH_SIZE
(
link
)
;
prov_pvnr.c:1596
bt_mesh_provisioner_set_oob_input_data()
auth_size
=
PROV_AUTH_SIZE
(
link
)
;
prov_pvnr.c:1662
bt_mesh_provisioner_set_oob_output_data()
uint8_t
conf_size
=
PROV_CONF_SIZE
(
link
)
;
prov_pvnr.c:1914
prov_confirm()
net_buf_simple_add_mem
(
&
prov_buf
,
link
->
rand
,
PROV_RAND_SIZE
(
link
)
)
;
prov_pvnr.c:1942
prov_confirm()
rand_size
=
PROV_RAND_SIZE
(
link
)
;
prov_pvnr.c:2141
prov_random()
if
(
link
->
algorithm
==
PROV_ALG_P256_CMAC_AES128
)
{
prov_pvnr.c:2155
prov_random()
if
(
memcmp
(
conf_verify
,
link
->
conf
,
PROV_CONF_SIZE
(
link
)
)
)
{
prov_pvnr.c:2170
prov_random()
BT_ERR
(
"Received: %s"
,
bt_hex
(
link
->
conf
,
PROV_CONF_SIZE
(
link
)
)
)
;
prov_pvnr.c:2172
prov_random()
BT_ERR
(
"Calculated: %s"
,
bt_hex
(
conf_verify
,
PROV_CONF_SIZE
(
link
)
)
)
;
prov_pvnr.c:2173
prov_random()
if
(
link
->
algorithm
==
PROV_ALG_P256_CMAC_AES128
)
{
prov_pvnr.c:2183
prov_random()
BT_DBG
(
"ProvisioningSalt: %s"
,
bt_hex
(
link
->
prov_salt
,
PROV_CONF_SALT_SIZE
(
link
)
)
)
;
prov_pvnr.c:2200
prov_random()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
bt_mesh_prov_link::algorithm
is written by 2 functions and is read by 7 functions:
prov_start()
prov_capabilities()
All items filtered out
bt_mesh_prov_link::algorithm
prov_auth()
send_confirm()
bt_mesh_input_number()
prov_confirm()
prov_random()
bt_mesh_provisioner_set_oob_input_data()
bt_mesh_provisioner_set_oob_output_data()
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