Function esp_idf_sys::mbedtls_mpi_read_binary_le
source ยท pub unsafe extern "C" fn mbedtls_mpi_read_binary_le(
X: *mut mbedtls_mpi,
buf: *const c_uchar,
buflen: usize,
) -> c_int
Expand description
\brief Import X from unsigned binary data, little endian
\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.