ESP-IDF
bt_mesh_prov_link::auth
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (4/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::auth
bt_mesh_prov_link::auth field
Syntax
Show:
Summary
Declaration
from
prov_common.h:198
uint8_t
auth
[
PROV_AUTH_MAX_SIZE
]
;
Examples
References
from
examples
Code
Location
Referrer
uint8_t
auth
[
16
]
;
/* Authen value */
prov.h:120
uint8_t
auth
[
PROV_AUTH_MAX_SIZE
]
;
/* Authentication Value */
prov_common.h:198
const
size_t
offset
=
offsetof
(
struct
bt_mesh_prov_link
,
auth
)
;
prov.c:47
bt_mesh_prov_reset_state()
memcpy
(
bt_mesh_prov_link
.
auth
,
str
,
size
)
;
prov.c:154
get_auth_string()
memset
(
bt_mesh_prov_link
.
auth
+
size
,
0
,
prov.c:155
get_auth_string()
sizeof
(
bt_mesh_prov_link
.
auth
)
-
size
)
;
prov.c:156
get_auth_string()
sys_put_be32
(
num
,
&
bt_mesh_prov_link
.
auth
[
12
]
)
;
prov.c:183
get_auth_number()
memset
(
bt_mesh_prov_link
.
auth
,
0
,
12
)
;
prov.c:184
get_auth_number()
(
void
)
memset
(
bt_mesh_prov_link
.
auth
,
0
,
sizeof
(
bt_mesh_prov_link
.
auth
)
)
;
prov.c:201
bt_mesh_prov_auth()
sys_put_be32
(
num
,
&
bt_mesh_prov_link
.
auth
[
12
]
)
;
prov.c:285
bt_mesh_input_number()
strcpy
(
(
char
*
)
bt_mesh_prov_link
.
auth
,
str
)
;
prov.c:305
bt_mesh_input_string()
memcpy
(
bt_mesh_prov_link
.
auth
+
16
-
bt_mesh_prov
->
static_val_len
,
prov_device.c:148
prov_start()
(
void
)
memset
(
bt_mesh_prov_link
.
auth
,
0
,
prov_device.c:150
prov_start()
sizeof
(
bt_mesh_prov_link
.
auth
)
-
bt_mesh_prov
->
static_val_len
)
;
prov_device.c:151
prov_start()
bt_mesh_prov_link
.
auth
,
net_buf_simple_add
(
cfm
,
16
)
)
)
{
prov_device.c:193
send_confirm()
bt_mesh_prov_link
.
auth
,
conf_verify
)
)
{
prov_device.c:419
prov_random()
(
void
)
memset
(
prov_link
.
auth
,
0
,
sizeof
(
prov_link
.
auth
)
)
;
prov_node.c:276
prov_auth()
memcpy
(
prov_link
.
auth
,
bt_mesh_prov_get
(
)
->
static_val
,
auth_size
)
;
prov_node.c:285
prov_auth()
memcpy
(
prov_link
.
auth
+
auth_size
-
bt_mesh_prov_get
(
)
->
static_val_len
,
prov_node.c:287
prov_auth()
(
void
)
memset
(
prov_link
.
auth
,
0
,
prov_node.c:289
prov_auth()
memcpy
(
prov_link
.
auth
,
str
,
size
)
;
prov_node.c:326
prov_auth()
(
void
)
memset
(
prov_link
.
auth
+
size
,
0
,
prov_node.c:327
prov_auth()
sizeof
(
prov_link
.
auth
)
-
size
)
;
prov_node.c:328
prov_auth()
sys_put_be32
(
num
,
&
prov_link
.
auth
[
auth_size
-
4
]
)
;
prov_node.c:351
prov_auth()
(
void
)
memset
(
prov_link
.
auth
,
0
,
auth_size
-
4
)
;
prov_node.c:352
prov_auth()
if
(
bt_mesh_prov_conf_key_epa
(
prov_link
.
dhkey
,
prov_link
.
auth
,
prov_node.c:491
send_confirm()
prov_link
.
auth
,
local_conf
)
)
{
prov_node.c:516
send_confirm()
sys_put_be32
(
num
,
&
prov_link
.
auth
[
auth_size
-
4
]
)
;
prov_node.c:570
bt_mesh_input_number()
(
void
)
memcpy
(
prov_link
.
auth
,
str
,
bt_mesh_prov_get
(
)
->
input_size
)
;
prov_node.c:593
bt_mesh_input_string()
if
(
bt_mesh_prov_conf
(
prov_link
.
conf_key
,
data
,
prov_link
.
auth
,
conf_verify
)
)
{
prov_node.c:788
prov_random()
memset
(
link
->
auth
,
0
,
PROV_AUTH_MAX_SIZE
)
;
prov_pvnr.c:1383
prov_auth()
memcpy
(
link
->
auth
,
prov_ctx
.
static_oob_val
,
auth_size
)
;
prov_pvnr.c:1392
prov_auth()
memcpy
(
link
->
auth
+
auth_size
-
prov_ctx
.
static_oob_len
,
prov_pvnr.c:1394
prov_auth()
memset
(
link
->
auth
,
0
,
auth_size
-
prov_ctx
.
static_oob_len
)
;
prov_pvnr.c:1396
prov_auth()
memcpy
(
link
->
auth
,
str
,
size
)
;
prov_pvnr.c:1451
prov_auth()
memset
(
link
->
auth
+
size
,
0
,
auth_size
-
size
)
;
prov_pvnr.c:1452
prov_auth()
sys_put_be32
(
num
,
&
link
->
auth
[
auth_size
-
4
]
)
;
prov_pvnr.c:1473
prov_auth()
memset
(
link
->
auth
,
0
,
auth_size
-
4
)
;
prov_pvnr.c:1474
prov_auth()
if
(
bt_mesh_prov_conf_key_epa
(
link
->
dhkey
,
link
->
auth
,
link
->
conf_salt
,
link
->
conf_key
)
)
{
prov_pvnr.c:1527
send_confirm()
if
(
bt_mesh_prov_conf
(
link
->
conf_key
,
link
->
rand
,
link
->
auth
,
conf
)
)
{
prov_pvnr.c:1548
send_confirm()
memset
(
link
->
auth
,
0
,
PROV_AUTH_MAX_SIZE
)
;
prov_pvnr.c:1604
bt_mesh_provisioner_set_oob_input_data()
sys_memcpy_swap
(
link
->
auth
+
auth_size
-
4
,
val
,
sizeof
(
uint32_t
)
)
;
prov_pvnr.c:1608
bt_mesh_provisioner_set_oob_input_data()
memcpy
(
link
->
auth
,
val
,
link
->
auth_size
)
;
prov_pvnr.c:1611
bt_mesh_provisioner_set_oob_input_data()
num_flag
?
"number"
:
"string"
,
bt_hex
(
link
->
auth
,
auth_size
)
)
;
prov_pvnr.c:1615
bt_mesh_provisioner_set_oob_input_data()
memset
(
link
->
auth
,
0
,
PROV_AUTH_MAX_SIZE
)
;
prov_pvnr.c:1670
bt_mesh_provisioner_set_oob_output_data()
sys_memcpy_swap
(
link
->
auth
+
auth_size
-
size
,
num
,
size
)
;
prov_pvnr.c:1674
bt_mesh_provisioner_set_oob_output_data()
memcpy
(
link
->
auth
,
num
,
size
)
;
prov_pvnr.c:1677
bt_mesh_provisioner_set_oob_output_data()
num_flag
?
"number"
:
"string"
,
bt_hex
(
link
->
auth
,
auth_size
)
)
;
prov_pvnr.c:1681
bt_mesh_provisioner_set_oob_output_data()
if
(
bt_mesh_prov_conf
(
link
->
conf_key
,
data
,
link
->
auth
,
conf_verify
)
)
{
prov_pvnr.c:2156
prov_random()
bt_mesh_prov_link
.
rand
,
bt_mesh_prov_link
.
auth
,
provisioner.c:288
send_confirm()
data
,
bt_mesh_prov_link
.
auth
,
conf_verify
)
)
{
provisioner.c:580
prov_random()
memcpy
(
bt_mesh_prov_link
.
auth
+
16
-
size
,
static_val
,
size
)
;
provisioner.c:695
bt_mesh_auth_method_set_static()
(
void
)
memset
(
bt_mesh_prov_link
.
auth
,
0
,
provisioner.c:697
bt_mesh_auth_method_set_static()
sizeof
(
bt_mesh_prov_link
.
auth
)
-
size
)
;
provisioner.c:698
bt_mesh_auth_method_set_static()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
bt_mesh_prov_link::auth
is read by 16 functions:
All items filtered out
bt_mesh_prov_link::auth
prov_auth()
send_confirm()
bt_mesh_input_number()
bt_mesh_input_string()
prov_random()
bt_mesh_provisioner_set_oob_input_data()
bt_mesh_provisioner_set_oob_output_data()
get_auth_string()
get_auth_number()
bt_mesh_prov_auth()
prov_start()
send_confirm()
prov_random()
send_confirm()
prov_random()
bt_mesh_auth_method_set_static()
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