Paper 2025/1002
Cool + Cruel = Dual, and New Benchmarks for Sparse LWE
Abstract
The sparse secret Learning with Errors (LWE) problem is a widely used assumption in efficient fully homomorphic constructions. In [Wenger et al. IEEE S\&P 2025] two approaches, `Cool and Cruel’ (C+C) and the machine learning based `SALSA', were benchmarked against the well established primal attack on sparse secrets. The authors concluded that C+C outperforms SALSA and both outperform the primal attack. In this work we show that the apparently novel C+C is an instantiation of a known dual attack [Albrecht, EUROCRYPT 2017]. To argue this we introduce a framework for dimension reduction in the bounded distance decoding problem that may be of independent interest. Furthermore we prove that the C+C `phenomenon' is an expression of the geometry of the well known Z-shape basis in $q$-ary lattices, despite claims to the contrary. We also show that a correctly parametrised primal attack outperforms C+C both in parameter regimes studied by Wenger et al. and in new parameter regimes. To support this claim, we provide an open source implementation of two variants of the primal attack that are relevant for sparse secret LWE: Drop+Solve [May--Silverman, CaLC 2001] and Guess+Verify [Albrecht et al. SAC 2019].
Metadata
- Available format(s)
-
PDF
- Category
- Attacks and cryptanalysis
- Publication info
- Preprint.
- Keywords
- LWEBDDdual attacklattice reductionmachine learning
- Contact author(s)
-
alexander karenin @ tii ae
elenakirshanova @ gmail com
julian nowakowski @ rub de
eamonn postlethwaite @ kcl ac uk
lnp @ cwi nl
fernando virdia @ kcl ac uk
paul vie @ telecom-paris fr - History
- 2025-11-04: revised
- 2025-05-30: received
- See all versions
- Short URL
- https://ia.cr/2025/1002
- License
-
CC BY
BibTeX
@misc{cryptoeprint:2025/1002,
author = {Alexander Karenin and Elena Kirshanova and Julian Nowakowski and Eamonn W. Postlethwaite and Ludo N. Pulles and Fernando Virdia and Paul Vié},
title = {Cool + Cruel = Dual, and New Benchmarks for Sparse {LWE}},
howpublished = {Cryptology {ePrint} Archive, Paper 2025/1002},
year = {2025},
url = {https://eprint.iacr.org/2025/1002}
}