Reimplementation of Pijul in C, for education, fun and absolutely no profit
#ifndef ANI_BLAKE3_H
#define ANI_BLAKE3_H

/* Wrapper for the vendored blake3 hash algorithm (the C implementation) */

#define BLAKE3_LEN 32

/* Hash the given input of the indicated length and put the result in out */
void blake3_hash(uint8_t *out, uint8_t *in, size_t len);

/* Compare two hashes */
int blake3_cmp(uint8_t *h1, uint8_t *h2);

#endif