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.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/block/aes/aes.cpp b/src/block/aes/aes.cpp
index b19699dbc..7f32d243c 100644
--- a/src/block/aes/aes.cpp
+++ b/src/block/aes/aes.cpp
@@ -9,9 +9,6 @@
#include <botan/loadstor.h>
#include <botan/rotate.h>
-#include <assert.h>
-#include <stdio.h>
-
namespace Botan {
namespace {
@@ -616,7 +613,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);