crhash: do madvise(MADV_SEQUENTIAL)
[crhash.git] / hash-whirlpool.h
blob2a97a50c7253c294e582af233d66d4f613276871
1 #ifndef _CRHASH_WHIRLPOOL_H
2 #define _CRHASH_WHIRLPOOL_H
3 void *whirlpool_init_context(void);
4 void whirlpool_fini_context(void *_ctx);
5 void whirlpool_update(void *_ctx, const uint8_t *m);
6 void _whirlpool_update(void *_ctx, const uint8_t *m, unsigned int len);
7 void whirlpool_fini(void *_ctx);
8 void whirlpool_digest(void *_ctx, uint8_t *digest);
9 #endif