| 1 | #ifndef CRYPT__BLAKE2B_H__ |
| 2 | #define CRYPT__BLAKE2B_H__ |
| 3 | |
| 4 | #include <stddef.h> |
| 5 | |
| 6 | #define BLAKE2B_OUT_BYTES 64 |
| 7 | |
| 8 | void blake2b(void *out, const void *in, size_t in_len); |
| 9 | |
| 10 | struct file_handle; |
| 11 | struct file_handle * blake2b_open(struct file_handle * source); |
| 12 | bool blake2b_check_hash(struct file_handle *fd, void* reference_hash); |
| 13 | |
| 14 | #endif |
