Struct ring::aead::quic::HeaderProtectionKey [−][src]
pub struct HeaderProtectionKey { /* fields omitted */ }
Expand description
A key for generating QUIC Header Protection masks.
Implementations
Create a new header protection key.
key_bytes
must be exactly algorithm.key_len
bytes long.
Generate a new QUIC Header Protection mask.
sample
must be exactly self.algorithm().sample_len()
bytes long.