Function esp_idf_hal::sys::mbedtls_internal_sha512_process
source ยท pub unsafe extern "C" fn mbedtls_internal_sha512_process(
ctx: *mut mbedtls_sha512_context,
data: *const u8,
) -> i32
Expand description
\brief This function processes a single data block within the ongoing SHA-512 computation. This function is for internal use only.
\param ctx The SHA-512 context. This must be initialized. \param data The buffer holding one block of data. This must be a readable buffer of length \c 128 Bytes.
\return \c 0 on success. \return A negative error code on failure.