diff options
author | lloyd <[email protected]> | 2009-11-11 00:04:22 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-11-11 00:04:22 +0000 |
commit | 8bce19a9c8822ed55f23979562103e7af39410ab (patch) | |
tree | 0f4b0ac0796cd9224173cef762010138940e3b05 /src/block/mars/mars.h | |
parent | d850afae3e3efed7e5a8a8d80a8939e87d9045bc (diff) |
Almost double the speed of MARS; from 55 MiB/s to 102 on my Core2.
Diffstat (limited to 'src/block/mars/mars.h')
-rw-r--r-- | src/block/mars/mars.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/block/mars/mars.h b/src/block/mars/mars.h index 8173fb984..7a598d2bd 100644 --- a/src/block/mars/mars.h +++ b/src/block/mars/mars.h @@ -26,12 +26,6 @@ class BOTAN_DLL MARS : public BlockCipher private: void key_schedule(const byte[], u32bit); - void encrypt_round(u32bit&, u32bit&, u32bit&, u32bit&, u32bit) const; - void decrypt_round(u32bit&, u32bit&, u32bit&, u32bit&, u32bit) const; - static void forward_mix(u32bit&, u32bit&, u32bit&, u32bit&); - static void reverse_mix(u32bit&, u32bit&, u32bit&, u32bit&); - - static const u32bit SBOX[512]; SecureBuffer<u32bit, 40> EK; }; |