X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=noekeon%2Fnoekeon.c;h=0fbdcf9f5da903693887b0a95829cdc040867e37;hb=cc6b183296a5852449e3324737e2a2dece788786;hp=8c4d6be2191980939cce0bad552842e3c216b87b;hpb=06d9213f132d05f61b65acc51de6f7ad1b42f48a;p=avr-crypto-lib.git diff --git a/noekeon/noekeon.c b/noekeon/noekeon.c index 8c4d6be..0fbdcf9 100644 --- a/noekeon/noekeon.c +++ b/noekeon/noekeon.c @@ -39,7 +39,7 @@ #define RC_POS 0 static -void gamma(uint32_t* a){ +void gamma_1(uint32_t* a){ uint32_t tmp; a[1] ^= ~((a[3]) | (a[2])); @@ -94,7 +94,7 @@ void noekeon_round(uint32_t* key, uint32_t* state, uint8_t const1, uint8_t const theta(key, state); ((uint8_t*)state)[RC_POS] ^= const2; pi1(state); - gamma(state); + gamma_1(state); pi2(state); }