]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - test_src/main-rc5-test.c
fixing E-Mail-Address & Copyright
[avr-crypto-lib.git] / test_src / main-rc5-test.c
index 827a966dc5ffd5552a57e8038798b22af92626af..46f5e75db07c77bd4b7945cad271ffb5935f9d33 100644 (file)
@@ -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
-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);
 }