From 8c33123de1671d67aa0fa0fd1b07e071c1f4616b Mon Sep 17 00:00:00 2001 From: bg Date: Tue, 30 Dec 2008 13:45:18 +0000 Subject: [PATCH] fixing bug in noekeon.c --- random/noekeon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/random/noekeon.c b/random/noekeon.c index f5f5299..8a4c23a 100644 --- a/random/noekeon.c +++ b/random/noekeon.c @@ -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[]