//! Shared sizing for the per-connection TLS staging buffers.
use ;
/// Max size of one TLS 1.3 record on the wire (header + spec-max ciphertext body).
pub const MAX_TLS_RECORD: usize = HEADER_LEN + MAX_CIPHERTEXT_BODY;
/// Headroom above one record for in-place AEAD open/compaction.
pub const STAGING_HEADROOM: usize = 8 * 1024;
/// Capacity of each per-connection staging buffer (egress / recv / send).
pub const TLS_STAGING_CAP: usize = MAX_TLS_RECORD + STAGING_HEADROOM;