aboutsummaryrefslogtreecommitdiffstats
path: root/include/xtea.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-09-28 16:45:45 +0000
committerlloyd <[email protected]>2008-09-28 16:45:45 +0000
commitae478c48af11cf4e148dddfb4b748d56d311ca67 (patch)
tree5387bd630455c3f5567a67f2ac1e2c1b01fc37ea /include/xtea.h
parent4a04f965bd43bd591c8973ed025dc312823f1607 (diff)
Modularize all ciphers
Diffstat (limited to 'include/xtea.h')
-rw-r--r--include/xtea.h32
1 files changed, 0 insertions, 32 deletions
diff --git a/include/xtea.h b/include/xtea.h
deleted file mode 100644
index 193c13bb9..000000000
--- a/include/xtea.h
+++ /dev/null
@@ -1,32 +0,0 @@
-/*************************************************
-* XTEA Header File *
-* (C) 1999-2007 Jack Lloyd *
-*************************************************/
-
-#ifndef BOTAN_XTEA_H__
-#define BOTAN_XTEA_H__
-
-#include <botan/base.h>
-
-namespace Botan {
-
-/*************************************************
-* XTEA *
-*************************************************/
-class BOTAN_DLL XTEA : public BlockCipher
- {
- public:
- void clear() throw() { EK.clear(); }
- std::string name() const { return "XTEA"; }
- BlockCipher* clone() const { return new XTEA; }
- XTEA() : BlockCipher(8, 16) {}
- private:
- void enc(const byte[], byte[]) const;
- void dec(const byte[], byte[]) const;
- void key(const byte[], u32bit);
- SecureBuffer<u32bit, 64> EK;
- };
-
-}
-
-#endif