Function esp_idf_svc::hal::sys::mbedtls_ecp_point_cmp
source · pub unsafe extern "C" fn mbedtls_ecp_point_cmp(
P: *const mbedtls_ecp_point,
Q: *const mbedtls_ecp_point,
) -> i32
Expand description
\brief This function compares two points.
\note This assumes that the points are normalized. Otherwise, they may compare as “not equal” even if they are.
\param P The first point to compare. This must be initialized. \param Q The second point to compare. This must be initialized.
\return \c 0 if the points are equal. \return #MBEDTLS_ERR_ECP_BAD_INPUT_DATA if the points are not equal.