Skip to main content

rej_uniform

Function rej_uniform 

Source
fn rej_uniform(
    coeffs: &mut [Elem<BaseField>; 256],
    n: usize,
    bytes: &[u8],
) -> usize
Expand description

Parse bytes into 12-bit candidates, append those below q to coeffs[n..], and return the new number of coefficients (Algorithm 7, steps 3-15).