diff options
author | lloyd <[email protected]> | 2006-08-15 13:38:36 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2006-08-15 13:38:36 +0000 |
commit | 6210b10f3bfc8c0cc5b7840f7bf3e47a2eade766 (patch) | |
tree | db9d1149295e4c0f085f0d5c2acd4a589db801c9 /modules/alg_ia32/serpent.h | |
parent | a1020c1e451bda023c72f9e26a36d077835ebfb8 (diff) |
Drop the asm-specific serpent.h
Diffstat (limited to 'modules/alg_ia32/serpent.h')
-rw-r--r-- | modules/alg_ia32/serpent.h | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/modules/alg_ia32/serpent.h b/modules/alg_ia32/serpent.h deleted file mode 100644 index 85e0345d0..000000000 --- a/modules/alg_ia32/serpent.h +++ /dev/null @@ -1,33 +0,0 @@ -/************************************************* -* Serpent Header File * -* (C) 1999-2006 The Botan Project * -*************************************************/ - -#ifndef BOTAN_SERPENT_H__ -#define BOTAN_SERPENT_H__ - -#include <botan/base.h> - -namespace Botan { - -/************************************************* -* Serpent * -*************************************************/ -class Serpent : public BlockCipher - { - public: - void clear() throw() { round_key.clear(); } - std::string name() const { return "Serpent"; } - BlockCipher* clone() const { return new Serpent; } - Serpent() : BlockCipher(16, 16, 32, 8) {} - private: - void enc(const byte[], byte[]) const; - void dec(const byte[], byte[]) const; - void key(const byte[], u32bit); - - SecureBuffer<u32bit, 132> round_key; - }; - -} - -#endif |