1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
pub const PSKLEN: usize = 32;
pub const CIPHERKEYLEN: usize = 32;
pub const TAGLEN: usize = 16;

pub const MAXHASHLEN: usize = 64;
pub const MAXBLOCKLEN: usize = 128;
pub const MAXDHLEN: usize = 56;
pub const MAXMSGLEN: usize = 65535;

#[cfg(feature = "hfs")]
pub const MAXKEMPUBLEN: usize = 4096;
#[cfg(feature = "hfs")]
pub const MAXKEMCTLEN: usize = 4096;
#[cfg(feature = "hfs")]
pub const MAXKEMSSLEN: usize = 32;