Index Mathematics Conjectures nbv lettuce Widgets

mldsa_zeta_table_native

stdlib/dilithium/mldsa/mldsa_zeta_table_native.nbv only in the dilithium field

mldsa_zeta_table_native(static f)

Static table of f * zeta^e for e in 0..512 in the field Z_q itself, where zeta = 1753 is the primitive 512th root of unity used by ML-DSA

Precompiles
loop!
Used by
dilithium/mldsa/mldsa_intt_native, dilithium/mldsa/mldsa_ntt_native

Source

# Static table of f * zeta^e for e in 0..512 in the field Z_q itself, where
# zeta = 1753 is the primitive 512th root of unity used by ML-DSA
(static f)

static mut out[512]
static mut v = f
loop! 512, e {
  out[e] = v
  v = v * 1753
}
out