A RAM-Efficient Implementation of Falcon
Presents a RAM-efficient Falcon-512 implementation on Arm Cortex-M4, cutting RAM from about 31 kB to 11 kB and removing over half the floating-point operations.
Schemes: Falcon, Falcon-512
Findings (quotes checked against the source text)
-
RAM usage of the Falcon-512 implementation drops to about 11 kB from about 31 kB in the previous implementation.
RAM usage has shrunk to about 11 kB, down from about 31 kB in the previous implementation of Falcon-512.
-
The optimized code is faster on Arm Cortex-M4, with average signature generation at 13.45 million cycles.
This code is furthermore faster on Arm Cortex M4, with average signature generation cost down to 13.45 million cycles.
-
Optimizations include a novel FFT variant, replacing some floating-point operations with modular integer computations, delayed input addition in Fast Fourier sampling, and an alternate signature reassembly.
Optimization techniques include a novel variant of the FFT, replacement of some floating-point operations with modular integer computations, delayed addition of input within the Fast Fourier sampling process, and an alternate signature reassembly process.
-
More than half of the floating-point operations were removed from the implementation.
More than half of the floating-point operations have been removed.
-
The resulting implementation is small enough for embedded systems such as smart cards.
The resulting implementation is now small enough to allow use in small embedded systems such as smart cards.
Numbers (as extracted, not quote-checked)
- Falcon-512 RAM usage (new implementation): about 11 kB
- Falcon-512 RAM usage (previous implementation): about 31 kB
- Average Falcon signature generation on Arm Cortex-M4: 13.45 million cycles
For builders
If a PQ chain needs Falcon signing on constrained hardware, this shows the RAM and float-removal techniques are viable, but the work targets embedded signers rather than node-side verification.
Limits
Based on the ePrint abstract only; full text was not read, so benchmark conditions, security review, and side-channel analysis are unverified.