Optimized Implementation of ML-KEM on ARMv9-A with SVE2 and SME
Optimizes ML-KEM (FIPS 203) on ARMv9-A using SVE2 and SME, proposing vector-based and matrix-based NTT variants benchmarked on Apple M4 Pro.
Schemes: ML-KEM, VecNTT, MatNTT
Findings (quotes checked against the source text)
-
VecNTT and MatNTT achieve up to 7.18x and 7.77x speedups over the reference ML-KEM implementation on Apple M4 Pro.
Experimental results on the Apple M4 Pro processor demonstrate that VecNTT and MatNTT achieve performance improvements of up to $7.18\times$ and $7.77\times$, respectively, compared to the reference implementation.
-
Matrix-vector polynomial multiplication, the main ML-KEM bottleneck, is accelerated by up to 5.27x.
Furthermore, the matrix-vector polynomial multiplication, which is the primary computational bottleneck of ML-KEM, is accelerated by up to $5.27\times$.
-
The full ML-KEM implementation gains 52.47% to 60.09% speedup in key encapsulation across all security levels.
Our full ML-KEM implementation achieves a 52.47% to 60.09% speedup in key encapsulation across all security levels.
-
Claims to be the first to implement and evaluate ML-KEM using SVE2 and SME on real ARMv9-A hardware.
To the best of our knowledge, this is the first work to implement and evaluate ML-KEM leveraging SVE2 and SME on real ARMv9-A hardware, providing a practical foundation for future PQC deployments on next-generation ARM platforms.
Numbers (as extracted, not quote-checked)
- VecNTT speedup vs reference (Apple M4 Pro): up to 7.18x
- MatNTT speedup vs reference (Apple M4 Pro): up to 7.77x
- Matrix-vector polynomial multiplication speedup: up to 5.27x
- Full ML-KEM key encapsulation speedup: 52.47% to 60.09% across security levels
For builders
If the chain's validator or wallet hardware is ARMv9 with SVE2/SME, ML-KEM for key exchange can be substantially faster than the reference code, though this is a KEM only and says nothing about signatures.
Limits
Only the abstract was available (full text not read); results are on one Apple M4 Pro, not generic ARMv9 silicon, and no side-channel or constant-time evaluation is mentioned.
Topics: kem implementation-sidechannel benchmarks