ESP-IDF
bt_mesh_k2()
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
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_k2()
bt_mesh_k2() function
Syntax
Show:
Summary
Declaration
Definition
from
crypto.h:52
int
bt_mesh_k2
(
const
uint8_t
n
[
16
]
,
const
uint8_t
*
p
,
size_t
p_len
,
uint8_t
net_id
[
1
]
,
uint8_t
enc_key
[
16
]
,
uint8_t
priv_key
[
16
]
)
;
Implemented in
crypto.c:69
Arguments
Argument
n
p
p_len
net_id
enc_key
priv_key
Examples
References
from
examples
Code
Location
Referrer
int
bt_mesh_k2
(
const
uint8_t
n
[
16
]
,
const
uint8_t
*
p
,
size_t
p_len
,
crypto.c:69
int
bt_mesh_k2
(
const
uint8_t
n
[
16
]
,
const
uint8_t
*
p
,
size_t
p_len
,
crypto.c:120
int
bt_mesh_k2
(
const
uint8_t
n
[
16
]
,
const
uint8_t
*
p
,
size_t
p_len
,
crypto.h:52
int
bt_mesh_k2
(
const
uint8_t
n
[
16
]
,
const
uint8_t
*
p
,
size_t
p_len
,
crypto.h:45
err
=
bt_mesh_k2
(
key
,
p
,
sizeof
(
p
)
,
&
nid
,
keys
->
enc
,
keys
->
privacy
)
;
net.c:190
bt_mesh_net_keys_create()
err
=
bt_mesh_k2
(
key
,
p
,
sizeof
(
p
)
,
&
nid
,
keys
->
direct_enc
,
keys
->
direct_privacy
)
;
net.c:242
bt_mesh_net_keys_create()
return
bt_mesh_k2
(
key
,
p
,
p_len
,
&
cred
->
nid
,
cred
->
enc
,
cred
->
privacy
)
;
subnet.c:300
msg_cred_create()
Call Tree
from
examples
bt_mesh_k2()
is called by 2 functions and calls 6 functions:
bt_mesh_net_keys_create()
msg_cred_create()
All items filtered out
bt_mesh_k2()
esp_log_timestamp()
esp_log_write()
bt_hex()
bt_mesh_aes_cmac_one()
bt_mesh_s1()
bt_mesh_aes_cmac()
All items filtered out
Data Use
from
examples
bt_mesh_k2()
reads 1 variable and writes 2 variables:
esp_log_level_t::ESP_LOG_DEBUG
All items filtered out
bt_mesh_k2()
bt_mesh_sg::data
bt_mesh_sg::len
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