Cryptology ePrint Archive: Report 2015/056

Better Algorithms for LWE and LWR

Alexandre Duc and Florian Tramèr and Serge Vaudenay

Abstract: The Learning With Error problem (LWE) is becoming more and more used in cryptography, for instance, in the design of some fully homomorphic encryption schemes. It is thus of primordial importance to find the best algorithms that might solve this problem so that concrete parameters can be proposed. The BKW algorithm was proposed by Blum et al. as an algorithm to solve the Learning Parity with Noise problem (LPN), a subproblem of LWE. This algorithm was then adapted to LWE by Albrecht et al.

In this paper, we improve the algorithm proposed by Albrecht et al. by using multidimensional Fourier transforms. Our algorithm is, to the best of our knowledge, the fastest LWE solving algorithm. Compared to the work of Albrecht et al. we greatly simplify the analysis, getting rid of integrals which were hard to evaluate in the final complexity. We also remove some heuristics on rounded Gaussians. Some of our results on rounded Gaussians might be of independent interest. Moreover, we also analyze algorithms solving LWE with discrete Gaussian noise.

Finally, we apply the same algorithm to the Learning With Rounding problem (LWR) for prime q, a deterministic counterpart to LWE. This problem is getting more and more attention and is used, for instance, to design pseudorandom functions. To the best of our knowledge, our algorithm is the first algorithm applied directly to LWR. Furthermore, the analysis of LWR contains some technical results of independent interest.

Category / Keywords: public-key cryptography / LWE, LWR, algorithm, BKW

Original Publication (with minor differences): IACR-EUROCRYPT-2015

Date: received 23 Jan 2015, last revised 22 Apr 2015

Contact author: alexandre duc at epfl ch

Available format(s): PDF | BibTeX Citation

Version: 20150422:124055 (All versions of this report)

Short URL: ia.cr/2015/056

Discussion forum: Show discussion | Start new discussion


[ Cryptology ePrint archive ]