pub unsafe extern "C" fn mbedtls_mpi_gcd(
    G: *mut mbedtls_mpi,
    A: *const mbedtls_mpi,
    B: *const mbedtls_mpi
) -> c_int
Expand description

\brief Compute the greatest common divisor: G = gcd(A, B)

\param G The destination MPI. This must point to an initialized MPI. \param A The first operand. This must point to an initialized MPI. \param B The second operand. This must point to an initialized MPI.

\return \c 0 if successful. \return #MBEDTLS_ERR_MPI_ALLOC_FAILED if a memory allocation failed. \return Another negative error code on different kinds of failure.