From: schwarze Date: Tue, 12 Sep 2023 13:58:06 +0000 (+0000) Subject: document the constant EVP_CHACHAPOLY_TLS_TAG_LEN X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=f1b274227985505e538e739296fd6d85a9ec20fe;p=openbsd document the constant EVP_CHACHAPOLY_TLS_TAG_LEN --- diff --git a/lib/libcrypto/man/EVP_AEAD_CTX_init.3 b/lib/libcrypto/man/EVP_AEAD_CTX_init.3 index 02f6e275d1f..01692c93e62 100644 --- a/lib/libcrypto/man/EVP_AEAD_CTX_init.3 +++ b/lib/libcrypto/man/EVP_AEAD_CTX_init.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: EVP_AEAD_CTX_init.3,v 1.14 2023/09/12 13:29:38 schwarze Exp $ +.\" $OpenBSD: EVP_AEAD_CTX_init.3,v 1.15 2023/09/12 13:58:06 schwarze Exp $ .\" .\" Copyright (c) 2014, Google Inc. .\" Parts of the text were written by Adam Langley and David Benjamin. @@ -279,6 +279,9 @@ ChaCha20 with a Poly1305 authenticator, using a of 32 bytes and a .Fa nonce_len of 12 bytes. +The constant +.Dv EVP_CHACHAPOLY_TLS_TAG_LEN +specifies the length of the authentication tag in bytes and has a value of 16. .It Fn EVP_aead_xchacha20_poly1305 XChaCha20 with a Poly1305 authenticator, using a .Fa key_len diff --git a/lib/libcrypto/man/EVP_chacha20.3 b/lib/libcrypto/man/EVP_chacha20.3 index 14a26b30431..8d0be1ed640 100644 --- a/lib/libcrypto/man/EVP_chacha20.3 +++ b/lib/libcrypto/man/EVP_chacha20.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: EVP_chacha20.3,v 1.6 2023/08/24 04:33:08 tb Exp $ +.\" $OpenBSD: EVP_chacha20.3,v 1.7 2023/09/12 13:58:06 schwarze Exp $ .\" full merge up to: OpenSSL 35fd9953 May 28 14:49:38 2019 +0200 .\" .\" This file is a derived work. @@ -65,7 +65,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: August 24 2023 $ +.Dd $Mdocdate: September 12 2023 $ .Dt EVP_CHACHA20 3 .Os .Sh NAME @@ -135,6 +135,9 @@ argument of 32 bytes = 256 bits and an argument of 12 bytes = 96 bits. This supports additional authenticated data (AAD) and produces a 128-bit authentication tag. +The constant +.Dv EVP_CHACHAPOLY_TLS_TAG_LEN +specifies the length of the authentication tag in bytes and has a value of 16. .Pp The following .Fa type