Update aes.c

This commit is contained in:
kokke 2014-05-29 02:32:36 +02:00
parent 592d2c5bc4
commit 9920c53d69

2
aes.c
View File

@ -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)
{