diff options
author | Jeffrey Walton <noloader@gmail.com> | 2019-01-27 11:54:35 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2019-01-27 11:54:35 -0500 |
commit | 3f37cfc3a3020557c11385db50c3648b87630737 (patch) | |
tree | 046ea175c0be9a39219fdfac79442c8c05b21056 /poly1305.cpp | |
parent | f78a5b2eb8c08c9559cce730b28fc2f0c6b92de4 (diff) | |
download | cryptopp-git-3f37cfc3a3020557c11385db50c3648b87630737.tar.gz |
Update documentation
Diffstat (limited to 'poly1305.cpp')
-rw-r--r-- | poly1305.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/poly1305.cpp b/poly1305.cpp index c478d131..b25c8ad5 100644 --- a/poly1305.cpp +++ b/poly1305.cpp @@ -346,8 +346,7 @@ void Poly1305TLS_Base::Update(const byte *input, size_t length) // Process
memcpy_s(m_acc + num, BLOCKSIZE - num, input, rem);
Poly1305_HashBlocks(m_h, m_r, m_acc, BLOCKSIZE, 1);
- input += rem;
- length -= rem;
+ input += rem; length -= rem;
}
else
{
|