]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - test_src/nessie_hash_test.h
+Shabal
[avr-crypto-lib.git] / test_src / nessie_hash_test.h
index b18a1ab0d9e66cc1a277fedc559765783d9f680c..a0cce84d18871f3a1f0099d134a54f0971944a18 100644 (file)
@@ -1,6 +1,6 @@
 /* nessie_hash_test.h */
 /*
-    This file is part of the This file is part of the AVR-Crypto-Lib.
+    This file is part of the AVR-Crypto-Lib.
     Copyright (C) 2008  Daniel Otte (daniel.otte@rub.de)
 
     This program is free software: you can redistribute it and/or modify
@@ -22,8 +22,8 @@
 #include <stdint.h>
 
 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);