Memory-Efficient High-Speed Implementation of Kyber on Cortex-M4
Optimizes Kyber KEM's NTT for ARM Cortex-M4 using DSP vector instructions, achieving speed near Saber with lower RAM and constant-time code.
Schemes: Kyber, Saber, NTT
Findings (quotes checked against the source text)
-
Kyber software on Cortex-M4 is 18% faster than the earlier submitter implementation, with an NTT more than twice as fast.
As a result of our efforts we present software that is 18% faster than an earlier implementation of Kyber optimized for the Cortex-M4 by the Kyber submitters.
-
Kyber runs at about the same speed as the fastest Saber implementation but with a much smaller RAM footprint.
Our software runs at about the same speed as the latest speed-optimized implementation of the other module-lattice based round-2 NIST PQC candidate Saber.
-
Kyber needs less than half the RAM of the RAM-optimized version of Saber.
Kyber needs less than half of the RAM of what the considerably slower RAM-optimized version of Saber uses.
-
The implementation avoids secret-dependent branches and memory access, giving constant-time protection against timing attacks.
Our software does not make use of any secret-dependent branches or memory access and thus offers state-of-the-art protection against timing attacks
Numbers (as extracted, not quote-checked)
- Speedup over earlier Cortex-M4 Kyber implementation: 18% faster
- NTT speedup over earlier Cortex-M4 Kyber NTT: more than twice as fast
For builders
Kyber on Cortex-M4 is a practical reference for constant-time, low-RAM embedded KEM deployment, useful if a PQ chain must run on constrained hardware.
Limits
Targets only Cortex-M4 microcontrollers and Kyber round-2 parameters; based on the ePrint abstract only, full text not read, so no detailed cycle or RAM numbers.
Topics: kem implementation-sidechannel benchmarks