summaryrefslogtreecommitdiff
path: root/poly1305.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2019-01-27 11:54:35 -0500
committerJeffrey Walton <noloader@gmail.com>2019-01-27 11:54:35 -0500
commit3f37cfc3a3020557c11385db50c3648b87630737 (patch)
tree046ea175c0be9a39219fdfac79442c8c05b21056 /poly1305.cpp
parentf78a5b2eb8c08c9559cce730b28fc2f0c6b92de4 (diff)
downloadcryptopp-git-3f37cfc3a3020557c11385db50c3648b87630737.tar.gz
Update documentation
Diffstat (limited to 'poly1305.cpp')
-rw-r--r--poly1305.cpp3
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
{