Skip to main content

ENROLLMENT_NONCE_LEN

Constant ENROLLMENT_NONCE_LEN 

pub const ENROLLMENT_NONCE_LEN: usize = 32; // 32usize
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.