X-Git-Url: https://git.cryptolib.org/?p=avr-crypto-lib.git;a=blobdiff_plain;f=test_src%2Fmain-des-test.c;h=27546716c68f35f7a599e08e9057fb8116267367;hp=d85a8303d656b77295d851ec711a66ac3680bdf9;hb=4b5da1dc27a791b5c448274a3db09cd035b33493;hpb=27f4804c185ae24b3b6367bb2fdb898d6692d0f6 diff --git a/test_src/main-des-test.c b/test_src/main-des-test.c index d85a830..2754671 100644 --- a/test_src/main-des-test.c +++ b/test_src/main-des-test.c @@ -1,7 +1,7 @@ /* main-des-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 @@ -31,9 +31,9 @@ #include "bcal_tdes.h" #include "bcal_tdes2.h" -char* algo_name = "DES"; +char *algo_name = "DES"; -const bcdesc_t* const algolist[] PROGMEM = { +const bcdesc_t *const algolist[] PROGMEM = { (bcdesc_t*)&des_desc, (bcdesc_t*)&tdes2_desc, (bcdesc_t*)&tdes_desc, @@ -43,12 +43,12 @@ const bcdesc_t* const algolist[] PROGMEM = { * additional validation-functions * *****************************************************************************/ -void testrun_nessie_des(const char* param){ +void testrun_nessie_des(const char *param){ if(!param){ bcal_nessie_multiple(algolist); }else{ uint8_t i=0; - bcdesc_t* ptr; + bcdesc_t *ptr; for(;;){ ptr = (bcdesc_t*)pgm_read_word(&algolist[i++]); if(ptr == NULL){