]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - hfal/hfal-nessie.c
global style change (now * is attached to identifier not to type)
[avr-crypto-lib.git] / hfal / hfal-nessie.c
index be21078e0ca775cb364ef1bd0e10aa8fea23eb6d..3e0c0235a114ce8b8df082184f0ddd2183820a4a 100644 (file)
@@ -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* const* 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)