From c1be958f26d19f1a139a7ac226dc33e87379e901 Mon Sep 17 00:00:00 2001 From: Martin Geisler Date: Fri, 7 Jun 2024 16:20:46 +0200 Subject: [PATCH 1/2] Update URL to match redirect in xchacha.rs --- chacha20/src/xchacha.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chacha20/src/xchacha.rs b/chacha20/src/xchacha.rs index ab0a1ff6..4967a496 100644 --- a/chacha20/src/xchacha.rs +++ b/chacha20/src/xchacha.rs @@ -34,7 +34,7 @@ pub type XNonce = Array; /// several interoperable libraries and protocols (e.g. libsodium, WireGuard) /// and is documented in an (expired) IETF draft: /// -/// +/// pub type XChaCha20 = StreamCipherCoreWrapper>; /// XChaCha12 stream cipher (reduced-round variant of [`XChaCha20`] with 12 rounds) pub type XChaCha12 = StreamCipherCoreWrapper>; From 7f64357e6f17be4cbd954f87b0fcf039e8ea4258 Mon Sep 17 00:00:00 2001 From: Martin Geisler Date: Fri, 7 Jun 2024 16:23:08 +0200 Subject: [PATCH 2/2] Update another URL in xchacha.rs --- chacha20/src/xchacha.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chacha20/src/xchacha.rs b/chacha20/src/xchacha.rs index 4967a496..a9a96c47 100644 --- a/chacha20/src/xchacha.rs +++ b/chacha20/src/xchacha.rs @@ -159,7 +159,7 @@ mod hchacha20_tests { use hex_literal::hex; /// Test vectors from: - /// https://tools.ietf.org/id/draft-arciszewski-xchacha-03.html#rfc.section.2.2.1 + /// https://datatracker.ietf.org/doc/html/draft-irtf-cfrg-xchacha#section-2.2.1 #[test] fn test_vector() { const KEY: [u8; 32] = hex!(