Functional Verification of Additive FFT Assembly Implementations in Code-Based PQC
Formally verifies optimized assembly additive FFTs (Gao-Mateer, Frobenius) in Classic McEliece and HQC using CryptoLine and CRT decomposition checked in Singular.
Schemes: Classic McEliece, HQC, CryptoLine, Singular
Findings (quotes checked against the source text)
-
First formal verification of optimized additive FFT assembly implementations in Classic McEliece and HQC.
We present the first formal verification results for the highly optimized additive Fast Fourier Transforms (FFTs) in two different code-based post-quantum cryptosystems: Classic McEliece and Hamming Quasi-Cyclic.
-
Additive FFTs are reformulated as Chinese Remainder Theorem decompositions, factoring verification into local checks feasible for computer algebra systems like Singular.
we also formulate additive FFTs as Chinese Remainder Theorem decompositions which factors the verification problem into local checks feasible for computer algebra systems like Singular.
-
The main difficulty is more than 2^14 independent bit-variables per multiplicand, addressed by extending CryptoLine with vector syntax and syntactic transformations.
A main problem of this verification is the $>2^{14}$ independent bit-variables in each multiplicand.
-
Verification effort took under three months of calendar time for a very small team.
the calendar time for the formal verification in this paper was less than three months for our very limited workforce.
Numbers (as extracted, not quote-checked)
- Calendar time for formal verification: less than three months
- Independent bit-variables per multiplicand: >2^14
For builders
If your chain uses Classic McEliece or HQC, treat their optimized FFT decoding code as formally checkable and budget for verification of hand-tuned assembly.
Limits
Covers only code-based KEMs (McEliece, HQC), not signatures or chain-level design; abstract-only read, full text not reviewed.