diff options
author | weidai <weidai11@users.noreply.github.com> | 2003-07-04 00:17:37 +0000 |
---|---|---|
committer | weidai <weidai11@users.noreply.github.com> | 2003-07-04 00:17:37 +0000 |
commit | f278895908e663a6a5a2c1f63e5523c5004f5d20 (patch) | |
tree | 0536d87e504a82920156c239bc5ae6aa43e70ebc /tiger.cpp | |
parent | e43f74604744291d3a99b8bfe81d94af4ba6abbd (diff) | |
download | cryptopp-git-f278895908e663a6a5a2c1f63e5523c5004f5d20.tar.gz |
create DLL version, fix GetNextIV() bug in CTR and OFB modes
Diffstat (limited to 'tiger.cpp')
-rw-r--r-- | tiger.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -8,11 +8,11 @@ NAMESPACE_BEGIN(CryptoPP) -void Tiger::Init() +void Tiger::InitState(HashWordType *state) { - m_digest[0] = W64LIT(0x0123456789ABCDEF); - m_digest[1] = W64LIT(0xFEDCBA9876543210); - m_digest[2] = W64LIT(0xF096A5B4C3B2E187); + state[0] = W64LIT(0x0123456789ABCDEF); + state[1] = W64LIT(0xFEDCBA9876543210); + state[2] = W64LIT(0xF096A5B4C3B2E187); } void Tiger::TruncatedFinal(byte *hash, unsigned int size) |