Function esp_idf_svc::hal::sys::mbedtls_mpi_cmp_abs
source ยท pub unsafe extern "C" fn mbedtls_mpi_cmp_abs(
X: *const mbedtls_mpi,
Y: *const mbedtls_mpi,
) -> i32
Expand description
\brief Compare the absolute values of two MPIs.
\param X The left-hand MPI. This must point to an initialized MPI. \param Y The right-hand MPI. This must point to an initialized MPI.
\return \c 1 if |X|
is greater than |Y|
.
\return \c -1 if |X|
is lesser than |Y|
.
\return \c 0 if |X|
is equal to |Y|
.