summaryrefslogtreecommitdiffstats
path: root/aes.c
diff options
context:
space:
mode:
authorkokke <spam@rowdy.dk>2014-05-29 03:49:13 +0200
committerkokke <spam@rowdy.dk>2014-05-29 03:49:13 +0200
commit9545494087f7731f062c24dca892218c4736b996 (patch)
tree6bb597491b4a904a6ebc9f4736ea90d0eec8b83a /aes.c
parentUpdate README (diff)
downloadtiny-AES-c-9545494087f7731f062c24dca892218c4736b996.tar
tiny-AES-c-9545494087f7731f062c24dca892218c4736b996.tar.gz
tiny-AES-c-9545494087f7731f062c24dca892218c4736b996.tar.bz2
tiny-AES-c-9545494087f7731f062c24dca892218c4736b996.tar.lz
tiny-AES-c-9545494087f7731f062c24dca892218c4736b996.tar.xz
tiny-AES-c-9545494087f7731f062c24dca892218c4736b996.tar.zst
tiny-AES-c-9545494087f7731f062c24dca892218c4736b996.zip
Diffstat (limited to 'aes.c')
-rw-r--r--aes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/aes.c b/aes.c
index aa45fbf..3025fa4 100644
--- a/aes.c
+++ b/aes.c
@@ -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.