mbedtls_dhm_make_params() is only used within mbedTLS.
 
Symbols
loading...
Files
loading...
SummarySyntaxArgumentsRelatedReferencesCall TreeData Use

Return value

\c 0 on success. An \c MBEDTLS_ERR_DHM_XXX error code on failure.

Notes

This function assumes that the DHM parameters \c ctx->P and \c ctx->G have already been properly set. For that, use mbedtls_dhm_set_group() below in conjunction with mbedtls_mpi_read_binary() and mbedtls_mpi_read_string(). In a TLS handshake, this is the how the server generates and exports its DHM key material.

References