Update comments

This commit is contained in:
Jeffrey Walton 2019-01-30 01:54:08 -05:00
parent c1ad534038
commit 013b5a30c7
No known key found for this signature in database
GPG Key ID: B36AB348921B1838

View File

@ -111,9 +111,7 @@ protected:
void AuthenticateLastFooterBlock(byte *mac, size_t macSize); void AuthenticateLastFooterBlock(byte *mac, size_t macSize);
protected: protected:
// ChaCha20 does not stash away the user key. There's no way to restart // See comments in chachapoly.cpp
// ChaCha once an encryption or decryption is performed. In fact, we
// cannot even Resynchronize it correctly. Compensate here.
void RekeyCipherAndMac(const byte *userKey, size_t userKeyLength, const NameValuePairs &params); void RekeyCipherAndMac(const byte *userKey, size_t userKeyLength, const NameValuePairs &params);
SecByteBlock m_userKey; SecByteBlock m_userKey;