From 6210b10f3bfc8c0cc5b7840f7bf3e47a2eade766 Mon Sep 17 00:00:00 2001 From: lloyd Date: Tue, 15 Aug 2006 13:38:36 +0000 Subject: Drop the asm-specific serpent.h --- modules/alg_ia32/serpent.h | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 modules/alg_ia32/serpent.h (limited to 'modules/alg_ia32/serpent.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 - -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 round_key; - }; - -} - -#endif -- cgit v1.2.3