HA_PUBFUN void ha_blake3_final(ha_blake3_context *ctx, ha_digest_t digest, size_t length)
Finalizes the BLAKE3 hash and produces the final digest.
HA_PUBFUN void ha_blake3_hash(ha_inbuf_t data, size_t length, ha_digest_t digest, size_t digest_length)
Computes the BLAKE3 hash in a single operation.
HA_PUBFUN void ha_blake3_update(ha_blake3_context *ctx, ha_inbuf_t data, size_t length)
Updates the BLAKE3 hash with more input data.
BLAKE3 hash state context.
uint32_t bytes
The number of bytes processed so far.
uint64_t chunk
The chunk counter for tracking progress.
uint32_t cv_buf[54 *8]
Buffer for the hash state (54 * 8 words).
uint8_t input[64]
Input buffer for storing data being processed.
uint32_t block
The block counter for the current chunk.
uint32_t * cv
Pointer to the current hash state.