ESP-IDF
crypto_ecdh_set_peerkey()
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (4/5)...
Files
loading (4/5)...
Summary
Syntax
Arguments
Related
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
crypto_ecdh_set_peerkey()
crypto_ecdh_set_peerkey() function
Syntax
Show:
Summary
Declaration
Definition
from
crypto.h:1156
struct
wpabuf
*
crypto_ecdh_set_peerkey
(
struct
crypto_ecdh
*
ecdh
,
int
inc_y
,
const
u8
*
key
,
size_t
len
)
;
Implemented in
crypto_mbedtls-ec.c:1153
Arguments
Argument
ecdh
inc_y
key
len
Related Functions
Found 2 other functions taking a
crypto_ecdh
argument:
Function
crypto_ecdh_deinit()
crypto_ecdh_get_pubkey()
Examples
References
from
examples
Code
Location
Referrer
struct
wpabuf
*
crypto_ecdh_set_peerkey
(
struct
crypto_ecdh
*
ecdh
,
int
inc_y
,
crypto_mbedtls-ec.c:1153
struct
wpabuf
*
crypto_ecdh_set_peerkey
(
struct
crypto_ecdh
*
ecdh
,
int
inc_y
,
crypto.h:1156
sh_secret
=
crypto_ecdh_set_peerkey
(
sm
->
owe_ecdh
,
0
,
dh_ie
+
2
,
dh_len
-
2
)
;
wpa.c:2913
owe_process_assoc_resp()
Call Tree
from
examples
crypto_ecdh_set_peerkey()
is called by 1 function and calls 19 functions:
owe_process_assoc_resp()
All items filtered out
crypto_ecdh_set_peerkey()
free()
calloc()
mbedtls_pk_ec()
mbedtls_ecp_copy()
mbedtls_ecdh_calc_secret()
mbedtls_entropy_init()
mbedtls_entropy_free()
mbedtls_ctr_drbg_init()
mbedtls_ctr_drbg_seed()
mbedtls_ctr_drbg_free()
wpabuf_alloc_copy()
crypto_ec_point_init()
crypto_ec_point_deinit()
crypto_ec_point_to_bin()
crypto_ec_point_solve_y_coord()
crypto_ec_key_set_pub()
crypto_bignum_init_set()
crypto_bignum_deinit()
crypto_ec_key_deinit()
All items filtered out
Data Use
from
examples
crypto_ecdh_set_peerkey()
reads 7 variables and writes 1 variable:
mbedtls_ecp_group::pbits
mbedtls_ecdh_variant::MBEDTLS_ECDH_VARIANT_MBEDTLS_2_0
mbedtls_ecdh_context_mbed::private_grp
mbedtls_ecdh_context::
::private_mbed_ecdh
mbedtls_ecdh_context::private_ctx
mbedtls_entropy_func()
mbedtls_ctr_drbg_random()
All items filtered out
crypto_ecdh_set_peerkey()
mbedtls_ecdh_context::private_var
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