mbedtls_dhm_get_value() function
This function copies a parameter of a DHM key.
Arguments
ctx
The DHM context to query.
param
The parameter to copy.
dest
The MPI object to copy the value into. It must be initialized.
Return value
\c 0 on success. #MBEDTLS_ERR_DHM_BAD_INPUT_DATA if \p param is invalid. An \c MBEDTLS_ERR_MPI_XXX error code if the copy fails.
mbedtls_dhm_get_value() is called by 1 function and calls 1 function:
![]()
mbedtls_dhm_get_value()
mbedtls_dhm_get_value() reads 6 variables:
![]()
mbedtls_dhm_get_value()