Update aes.c

This commit is contained in:
kokke
2014-05-29 03:49:13 +02:00
parent c385f09c94
commit 9545494087

2
aes.c
View File

@@ -124,7 +124,7 @@ static uint8_t getSBoxValue(uint8_t num)
// This function produces Nb(Nr+1) round keys. The round keys are used in each round to decrypt the states.
static void KeyExpansion()
{
uint8_t i, j, k;
uint32_t i, j, k;
uint8_t tempa[4]; // used for the column/row operations
// The first round key is the key itself.