Rust wrapper: document XChaCha20Poly1305 encrypt_in_place_detached maximum buffer length

This commit is contained in:
Josh Holtrop
2026-03-25 13:48:03 -04:00
parent 5d9439c581
commit 444f90553a
@@ -459,6 +459,7 @@ impl aead::KeyInit for XChaCha20Poly1305Aead {
#[cfg(all(xchacha20_poly1305, feature = "aead"))]
impl aead::AeadInPlace for XChaCha20Poly1305Aead {
// This function can encrypt a maximum of 4096 bytes.
fn encrypt_in_place_detached(
&self,
nonce: &aead::Nonce<Self>,