diff options
author | David Clark <david.a.clark@nokia.com> | 2010-11-18 16:20:48 +1000 |
---|---|---|
committer | David Clark <david.a.clark@nokia.com> | 2010-11-18 16:20:48 +1000 |
commit | c223232bc15106750da632598047a35ad3762723 (patch) | |
tree | 403f7aa2c3a5a912edce6feae869046c89d29178 /botan/src/hash/md2/md2.h | |
parent | b984b0b62076067f1f75db5a7eda5aaa2cdaad2a (diff) |
Diffstat (limited to 'botan/src/hash/md2/md2.h')
-rw-r--r-- | botan/src/hash/md2/md2.h | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/botan/src/hash/md2/md2.h b/botan/src/hash/md2/md2.h deleted file mode 100644 index 9337c43..0000000 --- a/botan/src/hash/md2/md2.h +++ /dev/null @@ -1,37 +0,0 @@ -/* -* MD2 -* (C) 1999-2007 Jack Lloyd -* -* Distributed under the terms of the Botan license -*/ - -#ifndef BOTAN_MD2_H__ -#define BOTAN_MD2_H__ - -#include <botan/hash.h> - -namespace Botan { - -/* -* MD2 -*/ -class BOTAN_DLL MD2 : public HashFunction - { - public: - void clear() throw(); - std::string name() const { return "MD2"; } - HashFunction* clone() const { return new MD2; } - MD2() : HashFunction(16, 16) { clear(); } - private: - void add_data(const byte[], u32bit); - void hash(const byte[]); - void final_result(byte[]); - - SecureBuffer<byte, 48> X; - SecureBuffer<byte, 16> checksum, buffer; - u32bit position; - }; - -} - -#endif |