X-Git-Url: https://git.cryptolib.org/?p=avr-crypto-lib.git;a=blobdiff_plain;f=scal%2Fscal-nessie.c;h=c9a196cb4b899b54b86ad7fe40ae56499b96e166;hp=8e4f30ccc4eb4c97dfc1a14e766fa54705f5169b;hb=4b5da1dc27a791b5c448274a3db09cd035b33493;hpb=a012cfa921853fb9b8bd484981ab471a9ba25ec9 diff --git a/scal/scal-nessie.c b/scal/scal-nessie.c index 8e4f30c..c9a196c 100644 --- a/scal/scal-nessie.c +++ b/scal/scal-nessie.c @@ -1,7 +1,7 @@ /* scal-nessie.c */ /* This file is part of the AVR-Crypto-Lib. - Copyright (C) 2006-2011 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 @@ -54,7 +54,7 @@ static const char stream3_n[] PROGMEM = "stream[448..511]"; static const char streamX_n_estream[] PROGMEM = "xor-digest"; static const char streamX_n_nessie[] PROGMEM = "stream[0..511]xored"; -static const char* stream_n_str[] = { +static const char *stream_n_str[] = { stream0_n, stream1_n, stream2_n, @@ -68,7 +68,7 @@ static const char stream3_l[] PROGMEM = "stream[131008..131071]"; static const char streamX_l_estream[] PROGMEM = "xor-digest"; static const char streamX_l_nessie[] PROGMEM = "stream[0..131071]xored"; -static const char* stream_l_str[] = { +static const char *stream_l_str[] = { stream0_n, stream1_l, stream2_l, @@ -279,7 +279,7 @@ void scal_nessie_stream_run(const scdesc_t *desc, uint16_t keysize_b, uint16_t i nessie_print_footer(); } -void scal_nessie_run(const scdesc_t* desc){ +void scal_nessie_run(const scdesc_t *desc){ uint16_t keysizes_count, ivsizes_count,i,j; uint16_t *keysizes=NULL, *ivsizes=NULL; keysizes_count = get_keysizes((PGM_VOID_P)pgm_read_word(&(desc->valid_keysize_desc)), &keysizes);