mbedTLS
ecdh_calc_secret_internal()
is only used within mbedTLS.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Related
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
mbedTLS
ecdh_calc_secret_internal()
ecdh_calc_secret_internal() function
Syntax
Show:
Summary
Declaration
from
ecdh.c:610
static
int
ecdh_calc_secret_internal
(
mbedtls_ecdh_context_mbed
*
ctx
,
size_t
*
olen
,
unsigned
char
*
buf
,
size_t
blen
,
int
(
*
f_rng
)
(
void
*
,
unsigned
char
*
,
size_t
)
,
void
*
p_rng
,
int
restart_enabled
)
;
Arguments
Argument
ctx
olen
buf
blen
f_rng
p_rng
restart_enabled
Related Functions
Found 8 other functions taking a
mbedtls_ecdh_context_mbed
argument:
Function
ecdh_free_internal()
ecdh_make_params_internal()
ecdh_init_internal()
ecdh_setup_internal()
ecdh_make_public_internal()
ecdh_read_public_internal()
ecdh_read_params_internal()
ecdh_get_params_internal()
Examples
References
from
examples
Code
Location
Referrer
static
int
ecdh_calc_secret_internal
(
mbedtls_ecdh_context_mbed
*
ctx
,
ecdh.c:610
return
ecdh_calc_secret_internal
(
&
ctx
->
ctx
.
mbed_ecdh
,
olen
,
buf
,
ecdh.c:686
mbedtls_ecdh_calc_secret()
Call Tree
from
examples
ecdh_calc_secret_internal()
is called by 1 function and calls 5 functions:
mbedtls_ecdh_calc_secret()
All items filtered out
ecdh_calc_secret_internal()
mbedtls_mpi_size()
mbedtls_mpi_write_binary()
mbedtls_mpi_write_binary_le()
mbedtls_ecp_get_type()
mbedtls_ecdh_compute_shared()
All items filtered out
Data Use
from
examples
ecdh_calc_secret_internal()
reads 3 variables:
mbedtls_ecp_curve_type::MBEDTLS_ECP_TYPE_MONTGOMERY
mbedtls_ecp_group::pbits
mbedtls_ecdh_context_mbed::grp
All items filtered out
ecdh_calc_secret_internal()
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