Function esp_idf_sys::mbedtls_md_update
source ยท pub unsafe extern "C" fn mbedtls_md_update(
ctx: *mut mbedtls_md_context_t,
input: *const c_uchar,
ilen: usize,
) -> c_int
Expand description
\brief This function feeds an input buffer into an ongoing message-digest computation.
You must call mbedtls_md_starts() before calling this
function. You may call this function multiple times.
Afterwards, call mbedtls_md_finish().
\param ctx The generic message-digest context. \param input The buffer holding the input data. \param ilen The length of the input data.
\return \c 0 on success. \return #MBEDTLS_ERR_MD_BAD_INPUT_DATA on parameter-verification failure.