1 #ifndef NESSIE_HASH_TEST_H_
2 #define NESSIE_HASH_TEST_H_
6 typedef void (*nessie_hash_init_fpt)(void* ctx);
7 typedef void (*nessie_hash_next_fpt)(void* buffer, void* ctx);
8 typedef void (*nessie_hash_last_fpt)(void* buffer, uint16_t size_b, void* ctx);
9 typedef void (*nessie_hash_conv_fpt)(void* buffer, void* ctx);
12 typedef struct nessie_hash_ctx_st{
17 nessie_hash_init_fpt hash_init;
18 nessie_hash_next_fpt hash_next;
19 nessie_hash_last_fpt hash_last;
20 nessie_hash_conv_fpt hash_conv;
24 extern nessie_hash_ctx_t nessie_hash_ctx;
26 void nessie_hash_run(void);
28 #endif /*NESSIE_HASH_TEST_H_*/