diff options
author | schwarze <> | 2023-09-12 13:58:06 +0000 |
---|---|---|
committer | schwarze <> | 2023-09-12 13:58:06 +0000 |
commit | b1e593790192a372a3976ce859bd1708b43dc952 (patch) | |
tree | 8de82d91f6bb19b75f3fa542a75cb2d61c75b63a /src/lib | |
parent | 69216c6b0c10750010be239fe39466c2a5129b34 (diff) | |
download | openbsd-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.3 | 5 | ||||
-rw-r--r-- | src/lib/libcrypto/man/EVP_chacha20.3 | 7 |
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 | |||
279 | of 32 bytes and a | 279 | of 32 bytes and a |
280 | .Fa nonce_len | 280 | .Fa nonce_len |
281 | of 12 bytes. | 281 | of 12 bytes. |
282 | The constant | ||
283 | .Dv EVP_CHACHAPOLY_TLS_TAG_LEN | ||
284 | specifies 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 |
283 | XChaCha20 with a Poly1305 authenticator, using a | 286 | XChaCha20 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 | |||
135 | argument of 12 bytes = 96 bits. | 135 | argument of 12 bytes = 96 bits. |
136 | This supports additional authenticated data (AAD) and produces a 128-bit | 136 | This supports additional authenticated data (AAD) and produces a 128-bit |
137 | authentication tag. | 137 | authentication tag. |
138 | The constant | ||
139 | .Dv EVP_CHACHAPOLY_TLS_TAG_LEN | ||
140 | specifies the length of the authentication tag in bytes and has a value of 16. | ||
138 | .Pp | 141 | .Pp |
139 | The following | 142 | The following |
140 | .Fa type | 143 | .Fa type |