From: tb Date: Thu, 24 Aug 2023 04:33:08 +0000 (+0000) Subject: Update references from RFC 7539 to RFC 8439 X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=229d624cca26d3049be19236bb291753f697723b;p=openbsd Update references from RFC 7539 to RFC 8439 RFC 7539 was superseded by RFC 8439, incorporating errata and making editorial improvements. Very little of substance changed, in particular section numbers remain the same. Prompted by a question from schwarze --- diff --git a/lib/libcrypto/evp/e_chacha20poly1305.c b/lib/libcrypto/evp/e_chacha20poly1305.c index a17657899b6..33d09315e0d 100644 --- a/lib/libcrypto/evp/e_chacha20poly1305.c +++ b/lib/libcrypto/evp/e_chacha20poly1305.c @@ -1,4 +1,4 @@ -/* $OpenBSD: e_chacha20poly1305.c,v 1.30 2023/07/07 19:37:53 beck Exp $ */ +/* $OpenBSD: e_chacha20poly1305.c,v 1.31 2023/08/24 04:33:08 tb Exp $ */ /* * Copyright (c) 2022 Joel Sing @@ -106,7 +106,7 @@ poly1305_pad16(poly1305_state *poly1305, size_t data_len) static const unsigned char zero_pad16[16]; size_t pad_len; - /* pad16() is defined in RFC 7539 2.8.1. */ + /* pad16() is defined in RFC 8439 2.8.1. */ if ((pad_len = data_len % 16) == 0) return; @@ -330,7 +330,7 @@ aead_xchacha20_poly1305_open(const EVP_AEAD_CTX *ctx, unsigned char *out, return 1; } -/* RFC 7539 */ +/* RFC 8439 */ static const EVP_AEAD aead_chacha20_poly1305 = { .key_len = 32, .nonce_len = CHACHA20_NONCE_LEN, diff --git a/lib/libcrypto/man/EVP_AEAD_CTX_init.3 b/lib/libcrypto/man/EVP_AEAD_CTX_init.3 index fac1696d749..ad37842cc88 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.12 2023/08/23 13:46:42 schwarze Exp $ +.\" $OpenBSD: EVP_AEAD_CTX_init.3,v 1.13 2023/08/24 04:33:08 tb Exp $ .\" .\" Copyright (c) 2014, Google Inc. .\" Parts of the text were written by Adam Langley and David Benjamin. @@ -16,7 +16,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: August 23 2023 $ +.Dd $Mdocdate: August 24 2023 $ .Dt EVP_AEAD_CTX_INIT 3 .Os .Sh NAME @@ -383,8 +383,8 @@ style used by AEAD in TLS and incompatible with RFC 7905: .Rs .%A Y. Nir .%A A. Langley -.%D May 2015 -.%R RFC 7539 +.%D June 2018 +.%R RFC 8439 .%T ChaCha20 and Poly1305 for IETF Protocols .Re .Pp diff --git a/lib/libcrypto/man/EVP_chacha20.3 b/lib/libcrypto/man/EVP_chacha20.3 index 55e730ec9cc..14a26b30431 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.5 2023/08/24 04:23:30 tb Exp $ +.\" $OpenBSD: EVP_chacha20.3,v 1.6 2023/08/24 04:33:08 tb Exp $ .\" full merge up to: OpenSSL 35fd9953 May 28 14:49:38 2019 +0200 .\" .\" This file is a derived work. @@ -281,8 +281,8 @@ style used by AEAD in TLS and incompatible with RFC 7905: .Rs .%A Y. Nir .%A A. Langley -.%D May 2015 -.%R RFC 7539 +.%D May 2018 +.%R RFC 8439 .%T ChaCha20 and Poly1305 for IETF Protocols .Re .Pp