mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-05 14:10:51 +02:00
Rust wrapper: document XChaCha20Poly1305 encrypt_in_place_detached maximum buffer length
This commit is contained in:
@@ -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>,
|
||||
|
||||
Reference in New Issue
Block a user