VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Volume/Hash.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Volume/Hash.h')
-rw-r--r--src/Volume/Hash.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/Volume/Hash.h b/src/Volume/Hash.h
index befdd631..70872d54 100644
--- a/src/Volume/Hash.h
+++ b/src/Volume/Hash.h
@@ -65,28 +65,6 @@ namespace VeraCrypt
65 Ripemd160 &operator= (const Ripemd160 &); 65 Ripemd160 &operator= (const Ripemd160 &);
66 }; 66 };
67 67
68 // SHA-1
69 class Sha1 : public Hash
70 {
71 public:
72 Sha1 ();
73 virtual ~Sha1 () { }
74
75 virtual void GetDigest (const BufferPtr &buffer);
76 virtual size_t GetBlockSize () const { return 64; }
77 virtual size_t GetDigestSize () const { return 160 / 8; }
78 virtual wstring GetName () const { return L"SHA-1"; }
79 virtual shared_ptr <Hash> GetNew () const { return shared_ptr <Hash> (new Sha1); }
80 virtual void Init ();
81 virtual void ProcessData (const ConstBufferPtr &data);
82
83 protected:
84
85 private:
86 Sha1 (const Sha1 &);
87 Sha1 &operator= (const Sha1 &);
88 };
89
90 // SHA-512 68 // SHA-512
91 class Sha512 : public Hash 69 class Sha512 : public Hash
92 { 70 {