X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=noekeon%2Fnoekeon.c;h=cbf36a855b1f8c68b3a8d9d41f37644472817943;hb=7390f9235d6bc08b7fe34a5f43a04bd3b58f6ea6;hp=b48704753d87beb1ea6bfa5097357603c4e3385c;hpb=d70d1d77bab1a5f5278227d674bc59da0378fe15;p=arm-crypto-lib.git diff --git a/noekeon/noekeon.c b/noekeon/noekeon.c index b487047..cbf36a8 100644 --- a/noekeon/noekeon.c +++ b/noekeon/noekeon.c @@ -31,7 +31,7 @@ #ifdef __AVR__ #include #endif -#include "noekeon/noekeon.h" +#include "noekeon.h" // #include "cli.h" #define ROUND_NR 16 @@ -39,7 +39,7 @@ #define RC_POS 0 static -void gamma(uint32_t* a){ +void gamma_x(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_x(state); pi2(state); }