lib_q_duplex_aead/params.rs
1//! Parameter sizes for duplex-sponge AEAD (Keccak-f\[1600\], rate 136 bytes).
2
3/// Sponge rate in bytes (17 × 64-bit lanes).
4pub const RATE_BYTES: usize = 136;
5/// Keccak-f\[1600\] state lane count.
6pub const PLEN: usize = 25;
7/// User key size (256 bits).
8pub const KEY_BYTES: usize = 32;
9/// Nonce size (128 bits).
10pub const NONCE_BYTES: usize = 16;
11/// Authentication tag size (256 bits).
12pub const TAG_BYTES: usize = 32;