summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorschwarze <>2023-09-12 13:58:06 +0000
committerschwarze <>2023-09-12 13:58:06 +0000
commitb1e593790192a372a3976ce859bd1708b43dc952 (patch)
tree8de82d91f6bb19b75f3fa542a75cb2d61c75b63a /src/lib
parent69216c6b0c10750010be239fe39466c2a5129b34 (diff)
downloadopenbsd-b1e593790192a372a3976ce859bd1708b43dc952.tar.gz
openbsd-b1e593790192a372a3976ce859bd1708b43dc952.tar.bz2
openbsd-b1e593790192a372a3976ce859bd1708b43dc952.zip
document the constant EVP_CHACHAPOLY_TLS_TAG_LEN
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libcrypto/man/EVP_AEAD_CTX_init.35
-rw-r--r--src/lib/libcrypto/man/EVP_chacha20.37
2 files changed, 9 insertions, 3 deletions
diff --git a/src/lib/libcrypto/man/EVP_AEAD_CTX_init.3 b/src/lib/libcrypto/man/EVP_AEAD_CTX_init.3
index 02f6e275d1..01692c93e6 100644
--- a/src/lib/libcrypto/man/EVP_AEAD_CTX_init.3
+++ b/src/lib/libcrypto/man/EVP_AEAD_CTX_init.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: EVP_AEAD_CTX_init.3,v 1.14 2023/09/12 13:29:38 schwarze Exp $ 1.\" $OpenBSD: EVP_AEAD_CTX_init.3,v 1.15 2023/09/12 13:58:06 schwarze Exp $
2.\" 2.\"
3.\" Copyright (c) 2014, Google Inc. 3.\" Copyright (c) 2014, Google Inc.
4.\" Parts of the text were written by Adam Langley and David Benjamin. 4.\" Parts of the text were written by Adam Langley and David Benjamin.
@@ -279,6 +279,9 @@ ChaCha20 with a Poly1305 authenticator, using a
279of 32 bytes and a 279of 32 bytes and a
280.Fa nonce_len 280.Fa nonce_len
281of 12 bytes. 281of 12 bytes.
282The constant
283.Dv EVP_CHACHAPOLY_TLS_TAG_LEN
284specifies the length of the authentication tag in bytes and has a value of 16.
282.It Fn EVP_aead_xchacha20_poly1305 285.It Fn EVP_aead_xchacha20_poly1305
283XChaCha20 with a Poly1305 authenticator, using a 286XChaCha20 with a Poly1305 authenticator, using a
284.Fa key_len 287.Fa key_len
diff --git a/src/lib/libcrypto/man/EVP_chacha20.3 b/src/lib/libcrypto/man/EVP_chacha20.3
index 14a26b3043..8d0be1ed64 100644
--- a/src/lib/libcrypto/man/EVP_chacha20.3
+++ b/src/lib/libcrypto/man/EVP_chacha20.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: EVP_chacha20.3,v 1.6 2023/08/24 04:33:08 tb Exp $ 1.\" $OpenBSD: EVP_chacha20.3,v 1.7 2023/09/12 13:58:06 schwarze Exp $
2.\" full merge up to: OpenSSL 35fd9953 May 28 14:49:38 2019 +0200 2.\" full merge up to: OpenSSL 35fd9953 May 28 14:49:38 2019 +0200
3.\" 3.\"
4.\" This file is a derived work. 4.\" This file is a derived work.
@@ -65,7 +65,7 @@
65.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 65.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
66.\" OF THE POSSIBILITY OF SUCH DAMAGE. 66.\" OF THE POSSIBILITY OF SUCH DAMAGE.
67.\" 67.\"
68.Dd $Mdocdate: August 24 2023 $ 68.Dd $Mdocdate: September 12 2023 $
69.Dt EVP_CHACHA20 3 69.Dt EVP_CHACHA20 3
70.Os 70.Os
71.Sh NAME 71.Sh NAME
@@ -135,6 +135,9 @@ argument of 32 bytes = 256 bits and an
135argument of 12 bytes = 96 bits. 135argument of 12 bytes = 96 bits.
136This supports additional authenticated data (AAD) and produces a 128-bit 136This supports additional authenticated data (AAD) and produces a 128-bit
137authentication tag. 137authentication tag.
138The constant
139.Dv EVP_CHACHAPOLY_TLS_TAG_LEN
140specifies the length of the authentication tag in bytes and has a value of 16.
138.Pp 141.Pp
139The following 142The following
140.Fa type 143.Fa type