From caf9e032e6b4ccb114a74a3936c916bcfaba262d Mon Sep 17 00:00:00 2001 From: weidai Date: Mon, 2 Mar 2009 02:39:17 +0000 Subject: changes for 5.6: - added AuthenticatedSymmetricCipher interface class and Filter wrappers - added CCM, GCM (with SSE2 assembly), CMAC, and SEED - improved AES speed on x86 and x64 - removed WORD64_AVAILABLE; compiler 64-bit int support is now required git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@433 57ff6487-cd31-0410-9ec3-f628ee90f5f0 --- panama.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'panama.cpp') diff --git a/panama.cpp b/panama.cpp index 879ea5d..da84e36 100644 --- a/panama.cpp +++ b/panama.cpp @@ -443,8 +443,9 @@ void PanamaCipherPolicy::CipherSetKey(const NameValuePairs ¶ms, const byt } template -void PanamaCipherPolicy::CipherResynchronize(byte *keystreamBuffer, const byte *iv) +void PanamaCipherPolicy::CipherResynchronize(byte *keystreamBuffer, const byte *iv, size_t length) { + assert(length==32); this->Reset(); this->Iterate(1, m_key); if (iv && IsAligned(iv)) -- cgit v1.2.1