Expand description
Modular-arithmetic kernels for transform workloads.
These kernels keep exact residue-field arithmetic in Hermes instead of
forcing downstream crates to duplicate butterfly loops around SIMD-facing
provider boundaries. Multiplication uses u128 widening because the
numerical contract is exact modular arithmetic, not wrapping arithmetic.
Functionsยง
- ntt_
butterfly_ stage_ u64 - Executes one radix-2 NTT butterfly stage in place.