X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=test_src%2Fmain-groestl-test.c;h=607b85881688aca6e31d2a1fb46269e08f70e2a4;hb=b8aa8d06134ce687993cb3148d66ebd86dbf1d6f;hp=0c7b0b3b1fa6dc3e253e4be30a0d49d1ed012d52;hpb=a45c328791dc391e6432051ee0c7972ef7fd8d9a;p=avr-crypto-lib.git diff --git a/test_src/main-groestl-test.c b/test_src/main-groestl-test.c index 0c7b0b3..607b858 100644 --- a/test_src/main-groestl-test.c +++ b/test_src/main-groestl-test.c @@ -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 @@ -34,10 +34,10 @@ #include "nessie_hash_test.h" #include "performance_test.h" -char* algo_name = "Groestl"; +char *algo_name = "Groestl"; -const hfdesc_t* const 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(void* msg, uint32_t length_b){ +void groestl224_test(void *msg, uint32_t length_b){ hfal_test(&groestl224_desc, msg, length_b); } -void groestl256_test(void* msg, uint32_t length_b){ +void groestl256_test(void *msg, uint32_t length_b){ hfal_test(&groestl256_desc, msg, length_b); } -void groestl384_test(void* msg, uint32_t length_b){ +void groestl384_test(void *msg, uint32_t length_b){ hfal_test(&groestl384_desc, msg, length_b); } -void groestl512_test(void* msg, uint32_t length_b){ +void groestl512_test(void *msg, uint32_t length_b){ hfal_test(&groestl512_desc, msg, length_b); }