ESP-IDF
ble_sm_alg_gen_dhkey()
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
ble_sm_alg_gen_dhkey()
ble_sm_alg_gen_dhkey() function
Syntax
Show:
Summary
Declaration
Definition
from
ble_sm_priv.h:322
int
ble_sm_alg_gen_dhkey
(
const
uint8_t
*
peer_pub_key_x
,
const
uint8_t
*
peer_pub_key_y
,
const
uint8_t
*
our_priv_key
,
uint8_t
*
out_dhkey
)
;
Implemented in
ble_sm_alg.c:518
Arguments
Argument
peer_pub_key_x
peer_pub_key_y
our_priv_key
out_dhkey
Examples
References
from
examples
Code
Location
Referrer
ble_sm_alg_gen_dhkey
(
const
uint8_t
*
peer_pub_key_x
,
const
uint8_t
*
peer_pub_key_y
,
ble_sm_alg.c:519
int
ble_sm_alg_gen_dhkey
(
const
uint8_t
*
peer_pub_key_x
,
ble_sm_priv.h:322
rc
=
ble_sm_alg_gen_dhkey
(
proc
->
pub_key_peer
.
x
,
ble_sm_sc.c:636
ble_sm_sc_public_key_rx()
if
(
ble_sm_alg_gen_dhkey
(
(
uint8_t
*
)
&
remote_pk
[
0
]
,
(
uint8_t
*
)
&
remote_pk
[
32
]
,
glue.c:581
bt_dh_key_gen()
Call Tree
from
examples
ble_sm_alg_gen_dhkey()
is called by 2 functions and calls 16 functions:
ble_sm_sc_public_key_rx()
bt_dh_key_gen()
All items filtered out
ble_sm_alg_gen_dhkey()
swap_buf()
mbedtls_entropy_init()
mbedtls_entropy_free()
mbedtls_mpi_init()
mbedtls_mpi_free()
mbedtls_mpi_read_binary()
mbedtls_mpi_write_binary()
mbedtls_ecp_point_init()
mbedtls_ecp_point_free()
mbedtls_ecp_point_read_binary()
mbedtls_ecp_group_load()
mbedtls_ecp_check_pubkey()
mbedtls_ecdh_compute_shared()
mbedtls_ctr_drbg_init()
mbedtls_ctr_drbg_seed()
mbedtls_ctr_drbg_free()
All items filtered out
Data Use
from
examples
ble_sm_alg_gen_dhkey()
reads 4 variables:
mbedtls_ecp_group_id::MBEDTLS_ECP_DP_SECP256R1
keypair
mbedtls_ctr_drbg_random()
mbedtls_entropy_func()
All items filtered out
ble_sm_alg_gen_dhkey()
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