ssh_packet/packet/
mac.rs

1/// The algorithm parameters for the _Message Authentication Code_.
2pub trait Mac {
3    /// The size of the MAC at the end of the SSH packet.
4    fn size(&self) -> usize;
5
6    /// Whether the MAC is applied over encrypted data.
7    fn etm(&self) -> bool;
8}