This branch contains Jasmin implementations of all 3 parameter-sets of the pure, hedged version of ML-DSA, from which one can obtain ML-DSA assembly implementations for use on the x86-64 platform.
-
Ensure you have the Jasmin compiler installed, using the latest commit on the
main
branch of the project. (If you're installing with nix, this is what we use on CI.). Also ensure thatjasminc
is in the PATH, since this is what the Makefile invokes. -
To generate assembly code for, say, the reference implementation of ML-DSA-65, simply run
env PARAMETER_SET=65 IMPLEMENTATION_TYPE=ref make
. The resulting assembly implementation will be found inml_dsa_65_ref.s
.