aboutsummaryrefslogtreecommitdiffstats
path: root/src/block/aes/aes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/block/aes/aes.cpp')
-rw-r--r--src/block/aes/aes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/block/aes/aes.cpp b/src/block/aes/aes.cpp
index b19699dbc..d510a4a24 100644
--- a/src/block/aes/aes.cpp
+++ b/src/block/aes/aes.cpp
@@ -616,7 +616,7 @@ void aes_key_schedule(const byte key[], size_t length,
0x01000000, 0x02000000, 0x04000000, 0x08000000, 0x10000000,
0x20000000, 0x40000000, 0x80000000, 0x1B000000, 0x36000000 };
- const u32bit rounds = (length / 4) + 6;
+ const size_t rounds = (length / 4) + 6;
SecureVector<u32bit> XEK(length + 32), XDK(length + 32);