Cortex-M4 Optimizations for {R,M}LWE Schemes
Optimizes NTT-based lattice KEMs (Kyber, NewHope, NewHope-Compact) on ARM Cortex-M4 via faster reductions, layer merging, and lower stack use, with a common benchmark framework.
Schemes: Kyber, NewHope, NewHope-Compact
Findings (quotes checked against the source text)
-
NewHope-Compact is the fastest of the three KEMs on Cortex-M4, followed by Kyber, with NewHope slowest for small dimensions.
Our results show that NewHope-Compact is the faster algorithm, followed by Kyber and finally NewHope that seems to suffer from its large modulus and error distribution for small dimensions.
-
The paper provides the first Cortex-M4 implementation of NewHope-Compact and a common optimization framework for comparing the three algorithms.
Our software is the first implementation of NewHope-Compact on Cortex-M4 and shows speed improvements over previous high-speed implementations on the same platform for Kyber and NewHope .
-
Optimizations include more efficient modular reductions, small polynomial multiplications, aggressive NTT layer merging, and reduced stack usage.
Improvements come in the form of a faster code using more efficient modular reductions, small polynomial multiplications and more aggressive layer merging in the NTT but also reduced stack usage.
For builders
If a PQ chain needs KEMs on constrained devices, the NTT tricks here (reduction, layer merging, stack reduction) transfer to any NTT-based lattice scheme such as ML-KEM.
Limits
Abstract-only read; covers round-2 candidates on one microcontroller (Cortex-M4); no signature schemes and no reported cycle counts in the text provided.
Topics: kem implementation-sidechannel benchmarks