HA_PUBFUN void ha_blake2b_update(ha_blake2b_context *ctx, ha_inbuf_t data, size_t len)
Updates the BLAKE2B hash state with input data.
HA_PUBFUN void ha_blake2b_final(ha_blake2b_context *ctx, ha_digest_t digest, size_t digestlen)
Finalizes the BLAKE2B hash and produces the digest.
HA_PUBFUN void ha_blake2b_hash(ha_inbuf_t data, size_t len, ha_digest_t digest, size_t digestlen)
Computes the BLAKE2B hash in a one-shot operation.
BLAKE2B hashing context structure.
uint8_t buf[HA_BLAKE2B_BLOCK_SIZE]