Function esp_idf_svc::sys::mbedtls_mpi_cmp_mpi

source ยท
pub unsafe extern "C" fn mbedtls_mpi_cmp_mpi(
    X: *const mbedtls_mpi,
    Y: *const mbedtls_mpi,
) -> i32
Expand description

\brief Compare 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 \p X is greater than \p Y. \return \c -1 if \p X is lesser than \p Y. \return \c 0 if \p X is equal to \p Y.