Commit 95454940 authored by kokke's avatar kokke
Browse files

Update aes.c

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