Skip to main content

Q

Constant Q 

Source
pub const Q: i32 = 8380417;
Expand description

The prime modulus q = 2^23 - 2^13 + 1 = 8380417.

All polynomial arithmetic in ML-DSA is performed modulo this prime.