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 and ARMv7M platforms.
-
Ensure you have the Jasmin compiler installed, using the latest commit on the
main
branch of the project. Also ensure thatjasminc
is in the PATH, since this is what the Makefile invokes. -
To generate assembly code for, say, the AVX2 implementation of ML-DSA-65 on the x86-64 platform, simply run
env ARCHITECTURE=x86-64 PARAMETER_SET=65 IMPLEMENTATION_TYPE=avx2 make
. The resulting assembly implementation will be found inml_dsa_65_avx2_x86-64.s
.