Function esp_idf_svc::hal::sys::mbedtls_ecdh_get_grp_id
source ยท pub unsafe extern "C" fn mbedtls_ecdh_get_grp_id(
ctx: *mut mbedtls_ecdh_context,
) -> u32
Expand description
\brief Return the ECP group for provided context.
\note 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
.
\param ctx The ECDH context to parse. This must not be \c NULL.
\return The \c mbedtls_ecp_group_id of the context.