1 #ifndef CRYPTOHASH_BLAKE2B_H
2 #define CRYPTOHASH_BLAKE2B_H
3 
4 #include "blake2.h"
5 
6 typedef blake2b_state blake2b_ctx;
7 
8 void cryptonite_blake2b_init(blake2b_ctx *ctx, uint32_t hashlen);
9 void cryptonite_blake2b_update(blake2b_ctx *ctx, const uint8_t *data, uint32_t len);
10 void cryptonite_blake2b_finalize(blake2b_ctx *ctx, uint32_t hashlen, uint8_t *out);
11 
12 #endif
13