pub unsafe extern "C" fn mbedtls_mpi_cmp_int(
    X: *const mbedtls_mpi,
    z: mbedtls_mpi_sint
) -> c_int
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.