pub unsafe extern "C" fn mbedtls_mpi_read_binary(
    X: *mut mbedtls_mpi,
    buf: *const c_uchar,
    buflen: usize
) -> c_int
Expand description

\brief Import an MPI from unsigned big endian binary data.

\param X The destination MPI. This must point to an initialized MPI. \param buf The input buffer. This must be a readable buffer of length \p buflen Bytes. \param buflen The length of the input buffer \p buf in Bytes.

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