Skip to main content

Module poly

Module poly 

Source
Expand description

Coefficient (Poly) vs NTT (NttPoly) newtypes.

Structs§

NttPoly
Polynomial in the NTT domain (Montgomery-lane representation).
Poly
Polynomial in the time (coefficient) domain, canonical representatives mod q.

Functions§

polys_norm_within_bound
Returns 1 iff every polynomial in polys has infinity norm at most bound.
simd_from_i256
Fill SIMD layout from the first 256 coefficients of buf (ML-DSA from_i32_array order).