Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Mar 2021 23:21:25 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: a899ce4ba4c4 - main - The ChaCha20 counter is little endian, not big endian.
Message-ID:  <202103032321.123NLPOF093529@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=a899ce4ba4c404d342bf892b8b756b66fc65d6b5

commit a899ce4ba4c404d342bf892b8b756b66fc65d6b5
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2021-03-03 23:17:37 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2021-03-03 23:20:57 +0000

    The ChaCha20 counter is little endian, not big endian.
    
    Reviewed by:    cem
    Sponsored by:   Netflix
    Differential Revision:  https://reviews.freebsd.org/D28755
---
 share/man/man7/crypto.7 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/share/man/man7/crypto.7 b/share/man/man7/crypto.7
index ccc2d1fc9be3..6e5bd83621aa 100644
--- a/share/man/man7/crypto.7
+++ b/share/man/man7/crypto.7
@@ -27,7 +27,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd February 18, 2021
+.Dd March 3, 2021
 .Dt CRYPTO 7
 .Os
 .Sh NAME
@@ -136,7 +136,7 @@ counter rollover.
 .Dv CRYPTO_CHACHA20
 accepts a 16 byte IV.
 The first 8 bytes are used as a nonce.
-The last 8 bytes are used as 64-bit big-endian block counter.
+The last 8 bytes are used as a 64-bit little-endian block counter.
 .Ss Authenticated Encryption with Associated Data Algorithms
 AEAD algorithms in OCF combine a stream cipher with an authentication
 algorithm to provide both secrecy and authentication.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103032321.123NLPOF093529>