ESP-IDF
ble_sm_proc::tk
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (1/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
ble_sm_proc::tk
ble_sm_proc::tk field
Syntax
Show:
Summary
Declaration
from
ble_sm_priv.h:261
uint8_t
tk
[
16
]
;
Examples
References
from
examples
Code
Location
Referrer
uint8_t
tk
[
16
]
;
ble_sm_priv.h:261
memcpy
(
proc
->
tk
,
pkey
->
oob
,
16
)
;
ble_sm.c:2999
ble_sm_inject_io()
memset
(
proc
->
tk
,
0
,
16
)
;
ble_sm.c:3013
ble_sm_inject_io()
proc
->
tk
[
0
]
=
(
pkey
->
passkey
>
>
0
)
&
0xff
;
ble_sm.c:3014
ble_sm_inject_io()
proc
->
tk
[
1
]
=
(
pkey
->
passkey
>
>
8
)
&
0xff
;
ble_sm.c:3015
ble_sm_inject_io()
proc
->
tk
[
2
]
=
(
pkey
->
passkey
>
>
16
)
&
0xff
;
ble_sm.c:3016
ble_sm_inject_io()
proc
->
tk
[
3
]
=
(
pkey
->
passkey
>
>
24
)
&
0xff
;
ble_sm.c:3017
ble_sm_inject_io()
rc
=
ble_sm_alg_c1
(
proc
->
tk
,
ble_sm_our_pair_rand
(
proc
)
,
proc
->
pair_req
,
ble_sm_lgcy.c:130
ble_sm_lgcy_confirm_exec()
rc
=
ble_sm_alg_s1
(
proc
->
tk
,
proc
->
rands
,
proc
->
randm
,
key
)
;
ble_sm_lgcy.c:163
ble_sm_gen_stk()
rc
=
ble_sm_alg_c1
(
proc
->
tk
,
ble_sm_peer_pair_rand
(
proc
)
,
proc
->
pair_req
,
ble_sm_lgcy.c:218
ble_sm_lgcy_random_rx()
proc
->
ri
=
0x80
|
!!
(
proc
->
tk
[
byte
]
&
(
1
<
<
bit
)
)
;
ble_sm_sc.c:251
ble_sm_sc_gen_ri()
ble_hs_log_flat_buf
(
proc
->
tk
,
16
)
;
ble_sm_sc.c:456
ble_sm_sc_random_rx()
memcpy
(
proc
->
tk
,
proc
->
oob_data_remote
->
r
,
16
)
;
ble_sm_sc.c:714
ble_sm_sc_dhkey_check_exec()
memset
(
proc
->
tk
,
0
,
16
)
;
ble_sm_sc.c:716
ble_sm_sc_dhkey_check_exec()
ble_sm_peer_pair_rand
(
proc
)
,
proc
->
tk
,
iocap
,
ble_sm_sc.c:729
ble_sm_sc_dhkey_check_exec()
memcpy
(
proc
->
tk
,
proc
->
oob_data_local
->
r
,
16
)
;
ble_sm_sc.c:774
ble_sm_dhkey_check_process()
memset
(
proc
->
tk
,
0
,
16
)
;
ble_sm_sc.c:776
ble_sm_dhkey_check_process()
memcpy
(
proc
->
tk
,
proc
->
oob_data_local
->
r
,
16
)
;
ble_sm_sc.c:787
ble_sm_dhkey_check_process()
memset
(
proc
->
tk
,
0
,
16
)
;
ble_sm_sc.c:789
ble_sm_dhkey_check_process()
ble_hs_log_flat_buf
(
proc
->
tk
,
16
)
;
ble_sm_sc.c:796
ble_sm_dhkey_check_process()
proc
->
tk
,
iocap
,
ble_sm_sc.c:802
ble_sm_dhkey_check_process()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
ble_sm_proc::tk
is read by 8 functions:
All items filtered out
ble_sm_proc::tk
ble_sm_inject_io()
ble_sm_lgcy_confirm_exec()
ble_sm_gen_stk()
ble_sm_lgcy_random_rx()
ble_sm_sc_gen_ri()
ble_sm_sc_random_rx()
ble_sm_sc_dhkey_check_exec()
ble_sm_dhkey_check_process()
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