diff options
author | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2004-04-08 01:23:48 +0000 |
---|---|---|
committer | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2004-04-08 01:23:48 +0000 |
commit | 4e91888d8cbace3f1ce41c359253563ca83547cc (patch) | |
tree | 517579efd9a831e8a0ed64ee95f28db84eb1e11e /iterhash.h | |
parent | bfbe78e6952e99e7406af3bfede277d8292eb819 (diff) | |
download | cryptopp-4e91888d8cbace3f1ce41c359253563ca83547cc.tar.gz |
avoid using hash keyword
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@154 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'iterhash.h')
-rw-r--r-- | iterhash.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -61,7 +61,7 @@ public: ConditionalByteReverse(B::ToEnum(), out, in, byteCount); } - void TruncatedFinal(byte *hash, unsigned int size); + void TruncatedFinal(byte *digest, unsigned int size); protected: void HashBlock(const HashWordType *input); @@ -100,7 +100,7 @@ protected: // ************************************************************* -template <class T, class B, class BASE> void IteratedHashBase2<T, B, BASE>::TruncatedFinal(byte *hash, unsigned int size) +template <class T, class B, class BASE> void IteratedHashBase2<T, B, BASE>::TruncatedFinal(byte *digest, unsigned int size) { ThrowIfInvalidTruncatedSize(size); @@ -112,7 +112,7 @@ template <class T, class B, class BASE> void IteratedHashBase2<T, B, BASE>::Trun HashEndianCorrectedBlock(m_data); CorrectEndianess(m_digest, m_digest, DigestSize()); - memcpy(hash, m_digest, size); + memcpy(digest, m_digest, size); Restart(); // reinit for next use } |