From d0b856cfbb99b1f1833a18ff556d517a7e3f04d8 Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Wed, 25 Dec 2013 17:31:09 -0800 Subject: Making the necessary changes to get libtommath, libtomcrypt and BigInt to compile under MSVC. --- includes/SHA1.h | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 includes/SHA1.h (limited to 'includes/SHA1.h') diff --git a/includes/SHA1.h b/includes/SHA1.h deleted file mode 100644 index f70f6b7..0000000 --- a/includes/SHA1.h +++ /dev/null @@ -1,24 +0,0 @@ -#pragma once - -#include - -namespace Balau { - -class SHA1 { - public: - SHA1() { reset(); } - void reset(); - void update(const uint8_t* data, const size_t len); - void final(uint8_t * digest); - - enum { DIGEST_SIZE = 20 }; - - private: - void transform(uint32_t state[5], const uint8_t buffer[64]); - - uint32_t m_state[5]; - uint32_t m_count[2]; - uint8_t m_buffer[64]; -}; - -}; -- cgit v1.2.3