From 2b0a6b6b762750269aab766b45139c5bf33c961f Mon Sep 17 00:00:00 2001 From: Christian Kroll Date: Wed, 21 May 2014 07:21:12 +0200 Subject: [PATCH] resolved name clash (gamma() is also defined elsewhere in the avr-realm) --- src/random/noekeon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/random/noekeon.c b/src/random/noekeon.c index ea15f27..5772e8d 100644 --- a/src/random/noekeon.c +++ b/src/random/noekeon.c @@ -39,7 +39,7 @@ #define RC_POS 0 static -void gamma(uint32_t* a){ +void noekeon_gamma(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); + noekeon_gamma(state); pi2(state); }