]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - test_src/main-cscipher-test.c
fixing E-Mail-Address & Copyright
[avr-crypto-lib.git] / test_src / main-cscipher-test.c
index b8191f783b95b85ce34847a5d478b154c952fb29..f49c0d5f8a58828df82fcd34183d586ca8308be6 100644 (file)
@@ -1,7 +1,7 @@
 /* main-cscipher-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
@@ -29,9 +29,9 @@
 #include "bcal-performance.h"
 #include "bcal_cscipher.h"
 
-charalgo_name = "CS-Cipher";
+char *algo_name = "CS-Cipher";
 
-const bcdesc_tconst algolist[] PROGMEM = {
+const bcdesc_t *const algolist[] PROGMEM = {
        (bcdesc_t*)&cscipher_desc,
        NULL
 };
@@ -40,7 +40,7 @@ const bcdesc_t* const algolist[] PROGMEM = {
  *  additional validation-functions                                                                                     *
  *****************************************************************************/
 
-void cscipher_init_dummy(const uint8_t* key, uint16_t keysize_b, void* ctx){
+void cscipher_init_dummy(const uint8_t *key, uint16_t keysize_b, void *ctx){
        cscipher_init(key, ctx);
 }