ml_dsa_parameter_sets

Attribute Macro ml_dsa_parameter_sets 

Source
#[ml_dsa_parameter_sets]
Expand description

Annotation for a generic ML-DSA implementation, which pulls in parameter-set specific constants.

Given a list of parameter set identifiers, i.e. 44,65,87, for each identifier $id a feature-gated module ml_dsa_$id is generated, which pulls in the parameter specific constants, assumed to be specified in crate::constants::ml_dsa_$id. Further, type aliases for for signing, and verification keys, whole keypairs and signatures are created.