]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - test_src/main-md5-test.c
fixing E-Mail-Address & Copyright
[avr-crypto-lib.git] / test_src / main-md5-test.c
index a4054c9add65453b55657fc11dce873d082b2156..e88a91a80fc589e424b0ec92debad6d639159aec 100644 (file)
@@ -1,7 +1,7 @@
 /* main-md5-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 "hfal_md5.h"
 #include "hfal-performance.h"
 
-charalgo_name = "MD5";
+char *algo_name = "MD5";
 
-const hfdesc_tconst algolist[] PROGMEM = {
+const hfdesc_t *const algolist[] PROGMEM = {
        (hfdesc_t*)&md5_desc,
        NULL
 };
@@ -40,7 +40,7 @@ const hfdesc_t* const algolist[] PROGMEM = {
  *  additional validation-functions                                                                                     *
  *****************************************************************************/
 
-void md5_ctx2hash_dummy(void* buffer, void* ctx){
+void md5_ctx2hash_dummy(void *buffer, void *ctx){
        memcpy(buffer, ctx, 16);
 }
 
@@ -77,7 +77,7 @@ void testrun_nessie_md5(void){
 
 void testrun_md5(void){
        md5_hash_t hash;
-       chartestv[]={
+       char *testv[]={
                "", 
                "a", 
                "abc",