From 9920c53d69080e5005cd6ad2aaaf3dd339f80a0f Mon Sep 17 00:00:00 2001 From: kokke Date: Thu, 29 May 2014 02:32:36 +0200 Subject: Update aes.c --- aes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aes.c b/aes.c index 7dd06e4..6a9b641 100644 --- a/aes.c +++ b/aes.c @@ -137,7 +137,7 @@ static void KeyExpansion() } // All other round keys are found from the previous round keys. - for(; (i < (Nb * Nr) + 1); ++i) + for(; (i < (Nb * (Nr + 1)); ++i) { for(j = 0; j < 4; ++j) { -- cgit v1.2.3