Skip to main content

ENROLLMENT_NONCE_LEN

Constant ENROLLMENT_NONCE_LEN 

Source
pub const ENROLLMENT_NONCE_LEN: usize = 32;
Expand description

The length of each side’s per-ceremony nonce. Device keys are static — the initiator’s are already published — so without fresh randomness on both sides a man in the middle could predict one side’s input and grind the code offline.