]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - test_src/main-rc5-test.c
global style change (now * is attached to identifier not to type)
[avr-crypto-lib.git] / test_src / main-rc5-test.c
index 827a966dc5ffd5552a57e8038798b22af92626af..23e183c04da24c67645172852a0197504457129e 100644 (file)
@@ -30,9 +30,9 @@
 #include "bcal_rc5.h"
 
 #define RC5_ROUNDS 12
-charalgo_name = "RC5-32/12/16";
+char *algo_name = "RC5-32/12/16";
 
-const bcdesc_tconst 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);
 }