Skip to main content

reduce_mod_l

Function reduce_mod_l 

Source
pub fn reduce_mod_l(input_le: &[u8]) -> [u8; 57]
Expand description

Reduce an arbitrary little-endian integer modulo L, returning the 57-octet little-endian residue (the high octet is always 0; sized to match the signature’s S field). Fixed-iteration bit-serial long division — constant-time in the number of input bits.