From caa452aed32f0b1b0e4bdde1cf977a33641dcec2 Mon Sep 17 00:00:00 2001 From: Fabio Scotoni <34964387+fscoto@users.noreply.github.com> Date: Tue, 31 Mar 2020 13:44:00 +0200 Subject: [PATCH] doc: crypto_xchacha20 does XChaCha20, not Chacha20 --- doc/man/man3/crypto_chacha20.3monocypher | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/man/man3/crypto_chacha20.3monocypher b/doc/man/man3/crypto_chacha20.3monocypher index 0563dab..a6e1c2b 100644 --- a/doc/man/man3/crypto_chacha20.3monocypher +++ b/doc/man/man3/crypto_chacha20.3monocypher @@ -50,7 +50,7 @@ .\" with this software. If not, see .\" .\" -.Dd March 2, 2020 +.Dd March 31, 2020 .Dt CRYPTO_CHACHA20 3MONOCYPHER .Os .Sh NAME @@ -157,7 +157,7 @@ It uses an 8-byte nonce, which is too small to be selected at random. Use a message counter as a nonce instead. .Pp .Fn crypto_xchacha20 -performs an Chacha20 operation. +performs an XChacha20 operation. It uses a 24-byte nonce, which is large enough to be selected at random. .Pp .Fn crypto_xchacha20 -- 2.47.3