X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=noekeon.c;h=fe720a6bb005651aedbcefaf805cdf83d042bf1a;hb=17332291e15183d71d88ed868275e3cb53917180;hp=f5f52994b8e04681cfa96db2d89fc8ab225f696f;hpb=c135a8edfcb616f3bbececfd970336bb013dd214;p=avr-crypto-lib.git diff --git a/noekeon.c b/noekeon.c index f5f5299..fe720a6 100644 --- a/noekeon.c +++ b/noekeon.c @@ -1,6 +1,6 @@ /* noekeon.c */ /* - This file is part of the Crypto-avr-lib/microcrypt-lib. + This file is part of the This file is part of the AVR-Crypto-Lib. Copyright (C) 2008 Daniel Otte (daniel.otte@rub.de) This program is free software: you can redistribute it and/or modify @@ -93,9 +93,9 @@ void noekeon_round(uint32_t* key, uint32_t* state, uint8_t const1, uint8_t const ((uint8_t*)state)[RC_POS] ^= const1; theta(key, state); ((uint8_t*)state)[RC_POS] ^= const2; + pi1(state); gamma(state); pi2(state); - pi1(state); } uint8_t rc_tab[]