Skip to main content

mlkem_ntt_w16

Function mlkem_ntt_w16 

Source
pub fn mlkem_ntt_w16(input: &[Word16]) -> Vec<Word16>
Expand description

Word16-native forward NTT — coefficients are carried as Word16 (u16) in [0, q), so the boundary is a plain reinterpret (w.0 as i16, exact since q < 2¹⁵), no rem_euclid and no i64 round-trip. The experimental fast carrier for the Word16-representation crypto.