Skip to content

Commit

Permalink
chacha20poly1305: update URL for draft-irtf-cfrg-xchacha (#608)
Browse files Browse the repository at this point in the history
  • Loading branch information
mgeisler authored Jul 22, 2024
1 parent ad109f3 commit eebc8ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion chacha20poly1305/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
//! proof from the XSalsa20 paper to the construction in order to demonstrate
//! that XChaCha20 is secure if ChaCha20 is secure (see Section 3.1):
//!
//! <https://tools.ietf.org/html/draft-arciszewski-xchacha-03>
//! <https://datatracker.ietf.org/doc/html/draft-irtf-cfrg-xchacha>
//!
//! It is worth noting that NaCl/libsodium's default "secretbox" algorithm is
//! XSalsa20Poly1305, not XChaCha20Poly1305, and thus not compatible with
Expand Down
2 changes: 1 addition & 1 deletion chacha20poly1305/tests/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ mod chacha20 {

/// XChaCha20Poly1305 test vectors.
///
/// From <https://tools.ietf.org/html/draft-arciszewski-xchacha-03#appendix-A.1>
/// From <https://datatracker.ietf.org/doc/html/draft-irtf-cfrg-xchacha#appendix-A.1>
mod xchacha20 {
use super::{AAD, KEY, PLAINTEXT};
use chacha20poly1305::aead::array::Array;
Expand Down

0 comments on commit eebc8ac

Please sign in to comment.