diff options
Diffstat (limited to 'panama.cpp')
-rw-r--r-- | panama.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -443,8 +443,9 @@ void PanamaCipherPolicy<B>::CipherSetKey(const NameValuePairs ¶ms, const byt } template <class B> -void PanamaCipherPolicy<B>::CipherResynchronize(byte *keystreamBuffer, const byte *iv) +void PanamaCipherPolicy<B>::CipherResynchronize(byte *keystreamBuffer, const byte *iv, size_t length) { + assert(length==32); this->Reset(); this->Iterate(1, m_key); if (iv && IsAligned<word32>(iv)) |