Apples, Oranges, and Signatures: Pitfalls and Methodology in ML-DSA Benchmarking
Analyzes pitfalls in ML-DSA benchmarking (rejection-sampling timing variability, security-level comparison inconsistencies) and proposes standardized inputs and qualified metrics for fair, worst-case-aware comparison.
Schemes: ML-DSA
Findings (quotes checked against the source text)
-
ML-DSA signing execution time varies inherently due to rejection sampling and other data-dependent components, so min/average/max metrics are unsuitable for migration planning.
We show that execution-time variability of the ML-DSA signing algorithm - an inherent property due to rejection sampling and other data-dependent components - makes commonly used straightforward metrics, e.g., min/average/max, unsuitable for migration planning.
-
Existing ML-DSA benchmarking practices often produce misleading or non-comparable results, including subtle inconsistencies when comparing security levels.
For ML-DSA, however, existing benchmarking practices often produce misleading or non-comparable results, complicating migration and cryptographic agility efforts.
-
The authors propose a benchmarking methodology based on standardized input data sets and clearly qualified reporting metrics.
To address this gap, we propose a robust benchmarking methodology based on standardized input data sets and clearly qualified reporting metrics.
-
The proposed methodology is intended to enable fair comparison across hardware and software implementations and to help real-time designers assess worst-case execution time.
The proposed approach enables fair comparison across hardware and software implementations and supports designers of real-time systems to assess the worst-case execution time.
For builders
Benchmark ML-DSA signing with standardized inputs and worst-case-aware percentile or max reporting, not min/avg/max, before using timings to size a chain's signature budget.
Limits
Based on the ePrint abstract only; full text was not read, so specific numbers, the exact methodology, and the measured variability are unknown.
Topics: sig-lattice benchmarks implementation-sidechannel standards-policy