summaryrefslogtreecommitdiff
path: root/chachapoly.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2019-01-30 01:54:08 -0500
committerJeffrey Walton <noloader@gmail.com>2019-01-30 01:54:08 -0500
commit013b5a30c7b0539ddad5fceb404df1221cb37a29 (patch)
tree7535d450a80778f78ba33fc34467cfc9ba36688f /chachapoly.h
parentc1ad534038f044c4428eac21318b0d55927cfabd (diff)
downloadcryptopp-git-013b5a30c7b0539ddad5fceb404df1221cb37a29.tar.gz
Update comments
Diffstat (limited to 'chachapoly.h')
-rw-r--r--chachapoly.h4
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 &params);
SecByteBlock m_userKey;