]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - test_src/main-camellia-test.c
fixing E-Mail-Address & Copyright
[avr-crypto-lib.git] / test_src / main-camellia-test.c
index 39702db4012b67576c41f9f3ac11a22f5f02d22b..4eb03959048136febf3596385972aa4b078ceda8 100644 (file)
@@ -1,7 +1,7 @@
 /* main-camellia-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-nessie.h"
 
-charalgo_name = "Camellia";
+char *algo_name = "Camellia";
 
-const bcdesc_tconst algolist[] PROGMEM = {
+const bcdesc_t *const algolist[] PROGMEM = {
        (bcdesc_t*)&camellia128_desc,
        NULL
 };
@@ -61,7 +61,7 @@ const uint8_t test_keys[] PROGMEM = {
        0xEF, 0xCD, 0xAB, 0x89, 0x67, 0x45, 0x23, 0x01, 0x10, 0x32, 0x54, 0x76, 0x98, 0xBA, 0xDC, 0xFE
 };
 
-void hexdump128(voiddata){
+void hexdump128(void *data){
        uint8_t i;
        for(i=0; i<16; ++i){
                cli_hexdump(data, 1);