X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=test_src%2Fnessie_hash_test.h;h=c3bf13146c1e58f315ffad459b2cf7abeb00ffbf;hb=3711896e923a5d819733fbfe50590e7e1e6ab51a;hp=eb9293db6fde03f150829377af390641e7cafc21;hpb=572b35bb7409fb362441e0812cb62eab9f2411f0;p=avr-crypto-lib.git diff --git a/test_src/nessie_hash_test.h b/test_src/nessie_hash_test.h index eb9293d..c3bf131 100644 --- a/test_src/nessie_hash_test.h +++ b/test_src/nessie_hash_test.h @@ -22,8 +22,8 @@ #include typedef void (*nessie_hash_init_fpt)(void* ctx); -typedef void (*nessie_hash_next_fpt)(void* buffer, void* ctx); -typedef void (*nessie_hash_last_fpt)(void* buffer, uint16_t size_b, void* ctx); +typedef void (*nessie_hash_next_fpt)(void* ctx, const void* buffer); +typedef void (*nessie_hash_last_fpt)(void* ctx, const void* buffer, uint16_t size_b); typedef void (*nessie_hash_conv_fpt)(void* buffer, void* ctx); @@ -40,7 +40,7 @@ typedef struct nessie_hash_ctx_st{ extern nessie_hash_ctx_t nessie_hash_ctx; - +extern uint8_t nessie_hash_quick; void nessie_hash_run(void); #endif /*NESSIE_HASH_TEST_H_*/