X-Git-Url: https://git.cryptolib.org/?p=avr-crypto-lib.git;a=blobdiff_plain;f=hfal%2Fhfal-nessie.c;h=1115e665df89f30ed8b3c0eb7c0b3108ee32a8a8;hp=be21078e0ca775cb364ef1bd0e10aa8fea23eb6d;hb=4b5da1dc27a791b5c448274a3db09cd035b33493;hpb=701cee0d98aab48dd3192c8cc7c77eb42581bc56 diff --git a/hfal/hfal-nessie.c b/hfal/hfal-nessie.c index be21078..1115e66 100644 --- a/hfal/hfal-nessie.c +++ b/hfal/hfal-nessie.c @@ -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 #include -void hfal_nessie(const hfdesc_t* hd){ +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* const* hd_list){ - const hfdesc_t* hd; +void hfal_nessie_multiple(const hfdesc_t *const *hd_list){ + const hfdesc_t *hd; for(;;){ hd = (void*)pgm_read_word(hd_list); if(!hd)