Commit 5c525a46 authored by kokke's avatar kokke
Browse files

Update aes.c

parent a3f4606c
...@@ -71,8 +71,10 @@ static uint8_t RoundKey[176]; ...@@ -71,8 +71,10 @@ static uint8_t RoundKey[176];
// The Key input to the AES Program // The Key input to the AES Program
static const uint8_t* Key; static const uint8_t* Key;
// Initial Vector used for CBC mode etc. #if defined(CBC) && CBC
static uint8_t* Iv; // Initial Vector used only for CBC mode
static uint8_t* Iv;
#endif
// The lookup-tables are marked const so they can be placed in read-only storage instead of RAM // The lookup-tables are marked const so they can be placed in read-only storage instead of RAM
// The numbers below can be computed dynamically trading ROM for RAM - // The numbers below can be computed dynamically trading ROM for RAM -
......
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