summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkokke <spam@rowdy.dk>2014-12-08 09:54:58 +0100
committerkokke <spam@rowdy.dk>2014-12-08 09:54:58 +0100
commit339c20868537eb1daab30cfe45ce8fb167c3cace (patch)
tree57a41ee126b438016d2ef46ea92e549b4362e5c2
parentUpdate aes.c (diff)
downloadtiny-AES-c-339c20868537eb1daab30cfe45ce8fb167c3cace.tar
tiny-AES-c-339c20868537eb1daab30cfe45ce8fb167c3cace.tar.gz
tiny-AES-c-339c20868537eb1daab30cfe45ce8fb167c3cace.tar.bz2
tiny-AES-c-339c20868537eb1daab30cfe45ce8fb167c3cace.tar.lz
tiny-AES-c-339c20868537eb1daab30cfe45ce8fb167c3cace.tar.xz
tiny-AES-c-339c20868537eb1daab30cfe45ce8fb167c3cace.tar.zst
tiny-AES-c-339c20868537eb1daab30cfe45ce8fb167c3cace.zip
-rw-r--r--aes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/aes.c b/aes.c
index 4d773cc..cceaad0 100644
--- a/aes.c
+++ b/aes.c
@@ -66,7 +66,7 @@ static uint8_t* in, *out, state[4][4];
static uint8_t RoundKey[176];
// The Key input to the AES Program
-static uint8_t* Key;
+static const uint8_t* Key;
// 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 -