diff options
author | Jeffrey Walton <noloader@gmail.com> | 2019-01-30 01:54:08 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2019-01-30 01:54:08 -0500 |
commit | 013b5a30c7b0539ddad5fceb404df1221cb37a29 (patch) | |
tree | 7535d450a80778f78ba33fc34467cfc9ba36688f /chachapoly.h | |
parent | c1ad534038f044c4428eac21318b0d55927cfabd (diff) | |
download | cryptopp-git-013b5a30c7b0539ddad5fceb404df1221cb37a29.tar.gz |
Update comments
Diffstat (limited to 'chachapoly.h')
-rw-r--r-- | chachapoly.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/chachapoly.h b/chachapoly.h index 01637671..f7f3c784 100644 --- a/chachapoly.h +++ b/chachapoly.h @@ -111,9 +111,7 @@ protected: void AuthenticateLastFooterBlock(byte *mac, size_t macSize);
protected:
- // ChaCha20 does not stash away the user key. There's no way to restart
- // ChaCha once an encryption or decryption is performed. In fact, we
- // cannot even Resynchronize it correctly. Compensate here.
+ // See comments in chachapoly.cpp
void RekeyCipherAndMac(const byte *userKey, size_t userKeyLength, const NameValuePairs ¶ms);
SecByteBlock m_userKey;
|