]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - test_src/main-des-test.c
fixing E-Mail-Address & Copyright
[avr-crypto-lib.git] / test_src / main-des-test.c
index d85a8303d656b77295d851ec711a66ac3680bdf9..27546716c68f35f7a599e08e9057fb8116267367 100644 (file)
@@ -1,7 +1,7 @@
 /* main-des-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
@@ -31,9 +31,9 @@
 #include "bcal_tdes.h"
 #include "bcal_tdes2.h"
 
-charalgo_name = "DES";
+char *algo_name = "DES";
 
-const bcdesc_tconst algolist[] PROGMEM = {
+const bcdesc_t *const algolist[] PROGMEM = {
        (bcdesc_t*)&des_desc,
        (bcdesc_t*)&tdes2_desc,
        (bcdesc_t*)&tdes_desc,
@@ -43,12 +43,12 @@ const bcdesc_t* const algolist[] PROGMEM = {
  *  additional validation-functions                                                                                     *
  *****************************************************************************/
 
-void testrun_nessie_des(const charparam){
+void testrun_nessie_des(const char *param){
        if(!param){
                bcal_nessie_multiple(algolist);
        }else{
                uint8_t i=0;
-               bcdesc_tptr;
+               bcdesc_t *ptr;
                for(;;){
                        ptr = (bcdesc_t*)pgm_read_word(&algolist[i++]);
                        if(ptr == NULL){