]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - test_src/main-skein-test.c
fixing E-Mail-Address & Copyright
[avr-crypto-lib.git] / test_src / main-skein-test.c
index e38bf878cf54f4678185a45c9262f20599519906..1191100ff619813614044f1924e49d46a159925c 100644 (file)
@@ -1,7 +1,7 @@
 /* main-skein-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
@@ -34,9 +34,9 @@
 #include "hfal-nessie.h"
 #include "hfal-basic.h"
 
-charalgo_name = "Skein";
+char *algo_name = "Skein";
 
-const hfdesc_tconst algolist[] PROGMEM = {
+const hfdesc_t *const algolist[] PROGMEM = {
        (hfdesc_t*)&skein256_128_desc,
        (hfdesc_t*)&skein256_160_desc,
        (hfdesc_t*)&skein256_224_desc,
@@ -181,7 +181,7 @@ void zeromsg_test_skein(uint16_t outsize_b){
        cli_hexdump_block(hash, (outsize_b+7)/8, 4, 16);
 }
 
-void zeromsg_test_common(charp){
+void zeromsg_test_common(char *p){
        uint8_t i;
        uint16_t s=0;
        uint16_t sizes[]={128, 160, 224, 256, 384, 512, 1024};