X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=test_src%2Fmain-rc5-test.c;h=46f5e75db07c77bd4b7945cad271ffb5935f9d33;hb=1f6be6ce98d01772fbb1f4d5205a13bea896a1f1;hp=827a966dc5ffd5552a57e8038798b22af92626af;hpb=a45c328791dc391e6432051ee0c7972ef7fd8d9a;p=avr-crypto-lib.git diff --git a/test_src/main-rc5-test.c b/test_src/main-rc5-test.c index 827a966..46f5e75 100644 --- a/test_src/main-rc5-test.c +++ b/test_src/main-rc5-test.c @@ -1,7 +1,7 @@ /* main-rc5-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,9 +30,9 @@ #include "bcal_rc5.h" #define RC5_ROUNDS 12 -char* algo_name = "RC5-32/12/16"; +char *algo_name = "RC5-32/12/16"; -const bcdesc_t* const algolist[] PROGMEM = { +const bcdesc_t *const algolist[] PROGMEM = { (bcdesc_t*)&rc5_desc, NULL }; @@ -40,7 +40,7 @@ const bcdesc_t* const algolist[] PROGMEM = { /***************************************************************************** * additional validation-functions * *****************************************************************************/ -void rc5_genctx_dummy(uint8_t* key, uint16_t keysize_b, void* ctx){ +void rc5_genctx_dummy(uint8_t *key, uint16_t keysize_b, void *ctx){ rc5_init(key, keysize_b, RC5_ROUNDS, ctx); }