aboutsummaryrefslogtreecommitdiffstats
path: root/src/hash/md5/md5.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/hash/md5/md5.h')
-rw-r--r--src/hash/md5/md5.h46
1 files changed, 0 insertions, 46 deletions
diff --git a/src/hash/md5/md5.h b/src/hash/md5/md5.h
deleted file mode 100644
index bc90df0af..000000000
--- a/src/hash/md5/md5.h
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
-* MD5
-* (C) 1999-2008 Jack Lloyd
-*
-* Distributed under the terms of the Botan license
-*/
-
-#ifndef BOTAN_MD5_H__
-#define BOTAN_MD5_H__
-
-#include <botan/mdx_hash.h>
-
-namespace Botan {
-
-/**
-* MD5
-*/
-class BOTAN_DLL MD5 : public MDx_HashFunction
- {
- public:
- std::string name() const { return "MD5"; }
- size_t output_length() const { return 16; }
- HashFunction* clone() const { return new MD5; }
-
- void clear();
-
- MD5() : MDx_HashFunction(64, false, true), M(16), digest(4)
- { clear(); }
- protected:
- void compress_n(const byte[], size_t blocks);
- void copy_out(byte[]);
-
- /**
- * The message buffer, exposed for use by subclasses (x86 asm)
- */
- secure_vector<u32bit> M;
-
- /**
- * The digest value, exposed for use by subclasses (x86 asm)
- */
- secure_vector<u32bit> digest;
- };
-
-}
-
-#endif