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