#include #include static struct blake2s_state hash = { .outlen = 32 /* TODO: other constants */ }; void mix_blake2s(const void *in, int nbytes) { blake2s_update(&hash, in, nbytes); }