A Memory-efficient Implementation of Wiedemann XL
Builds the first efficient on-the-fly XL/block-Wiedemann MQ solver that generates Macaulay matrix rows without column tables, trading little time for up to 5x less memory.
Schemes: MQOM, SNOVA, MAYO, UOV, XL, block Wiedemann
Findings (quotes checked against the source text)
-
On-the-fly generation of Macaulay matrix rows for XL with block Wiedemann runs at times comparable to CCNY's implementation while using up to five times less memory.
In our experiments we observe that our on-the-fly implementation achieves running times comparable to CCNY's with up to five times less memory.
-
The new on-the-fly algorithm computes column indices with O(n^2) table look-ups instead of O(n^3), amortizing the cost of on-the-fly generation.
We amortize the cost of on-the-fly generation with a new algorithm that computes column indices with $O(n^2)$ instead of $O(n^3)$ table look-ups, where $n$ is the number of variables.
-
The memory-saving variant also has comparable BW1 running times over F256 with AVX2, the main field of UOV.
We also port both implementations to AVX2 over $\mathbb{F}_{256}$, the main field of UOV, and observe a similar behavior: comparable BW1 running times with less memory for the on-the-fly variant.
Numbers (as extracted, not quote-checked)
- Memory reduction of on-the-fly XL with BW vs CCNY: up to 5x less
- Column-index table look-ups in new algorithm: O(n^2) instead of O(n^3)
For builders
Relevant only if you are estimating MQ-based signature attack cost; the memory-vs-time evidence bears on how much memory a solver attack really needs, not on a chain design choice.
Limits
Concerns MQ solvers for multivariate schemes (MQOM, SNOVA, MAYO, UOV), not lattice or hash-based signatures; abstract-only read, full text not checked.
Topics: quantum-resource-estimates cryptanalysis implementation-sidechannel benchmarks sig-other