X-Git-Url: https://git.cryptolib.org/?p=avr-crypto-lib.git;a=blobdiff_plain;f=test_src%2Fmain-md5-test.c;h=e88a91a80fc589e424b0ec92debad6d639159aec;hp=a4054c9add65453b55657fc11dce873d082b2156;hb=4b5da1dc27a791b5c448274a3db09cd035b33493;hpb=a45c328791dc391e6432051ee0c7972ef7fd8d9a diff --git a/test_src/main-md5-test.c b/test_src/main-md5-test.c index a4054c9..e88a91a 100644 --- a/test_src/main-md5-test.c +++ b/test_src/main-md5-test.c @@ -1,7 +1,7 @@ /* main-md5-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 @@ -29,9 +29,9 @@ #include "hfal_md5.h" #include "hfal-performance.h" -char* algo_name = "MD5"; +char *algo_name = "MD5"; -const hfdesc_t* const algolist[] PROGMEM = { +const hfdesc_t *const algolist[] PROGMEM = { (hfdesc_t*)&md5_desc, NULL }; @@ -40,7 +40,7 @@ const hfdesc_t* const algolist[] PROGMEM = { * additional validation-functions * *****************************************************************************/ -void md5_ctx2hash_dummy(void* buffer, void* ctx){ +void md5_ctx2hash_dummy(void *buffer, void *ctx){ memcpy(buffer, ctx, 16); } @@ -77,7 +77,7 @@ void testrun_nessie_md5(void){ void testrun_md5(void){ md5_hash_t hash; - char* testv[]={ + char *testv[]={ "", "a", "abc",