use crate::coeff::{
Coefficients,
SIMD_UNITS_IN_RING_ELEMENT,
};
use crate::field::montgomery_multiply_coeffs;
use crate::generated_invntt::invert_ntt_montgomery;
use crate::generated_ntt::ntt_forward as ntt_forward_generated;
#[inline]
pub fn ntt_forward_simd(re: &mut [Coefficients; SIMD_UNITS_IN_RING_ELEMENT]) {
ntt_forward_generated(re);
}
#[inline]
pub fn intt_montgomery(re: &mut [Coefficients; SIMD_UNITS_IN_RING_ELEMENT]) {
invert_ntt_montgomery(re);
}
#[inline]
pub fn ntt_multiply_montgomery(lhs: &mut Coefficients, rhs: &Coefficients) {
montgomery_multiply_coeffs(lhs, rhs);
}