diff options
| author | schwarze <> | 2023-09-12 13:58:06 +0000 |
|---|---|---|
| committer | schwarze <> | 2023-09-12 13:58:06 +0000 |
| commit | 2a2d6268ba904d1de3302e40f0e32cd44943959e (patch) | |
| tree | 8de82d91f6bb19b75f3fa542a75cb2d61c75b63a /src/lib/libcrypto/man | |
| parent | 5400d11c7cb0cfeb23a4ea14475adb2d4e4ec0e0 (diff) | |
| download | openbsd-2a2d6268ba904d1de3302e40f0e32cd44943959e.tar.gz openbsd-2a2d6268ba904d1de3302e40f0e32cd44943959e.tar.bz2 openbsd-2a2d6268ba904d1de3302e40f0e32cd44943959e.zip | |
document the constant EVP_CHACHAPOLY_TLS_TAG_LEN
Diffstat (limited to 'src/lib/libcrypto/man')
| -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 |
