]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - hfal/hfal-nessie.c
fixing E-Mail-Address & Copyright
[avr-crypto-lib.git] / hfal / hfal-nessie.c
index 7188d0ec92102873b330aaa40c2ba01572fad926..1115e665df89f30ed8b3c0eb7c0b3108ee32a8a8 100644 (file)
@@ -1,7 +1,7 @@
 /* hfal-nessie.c */
 /*
     This file is part of the AVR-Crypto-Lib.
-    Copyright (C) 2009  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
@@ -19,7 +19,7 @@
 /*
  * \file    hfal-nessie.c
  * \author  Daniel Otte
- * \email   daniel.otte@rub.de
+ * \email   bg@nerilex.org
  * \date    2009-05-10
  * \license GPLv3 or later
  * 
@@ -30,7 +30,7 @@
 #include <stdint.h>
 #include <avr/pgmspace.h>
 
-void hfal_nessie(const hfdesc_thd){
+void hfal_nessie(const hfdesc_t *hd){
        if(pgm_read_byte(&(hd->type))!=HFDESC_TYPE_HASHFUNCTION)
                return;
        char name[1+strlen_P((void*)pgm_read_word(&(hd->name)))];
@@ -48,8 +48,8 @@ void hfal_nessie(const hfdesc_t* hd){
        nessie_hash_run();
 }
 
-void hfal_nessie_multiple(const hfdesc_t** hd_list){
-       const hfdesc_thd;
+void hfal_nessie_multiple(const hfdesc_t *const *hd_list){
+       const hfdesc_t *hd;
        for(;;){
                hd = (void*)pgm_read_word(hd_list);
                if(!hd)