Skip to main content

MAX_DRAW_LEN

Constant MAX_DRAW_LEN 

Source
pub const MAX_DRAW_LEN: usize = _ /* 8_160usize */;
Expand description

Longest value a single draw can produce: the HKDF-Expand output limit of 255 * HashLen bytes (RFC 5869), with SHA-256’s 32-byte output. [expand] panics beyond this, so anything replaying a recorded draw must bound the requested length by this value first.