Dilithium for Memory Constrained Devices
Reduces Dilithium's memory footprint on constrained devices via polynomial compression, alternative NTT, and schoolbook fallback, reaching under 7 KiB for keygen/signing.
Schemes: Dilithium, ML-DSA
Findings (quotes checked against the source text)
-
Reference and optimized Dilithium implementations in pqm4 on Cortex-M4 need 50-100 KiB of memory, a major obstacle for small IoT platforms.
Reference and optimized implementations of Dilithium in the benchmarking framework pqm4 (Cortex-M4) require 50 – 100 KiB of memory, demonstrating the significant challenge to use Dilithium on small IoT platforms.
-
Polynomial compression, an alternative NTT, and schoolbook fallback for some multiplications substantially reduce Dilithium's memory footprint.
We show that compressing polynomials, using an alternative number theoretic transform, and falling back to the schoolbook method for certain multiplications reduces the memory footprint significantly.
-
First Dilithium implementation where the recommended parameter set uses under 7 KiB for key and signature generation and under 3 KiB for verification.
This results in the first implementation of Dilithium for which the recommended parameter set requires less than 7 KiB of memory for key and signature generation and less than 3 KiB of memory for signature verification.
-
A portable implementation was benchmarked to estimate the performance cost of these memory reductions.
We also provide benchmark details of a portable implementation in order to estimate the performance impact when using these memory reduction methods.
Numbers (as extracted, not quote-checked)
- Reference/optimized Dilithium memory on Cortex-M4 (pqm4): 50 – 100 KiB
- Recommended parameter set memory, key and signature generation (reduced): less than 7 KiB
- Recommended parameter set memory, signature verification (reduced): less than 3 KiB
For builders
Dilithium's memory cost can be cut enough for small embedded signers, so memory-limited validators or hardware wallets are a plausible target for ML-DSA.
Limits
Based on the abstract only; full-text performance numbers were not available, and the results target Cortex-M4-class IoT devices rather than blockchain nodes.