mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2024-11-23 09:59:42 +00:00
avoid using hash keyword
This commit is contained in:
parent
42ec076020
commit
c2f6c37e6d
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user