diff options
author | lloyd <[email protected]> | 2014-01-01 21:20:55 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2014-01-01 21:20:55 +0000 |
commit | 197dc467dec28a04c3b2f30da7cef122dfbb13e9 (patch) | |
tree | cdbd3ddaec051c72f0a757db461973d90c37b97a /src/hash/bmw_512/bmw_512.h | |
parent | 62faac373c07cfe10bc8c309e89ebdd30d8e5eaa (diff) |
Shuffle things around. Add NIST X.509 test to build.
Diffstat (limited to 'src/hash/bmw_512/bmw_512.h')
-rw-r--r-- | src/hash/bmw_512/bmw_512.h | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/src/hash/bmw_512/bmw_512.h b/src/hash/bmw_512/bmw_512.h deleted file mode 100644 index b9ea63578..000000000 --- a/src/hash/bmw_512/bmw_512.h +++ /dev/null @@ -1,38 +0,0 @@ -/* -* Blue Midnight Wish 512 (Round 2 tweaked) -* (C) 2009 Jack Lloyd -* -* Distributed under the terms of the Botan license -*/ - -#ifndef BOTAN_BMW_512_H__ -#define BOTAN_BMW_512_H__ - -#include <botan/mdx_hash.h> - -namespace Botan { - -/** -* Blue Midnight Wish 512 (Round 2 tweaked version) -*/ -class BOTAN_DLL BMW_512 : public MDx_HashFunction - { - public: - std::string name() const { return "BMW512"; } - size_t output_length() const { return 64; } - HashFunction* clone() const { return new BMW_512; } - - void clear(); - - BMW_512() : MDx_HashFunction(128, false, true), H(16), M(16), Q(32) - { clear(); } - private: - void compress_n(const byte input[], size_t blocks); - void copy_out(byte output[]); - - secure_vector<u64bit> H, M, Q; - }; - -} - -#endif |