From dedba6ff09f78b96dbc5a2b3a13fb8825f438d3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=B6ller?= Date: Mon, 9 Mar 2020 22:15:21 +0100 Subject: Minor fixes for chacha comments and docs. --- chacha-crypt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chacha-crypt.c') 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) { -- cgit v1.2.1