Function esp_idf_svc::hal::sys::mbedtls_sha512_update
source ยท pub unsafe extern "C" fn mbedtls_sha512_update(
ctx: *mut mbedtls_sha512_context,
input: *const u8,
ilen: usize,
) -> i32
Expand description
\brief This function feeds an input buffer into an ongoing SHA-512 checksum calculation.
\param ctx The SHA-512 context. This must be initialized and have a hash operation started. \param input The buffer holding the input 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.