Paper 2025/2195

Refined Modelling of the Primal Attack, and Variants Against Module-Learning With Errors

Paola de Perthuis, Centrum Wiskunde & Informatica
Filip Trenkić, King's College London
Abstract

The primal attack reduces Learning with Errors (LWE) to the unique Shortest Vector Problem (uSVP), and then applies lattice reduction such as BKZ to solve the latter. Estimating the cost of the attack is required to evaluate the security of constructions based on LWE. Existing fine-grained estimators for the cost of the primal attack, due to Dachman-Soled--Ducas--Gong--Rossi (CRYPTO 2020) and Postlethwaite--Virdia (PKC 2021), differ from experimental data as they implicitly assume the unique shortest vector is resampled several times during the attack, changing its length. Furthermore, these estimators consider only the first two moments of the LWE secret and error, and therefore do not differentiate between distinct centred distributions with equal variances. We remedy both issues by initially fixing the short vector's length, and later integrating over its distribution. We provide extensive experimental evidence that our estimators are more accurate and faithfully capture the behaviour of different LWE distributions. In the case of Module-LWE, lattice reduction utilising the module structure could lead to cheaper attacks. We build upon the analysis of module lattice reduction by Ducas--Engelberts--Perthuis (Asiacrypt 2025), providing a simulator for Module-BKZ generalising the BKZ simulator of Chen--Nguyen (Asiacrypt 2011). We design estimators for a module variant of the primal attack, supporting our analysis with experimental evidence. Asymptotically, we show the module primal attack over a degree $d$ number field $K$ has a reduced cost, resulting in a subexponential gain, whenever the discriminant $\Delta_K$ satisfies $\vert \Delta_K \vert < d^d$, one such case being non-power-two cyclotomics.

Note: Typo

Metadata
Available format(s)
PDF
Category
Attacks and cryptanalysis
Publication info
Published elsewhere. Minor revision. PQCrypto 2026
Keywords
MLWEPrimal AttackLattice-based CryptologyPost-Quantum SecurityLearning With ErrorsModule Lattices
Contact author(s)
Paola de Perthuis @ cwi nl
filip trenkic @ kcl ac uk
History
2026-03-23: last of 4 revisions
2025-12-03: received
See all versions
Short URL
https://ia.cr/2025/2195
License
Creative Commons Attribution-NonCommercial-NoDerivs
CC BY-NC-ND

BibTeX

@misc{cryptoeprint:2025/2195,
      author = {Paola de Perthuis and Filip Trenkić},
      title = {Refined Modelling of the Primal Attack, and Variants Against Module-Learning With Errors},
      howpublished = {Cryptology {ePrint} Archive, Paper 2025/2195},
      year = {2025},
      url = {https://eprint.iacr.org/2025/2195}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.