26#ifndef CX_MLDSA_SMALLPOLY_H
27#define CX_MLDSA_SMALLPOLY_H
29#ifdef HAVE_MLDSA_OPTIMIZATION
36#define MLDSA_SMALL_Q 3329
38#define MLDSA_SMALL_QINV (-3327)
55void MLDSA_SMALLPOLY_ntt(int16_t r[
MLDSA_N]);
62void MLDSA_SMALLPOLY_invntt_tomont(int16_t r[
MLDSA_N]);
73void MLDSA_SMALLPOLY_ntt_copy(mldsa_smallpoly *out,
const mldsa_poly *in);
85void MLDSA_SMALLPOLY_basemul_invntt(
mldsa_poly *r,
86 const mldsa_smallpoly *a,
87 const mldsa_smallpoly *b);
96void MLDSA_SMALLPOLY_unpack_eta(mldsa_smallpoly *r,
const uint8_t *a, uint8_t eta);
ML-DSA (Module-Lattice Digital Signature Algorithm) public API.
Polynomial with MLDSA_N int32_t coefficients.