]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - test_src/main-rc6-test.c
fixing E-Mail-Address & Copyright
[avr-crypto-lib.git] / test_src / main-rc6-test.c
index f486ee3a5469dc277b50745374cd899b4a275fb6..46eff9f40f2d8658b6bc16cfc16c1ba6627cae88 100644 (file)
@@ -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
 #include "bcal_rc6.h"
 
 #define RC6_ROUNDS 20
-charalgo_name = "RC6-32/20/16";
+char *algo_name = "RC6-32/20/16";
 
-const bcdesc_tconst 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);
 }