diff options
author | Igor Pavlov <ipavlov@users.sourceforge.net> | 2008-05-05 04:00:00 +0400 |
---|---|---|
committer | Kornel LesiĆski <kornel@geekhood.net> | 2016-05-28 02:15:55 +0300 |
commit | 3901bf0ab88106a5b031cba7bc18d60cdebf7eef (patch) | |
tree | 808a2489abed822223b118b64e0553db80af6087 /CPP/7zip/Crypto/Hash/Sha256.h | |
parent | bd1fa36322ac27f5715433b388742893d6524516 (diff) |
4.58 beta
Diffstat (limited to 'CPP/7zip/Crypto/Hash/Sha256.h')
-rwxr-xr-x | CPP/7zip/Crypto/Hash/Sha256.h | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/CPP/7zip/Crypto/Hash/Sha256.h b/CPP/7zip/Crypto/Hash/Sha256.h deleted file mode 100755 index e4788f41..00000000 --- a/CPP/7zip/Crypto/Hash/Sha256.h +++ /dev/null @@ -1,30 +0,0 @@ -// Crypto/Sha256.h - -#ifndef __CRYPTO_SHA256_H -#define __CRYPTO_SHA256_H - -#include "Common/Types.h" - -namespace NCrypto { -namespace NSha256 { - -class CContext -{ - static const UInt32 K[64]; - - UInt32 _state[8]; - UInt64 _count; - Byte _buffer[64]; - static void Transform(UInt32 *digest, const UInt32 *data); - void WriteByteBlock(); -public: - enum {DIGESTSIZE = 32}; - CContext() { Init(); } ; - void Init(); - void Update(const Byte *data, size_t size); - void Final(Byte *digest); -}; - -}} - -#endif |