diff options
author | lloyd <[email protected]> | 2009-11-11 00:20:28 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-11-11 00:20:28 +0000 |
commit | b48b803bc3dca27e78a72caa70b66d8817c78092 (patch) | |
tree | 6b0a1c734dac018d6d3a19ce045d2c014f9ab00e /src/block/aes/aes.h | |
parent | 8bce19a9c8822ed55f23979562103e7af39410ab (diff) |
Inline all of the AES tables into an anon namespace in aes.cpp. Turns out
to give a 3-7% speed improvement on Core2 with GCC.
Diffstat (limited to 'src/block/aes/aes.h')
-rw-r--r-- | src/block/aes/aes.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/block/aes/aes.h b/src/block/aes/aes.h index 229ce307c..4ff3360de 100644 --- a/src/block/aes/aes.h +++ b/src/block/aes/aes.h @@ -31,11 +31,6 @@ class BOTAN_DLL AES : public BlockCipher void key_schedule(const byte[], u32bit); static u32bit S(u32bit); - static const byte SE[256]; - static const byte SD[256]; - static const u32bit TE[1024]; - static const u32bit TD[1024]; - u32bit ROUNDS; SecureBuffer<u32bit, 56> EK; |