/* 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
/*
* \file hfal-nessie.c
* \author Daniel Otte
- * \email daniel.otte@rub.de
+ * \email bg@nerilex.org
* \date 2009-05-10
* \license GPLv3 or later
*
#include <stdint.h>
#include <avr/pgmspace.h>
-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)))];
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)