Benchmarking and Analysing the NIST PQC Lattice-Based Signature Schemes Standards on the ARM Cortex M7
Benchmarks and profiles Dilithium and Falcon on ARM Cortex-M7 and finds Falcon's native FPU use is not constant-time on several STM32 boards and a Raspberry Pi 3.
Schemes: Dilithium, Falcon, ML-DSA, FN-DSA
Findings (quotes checked against the source text)
-
Native FPU Falcon on Cortex-M7 gains 6.2-8.3x in clock cycles and 6.2-11.8x in runtime, while Dilithium gains little beyond the faster processor.
When benchmarking natively, Falcon shows significant speed-ups between 6.2-8.3x in clock cycles, 6.2-11.8x in runtime, and Dilithium does not show much improvement other than those gained by the slightly faster processor.
-
Falcon's native floating-point use shows constant-time irregularities on all tested Cortex-M7 STM32 boards and a Raspberry Pi 3, making it insecure where signing time is observable.
We find constant-time irregularities in all of these devices, which makes Falcon insecure on these devices for applications where signature generation can be timed by an attacker.
-
Profiling shows some Falcon operations gain an order of magnitude from the Cortex-M7 FPU, identifying bottlenecks in both schemes.
This demonstrates, for example, that some operations in Falcon's procedures observe speed-ups by an order of magnitude.
Numbers (as extracted, not quote-checked)
- Falcon speed-up vs native benchmark, clock cycles: 6.2-8.3x
- Falcon speed-up vs native benchmark, runtime: 6.2-11.8x
For builders
Treat Falcon's floating-point signing as a timing side-channel risk on embedded or constant-time-sensitive hardware, and prefer Dilithium/ML-DSA where timing leaks matter.
Limits
Abstract-only source; full text not read. Results are specific to STM32F767ZI and listed boards and a Raspberry Pi 3, and the abstract gives no per-operation numbers.
Topics: sig-lattice benchmarks implementation-sidechannel standards-policy