X-Git-Url: https://git.cryptolib.org/?p=avr-crypto-lib.git;a=blobdiff_plain;f=whirlpool%2Fwhirlpool.c;fp=whirlpool%2Fwhirlpool.c;h=2565b70cc51442540abffdc0bdf494dbe510d2ce;hp=e975b28badd41953cc58e797d88cabee7cc2442d;hb=cc6b183296a5852449e3324737e2a2dece788786;hpb=06d9213f132d05f61b65acc51de6f7ad1b42f48a diff --git a/whirlpool/whirlpool.c b/whirlpool/whirlpool.c index e975b28..2565b70 100644 --- a/whirlpool/whirlpool.c +++ b/whirlpool/whirlpool.c @@ -111,7 +111,7 @@ static const uint8_t sbox[256] PROGMEM = { #endif -static void gamma(uint8_t* a){ +static void gamma_1(uint8_t* a){ uint8_t i; for(i=0; i<64; ++i){ *a = whirlpool_sbox(*a); @@ -161,7 +161,7 @@ static void theta(uint8_t* a){ } static void w_round(uint8_t* a, const uint8_t* k){ - gamma(a); + gamma_1(a); #if DEBUG cli_putstr_P(PSTR("\r\n pre-pi:")); cli_hexdump_block(a, 64, 4, 8);