summaryrefslogtreecommitdiff
path: root/chacha-crypt.c
diff options
context:
space:
mode:
Diffstat (limited to 'chacha-crypt.c')
-rw-r--r--chacha-crypt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chacha-crypt.c b/chacha-crypt.c
index 0bb44ed9..1797bd02 100644
--- a/chacha-crypt.c
+++ b/chacha-crypt.c
@@ -103,7 +103,7 @@ chacha_crypt32(struct chacha_ctx *ctx,
++ctx->state[12];
- /* stopping at 2^70 length per nonce is user's responsibility */
+ /* stopping at 2^38 length per nonce is user's responsibility */
if (length <= CHACHA_BLOCK_SIZE)
{