mbedtls_ecdh_get_grp_id() function
Return the ECP group for provided context.
Arguments
ctx
The ECDH context to parse. This must not be \c NULL.
Return value
The \c mbedtls_ecp_group_id of the context.
Notes
To access group specific fields, users should use `mbedtls_ecp_curve_info_from_grp_id` or `mbedtls_ecp_group_load` on the extracted `group_id`.
mbedtls_ecdh_get_grp_id() reads 1 variable:
![]()
mbedtls_ecdh_get_grp_id()