summaryrefslogtreecommitdiff
path: root/tiger.cpp
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2003-07-04 00:17:37 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2003-07-04 00:17:37 +0000
commit572fe07633123ce38abf28c6426356e37aef3a99 (patch)
tree0536d87e504a82920156c239bc5ae6aa43e70ebc /tiger.cpp
parent3e8c979ddc194e043567c036321e67c89f847362 (diff)
downloadcryptopp-572fe07633123ce38abf28c6426356e37aef3a99.tar.gz
create DLL version, fix GetNextIV() bug in CTR and OFB modes
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@87 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'tiger.cpp')
-rw-r--r--tiger.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tiger.cpp b/tiger.cpp
index 1251974..50dfb46 100644
--- a/tiger.cpp
+++ b/tiger.cpp
@@ -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)