aboutsummaryrefslogtreecommitdiffstats
path: root/include/tea.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/tea.h
parent4a04f965bd43bd591c8973ed025dc312823f1607 (diff)
Modularize all ciphers
Diffstat (limited to 'include/tea.h')
-rw-r--r--include/tea.h32
1 files changed, 0 insertions, 32 deletions
diff --git a/include/tea.h b/include/tea.h
deleted file mode 100644
index 2fc9fe838..000000000
--- a/include/tea.h
+++ /dev/null
@@ -1,32 +0,0 @@
-/*************************************************
-* TEA Header File *
-* (C) 1999-2007 Jack Lloyd *
-*************************************************/
-
-#ifndef BOTAN_TEA_H__
-#define BOTAN_TEA_H__
-
-#include <botan/base.h>
-
-namespace Botan {
-
-/*************************************************
-* TEA *
-*************************************************/
-class BOTAN_DLL TEA : public BlockCipher
- {
- public:
- void clear() throw() { K.clear(); }
- std::string name() const { return "TEA"; }
- BlockCipher* clone() const { return new TEA; }
- TEA() : BlockCipher(8, 16) {}
- private:
- void enc(const byte[], byte[]) const;
- void dec(const byte[], byte[]) const;
- void key(const byte[], u32bit);
- SecureBuffer<u32bit, 4> K;
- };
-
-}
-
-#endif