Function esp_idf_svc::hal::sys::mbedtls_sha256_update
source ยท pub unsafe extern "C" fn mbedtls_sha256_update(
ctx: *mut mbedtls_sha256_context,
input: *const u8,
ilen: usize,
) -> i32
Expand description
\brief This function feeds an input buffer into an ongoing SHA-256 checksum calculation.
\param ctx The SHA-256 context. This must be initialized and have a hash operation started. \param input The buffer holding the data. This must be a readable buffer of length \p ilen Bytes. \param ilen The length of the input data in Bytes.
\return \c 0 on success. \return A negative error code on failure.