mbedtls_everest_make_params() function
This function generates a public key and a TLS ServerKeyExchange payload. This is the second function used by a TLS server for ECDHE ciphersuites. (It is called after mbedtls_ecdh_setup().) \see ecp.h
Arguments
olen
The number of characters written.
buf
The destination buffer.
blen
The length of the destination buffer.
f_rng
int( * )( void *, unsigned char *, size_t )
The RNG function.
Return value
\c 0 on success. An \c MBEDTLS_ERR_ECP_XXX error code on failure.
Notes
This function assumes that the ECP group (grp) of the \p ctx context has already been properly set, for example, using mbedtls_ecp_group_load().