X-Git-Url: https://git.cryptolib.org/?p=avr-crypto-lib.git;a=blobdiff_plain;f=hfal%2Fhfal-test.c;h=a9b059851d86021a012bbd04529edf4ceeea8052;hp=9efce38e3e49e370adc2e9958ca8a278063b51cb;hb=4b5da1dc27a791b5c448274a3db09cd035b33493;hpb=924aa320bef6f192feecdb67d209c790bd49ea49 diff --git a/hfal/hfal-test.c b/hfal/hfal-test.c index 9efce38..a9b0598 100644 --- a/hfal/hfal-test.c +++ b/hfal/hfal-test.c @@ -1,7 +1,7 @@ /* hfal-test.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-test.c * \author Daniel Otte - * \email daniel.otte@rub.de + * \email bg@nerilex.org * \date 2009-05-10 * \license GPLv3 or later * @@ -31,7 +31,7 @@ #include #include -void hfal_test(const hfdesc_t* hd, void* msg, uint32_t length_b){ +void hfal_test(const hfdesc_t *hd, void *msg, uint32_t length_b){ if(pgm_read_byte(&(hd->type))!=HFDESC_TYPE_HASHFUNCTION) return; uint16_t dlen = (pgm_read_word(&(hd->hashsize_b))+7)/8;