Function esp_idf_svc::sys::mbedtls_mpi_sub_abs
source ยท pub unsafe extern "C" fn mbedtls_mpi_sub_abs(
X: *mut mbedtls_mpi,
A: *const mbedtls_mpi,
B: *const mbedtls_mpi,
) -> i32
Expand description
\brief Perform an unsigned subtraction of MPIs: X = |A| - |B|
\param X The destination MPI. This must point to an initialized MPI. \param A The minuend. This must point to an initialized MPI. \param B The subtrahend. This must point to an initialized MPI.
\return \c 0 if successful. \return #MBEDTLS_ERR_MPI_NEGATIVE_VALUE if \p B is greater than \p A. \return Another negative error code on different kinds of failure.