]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - whirlpool/whirlpool.c
some fixes, mainly at rsaes-pkcs1v15
[avr-crypto-lib.git] / whirlpool / whirlpool.c
index e975b28badd41953cc58e797d88cabee7cc2442d..2565b70cc51442540abffdc0bdf494dbe510d2ce 100644 (file)
@@ -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);