clatter 0.1.3-alpha

no_std compatible implementation of Noise protocol framework with Post-Quantum extensions
Documentation
1
2
3
4
5
6
7
8
9
10
/// Maximum cipher key length supported
pub const MAX_KEY_LEN: usize = 32;
/// Maximum cipher tag length supported
pub const MAX_TAG_LEN: usize = 16;
/// Maximum Noise message length
pub const MAX_MESSAGE_LEN: usize = 65535;
/// PSK token length
pub const PSK_LEN: usize = 32;
/// How many PSKs a handshake pattern can have
pub const MAX_PSKS: usize = 4;