Flying, Not Floating: Precise Fixed-Point Falcon on Embedded Processors
Builds a constant-time Cortex-M4 fixed-point Falcon-512/1024 signer using 32.64 arithmetic with wide reciprocals and single-rounding, cutting cycles about 45% versus double-precision emulation.
Schemes: Falcon, FN-DSA, c-fn-dsa
Findings (quotes checked against the source text)
-
A 32.64 fixed-point Falcon signer on Cortex-M4 needs about 45% fewer cycles than double-precision emulation for Falcon-512 and Falcon-1024.
Our signer needs around $45\%$ fewer cycles than double-precision emulation for Falcon-512 Falcon-1024, and its measured precision supports $2^{99.7}$ $2^{96.7}$ queries per key, against $2^{61.5}$ $2^{58.7}$ for double precision and the target of $2^{64}$.
-
Keeping reciprocals, inverse square roots and small constants wide and rounding once at the consumer restores the precision lost by plain fixed-point arithmetic.
They keep reciprocals, inverse square roots and small constants wide and round once at the consumer.
-
Signing RAM rises from 59n to 83n bytes because of the 12-byte words.
Our $12$-byte words raise signing RAM from $59n$ to $83n$ bytes.
-
Falcon-1024 key generation accepts 72.3% of keys versus 8.5% for Falcon-512 under the derived bounds.
We derive key generation bounds for Falcon-1024, accepting $72.3\%$ of keys where the Falcon-512 values accept $8.5\%$, and provide recommendations for the fixed-point FN-DSA that NIST plans.
Numbers (as extracted, not quote-checked)
- Cycle reduction vs double-precision emulation: about 45% fewer cycles (Falcon-512 and Falcon-1024)
- Precision in queries per key, fixed-point 32.64 (Falcon-512 / Falcon-1024): 2^99.7 / 2^96.7
- Precision in queries per key, double precision (Falcon-512 / Falcon-1024): 2^61.5 / 2^58.7
- Signing RAM per n: from 59n bytes to 83n bytes
- Falcon-1024 keygen acceptance rate: 72.3%
- Falcon-512 keygen acceptance rate: 8.5%
For builders
If a PQ chain runs Falcon on constrained hardware, fixed-point signing with wide intermediates can meet the 2^64 precision target while being faster than double-precision emulation, at about 1.2x signing RAM.
Limits
Evaluated only on Cortex-M4 embedded targets; based on the ePrint abstract only, so the full-text numbers and methods were not checked.
Topics: sig-lattice implementation-sidechannel benchmarks standards-policy