Commit 9920c53d authored by kokke's avatar kokke
Browse files

Update aes.c

parent 592d2c5b
...@@ -137,7 +137,7 @@ static void KeyExpansion() ...@@ -137,7 +137,7 @@ static void KeyExpansion()
} }
// All other round keys are found from the previous round keys. // 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) for(j = 0; j < 4; ++j)
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment