diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/alg_ia32/modinfo.txt | 1 | ||||
-rw-r--r-- | modules/alg_ia32/serpent.h | 33 |
2 files changed, 0 insertions, 34 deletions
diff --git a/modules/alg_ia32/modinfo.txt b/modules/alg_ia32/modinfo.txt index 1f85f5497..02581578f 100644 --- a/modules/alg_ia32/modinfo.txt +++ b/modules/alg_ia32/modinfo.txt @@ -4,7 +4,6 @@ replace_file md4.cpp replace_file md5.cpp replace_file sha160.cpp replace_file serpent.cpp -replace_file serpent.h add_file asm_macr.h 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 |