X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=hfal%2Fhfal-nessie.c;h=3e0c0235a114ce8b8df082184f0ddd2183820a4a;hb=e542ff92d053ecf40b42364a44bc887431cecae2;hp=7188d0ec92102873b330aaa40c2ba01572fad926;hpb=924aa320bef6f192feecdb67d209c790bd49ea49;p=avr-crypto-lib.git diff --git a/hfal/hfal-nessie.c b/hfal/hfal-nessie.c index 7188d0e..3e0c023 100644 --- a/hfal/hfal-nessie.c +++ b/hfal/hfal-nessie.c @@ -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** 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)