Paper 2022/988 Original: eprint.iacr.org/2022/988 ↗

Modeling and Simulating the Sample Complexity of solving LWE using BKW-Style Algorithms

Qian Guo
Erik Mårtensson
Paul Stankovski Wagner
Abstract

The Learning with Errors (LWE) problem receives much attention in cryptography, mainly due to its fundamental significance in post-quantum cryptography. Among its solving algorithms, the Blum-Kalai-Wasserman (BKW) algorithm, originally proposed for solving the Learning Parity with Noise (LPN) problem, performs well, especially for certain parameter settings with cryptographic importance. The BKW algorithm consists of two phases, the reduction phase and the solving phase. In this work, we study the performance of distinguishers used in the solving phase. We show that the Fast Fourier Transform (FFT) distinguisher from Eurocrypt’15 has the same sample complexity as the optimal distinguisher, when making the same number of hypotheses. We also show via simulation that it performs much better than previous theory predicts and develop a sample complexity model that matches the simulations better. We also introduce an improved, pruned version of the FFT distinguisher. Finally, we indicate, via extensive experiments, that the sample dependency due to both LF2 and sample amplification is limited.

Metadata
Available format(s)
PDF
Category
Attacks and cryptanalysis
Publication info
Preprint.
History
2022-08-02: last updated
2022-08-02: published
Short URL
https://ia.cr/2022/988
License
https://creativecommons.org/licenses/by/4.0/

BibTeX

@misc{cryptoeprint:2022/988,
      author = {Qian Guo and Erik Mårtensson and Paul Stankovski Wagner},
      title = {Modeling and Simulating the Sample Complexity of solving LWE using BKW-Style Algorithms},
      howpublished = {Cryptology {ePrint} Archive, Paper 2022/988},
      year = {2022},
      url = {https://eprint.iacr.org/2022/988}
}
Note: In order to protect the privacy of readers, this archive does not use cookies or embedded third party content.