From 013b5a30c7b0539ddad5fceb404df1221cb37a29 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Wed, 30 Jan 2019 01:54:08 -0500 Subject: [PATCH] Update comments --- chachapoly.h | 4 +--- 1 file changed, 1 insertion(+), 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;