Expand description
params.rs - Enhanced polynomial ring parameters with NTT support
Structs§
- MlDsa44
Params - Example: ML-DSA parameter sets
- MlDsa
Params - General ML-DSA parameter set used by the signature implementation
- MlDsa
Params Mont - Optional: ML-DSA parameters with Montgomery output Use this when you need coefficients to stay in Montgomery domain after inverse NTT
Enums§
- Post
InvNtt - Post-processing mode after a Gentleman–Sande inverse NTT.
Traits§
- Modulus
- Basic trait defining the modulus and degree for a polynomial ring
- NttModulus
- Extended trait for NTT-enabled moduli
Functions§
- is_
power_ of_ two - Check if N is a power of 2
- is_
prime - Helper functions for parameter validation Check if a number is prime (simplified check)