Function esp_idf_hal::sys::mbedtls_mpi_cmp_int
source ยท pub unsafe extern "C" fn mbedtls_mpi_cmp_int(
X: *const mbedtls_mpi,
z: i32,
) -> i32
Expand description
\brief Compare an MPI with an integer.
\param X The left-hand MPI. This must point to an initialized MPI. \param z The integer value to compare \p X to.
\return \c 1 if \p X is greater than \p z. \return \c -1 if \p X is lesser than \p z. \return \c 0 if \p X is equal to \p z.