X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=test_src%2Fmain-rc6-test.c;h=46eff9f40f2d8658b6bc16cfc16c1ba6627cae88;hb=d9352fc79fbdee0cf3288809b104ea196ea85693;hp=f486ee3a5469dc277b50745374cd899b4a275fb6;hpb=a45c328791dc391e6432051ee0c7972ef7fd8d9a;p=avr-crypto-lib.git diff --git a/test_src/main-rc6-test.c b/test_src/main-rc6-test.c index f486ee3..46eff9f 100644 --- a/test_src/main-rc6-test.c +++ b/test_src/main-rc6-test.c @@ -1,7 +1,7 @@ /* main-rc6-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 @@ -30,16 +30,16 @@ #include "bcal_rc6.h" #define RC6_ROUNDS 20 -char* algo_name = "RC6-32/20/16"; +char *algo_name = "RC6-32/20/16"; -const bcdesc_t* const algolist[] PROGMEM = { +const bcdesc_t *const algolist[] PROGMEM = { (bcdesc_t*)&rc6_desc, NULL }; /***************************************************************************** * additional validation-functions * *****************************************************************************/ -void rc6_genctx_dummy(uint8_t* key, uint16_t keysize_b, void* ctx){ +void rc6_genctx_dummy(uint8_t *key, uint16_t keysize_b, void *ctx){ rc6_initl(key, keysize_b, RC6_ROUNDS, ctx); }