]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - test_src/main-groestl-test.c
turning on software flow control for uart
[avr-crypto-lib.git] / test_src / main-groestl-test.c
index 0c7b0b3b1fa6dc3e253e4be30a0d49d1ed012d52..607b85881688aca6e31d2a1fb46269e08f70e2a4 100644 (file)
@@ -1,7 +1,7 @@
 /* main-groestl-test.c */
 /*
     This file is part of the AVR-Crypto-Lib.
-    Copyright (C) 2008  Daniel Otte (daniel.otte@rub.de)
+    Copyright (C) 2006-2015 Daniel Otte (bg@nerilex.org)
 
     This program is free software: you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
 #include "nessie_hash_test.h"
 #include "performance_test.h"
 
-charalgo_name = "Groestl";
+char *algo_name = "Groestl";
 
 
-const hfdesc_tconst algolist[] PROGMEM = {
+const hfdesc_t *const algolist[] PROGMEM = {
        (hfdesc_t*)&groestl224_desc,
        (hfdesc_t*)&groestl256_desc,
        (hfdesc_t*)&groestl384_desc,
@@ -52,19 +52,19 @@ const hfdesc_t* const algolist[] PROGMEM = {
 void testrun_nessie_groestl(void){
        hfal_nessie_multiple(algolist);
 }
-void groestl224_test(voidmsg, uint32_t length_b){
+void groestl224_test(void *msg, uint32_t length_b){
        hfal_test(&groestl224_desc, msg, length_b);
 }
 
-void groestl256_test(voidmsg, uint32_t length_b){
+void groestl256_test(void *msg, uint32_t length_b){
        hfal_test(&groestl256_desc, msg, length_b);
 }
 
-void groestl384_test(voidmsg, uint32_t length_b){
+void groestl384_test(void *msg, uint32_t length_b){
        hfal_test(&groestl384_desc, msg, length_b);
 }
 
-void groestl512_test(voidmsg, uint32_t length_b){
+void groestl512_test(void *msg, uint32_t length_b){
        hfal_test(&groestl512_desc, msg, length_b);
 }