Skip to main content

decompress_poly

Function decompress_poly 

Source
pub fn decompress_poly(d: u32, f: &[u16; 256], out: &mut [u16; 256])
Expand description

Decompress all 256 coefficients of a polynomial from Z_{2^d} to Z_q.

Applies decompress element-wise.

ยงArguments

  • d - Source bit-width.
  • f - Input polynomial with coefficients in [0, 2^d - 1].
  • out - Output polynomial with coefficients in [0, q-1].