commit | d4f877ea3c16cd6b3c2b7071b427aff6af2ae345 | [log] [tgz] |
---|---|---|
author | David Benjamin <davidben@google.com> | Thu Apr 29 15:30:25 2021 -0400 |
committer | Adam Langley <agl@google.com> | Fri Apr 30 16:26:11 2021 +0000 |
tree | f221e41e0f9e22aabac2b3d8910e8c27310f860a | |
parent | 1cf78cd290542e8575c5139907d61dbad5b6f49d [diff] |
Reference the newer ChaCha20-Poly1305 RFC. Just some errata applied, otherwise the same. https://tools.ietf.org/rfcdiff?url2=rfc8439&url1=rfc7539 Change-Id: I0cf5d50eeca7840d0ab99c54e06f1008ac423211 Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/47264 Reviewed-by: Adam Langley <agl@google.com>
diff --git a/include/openssl/aead.h b/include/openssl/aead.h index eb51de1..38eb076 100644 --- a/include/openssl/aead.h +++ b/include/openssl/aead.h
@@ -122,7 +122,7 @@ OPENSSL_EXPORT const EVP_AEAD *EVP_aead_aes_256_gcm(void); // EVP_aead_chacha20_poly1305 is the AEAD built from ChaCha20 and -// Poly1305 as described in RFC 7539. +// Poly1305 as described in RFC 8439. OPENSSL_EXPORT const EVP_AEAD *EVP_aead_chacha20_poly1305(void); // EVP_aead_xchacha20_poly1305 is ChaCha20-Poly1305 with an extended nonce that
diff --git a/include/openssl/chacha.h b/include/openssl/chacha.h index 684fc5b..cfbaa75 100644 --- a/include/openssl/chacha.h +++ b/include/openssl/chacha.h
@@ -23,7 +23,7 @@ // ChaCha20. // -// ChaCha20 is a stream cipher. See https://tools.ietf.org/html/rfc7539. +// ChaCha20 is a stream cipher. See https://tools.ietf.org/html/rfc8439. // CRYPTO_chacha_20 encrypts |in_len| bytes from |in| with the given key and