Skip to main content
QUICK REVIEW

[Paper Review] Provably weak instances of Ring-LWE

Yara Elias, Kristin Lauter|arXiv (Cornell University)|Feb 12, 2015
Cryptography and Data SecurityComputer Science14 references19 citations
TL;DR

This paper identifies provably weak instances of the Ring-LWE problem by demonstrating an efficient attack that reduces Ring-LWE to Poly-LWE when the defining polynomial has a root of small order modulo the modulus q. The attack runs in time linear in q and succeeds when the ratio √q/n exceeds a certain bound, with practical success even at cryptographic sizes, such as n=1024 and q=2^31−1, where the attack takes ~13 hours. The work reveals that certain number fields and non-cyclotomic polynomial bases are vulnerable, while cyclotomic fields remain secure due to the high order of their roots modulo q.

ABSTRACT

The ring and polynomial learning with errors problems (Ring-LWE and Poly-LWE) have been proposed as hard problems to form the basis for cryptosystems, and various security reductions to hard lattice problems have been presented. So far these problems have been stated for general (number) rings but have only been closely examined for cyclotomic number rings. In this paper, we state and examine the Ring-LWE problem for general number rings and demonstrate provably weak instances of Ring-LWE. We construct an explicit family of number fields for which we have an efficient attack. We demonstrate the attack in both theory and practice, providing code and running times for the attack. The attack runs in time linear in q, where q is the modulus. Our attack is based on the attack on Poly-LWE which was presented in [Eisenträger-Hallgren-Lauter]. We extend the EHL-attack to apply to a larger class of number fields, and show how it applies to attack Ring-LWE for a heuristically large class of fields. Certain Ring-LWE instances can be transformed into Poly-LWE instances without distorting the error too much, and thus provide the first weak instances of the Ring-LWE problem. We also provide additional examples of fields which are vulnerable to our attacks on Poly-LWE, including power-of-$2$ cyclotomic fields, presented using the minimal polynomial of $ζ_{2^n} \pm 1$.

Motivation & Objective

  • To identify and construct explicit families of number fields where the Decision Ring-LWE problem is provably weak.
  • To extend the Poly-LWE attack from [EHL] to the Ring-LWE setting by showing that certain Ring-LWE instances can be transformed into vulnerable Poly-LWE instances with bounded error distortion.
  • To demonstrate the feasibility of the attack in practice using SAGE code, including runtime measurements for cryptographic-sized parameters.
  • To analyze the vulnerability of cyclotomic fields to such attacks, showing they are inherently protected due to the maximal order of their roots modulo q.
  • To provide a systematic framework for identifying number fields with small spectral norm of the transformation map, enabling efficient attacks on both Poly-LWE and Ring-LWE.

Proposed method

  • The attack reduces Ring-LWE to Poly-LWE by exploiting a ring isomorphism that maps the ring of integers modulo q to a polynomial ring, provided the transformation does not significantly distort the error distribution.
  • The core technique relies on the existence of a root α of small order modulo q in the polynomial f(x), enabling a homomorphism from the ring to F_q via evaluation at α.
  • The attack's success is governed by the spectral norm of the transformation matrix; the paper computes this norm explicitly for the constructed family of number fields.
  • The authors use a search-to-decision reduction and show that if the decision problem is weak, then the search problem is also weak, particularly in Galois number fields.
  • They implement the attack in SAGE, using discrete Gaussian samplers for generating samples, and measure runtime performance across various parameter sets.
  • For cyclotomic fields, they prove that roots of the cyclotomic polynomial Φ_m(x) have order exactly m modulo split primes, making them immune to small-order root attacks.

Experimental results

Research questions

  • RQ1Can Ring-LWE be reduced to Poly-LWE in a way that preserves the error distribution sufficiently for attack?
  • RQ2For which number fields does the existence of a small-order root modulo q lead to a provably weak instance of the Decision Ring-LWE problem?
  • RQ3What is the computational complexity of the attack, and can it be efficiently executed at cryptographic parameter sizes?
  • RQ4Why are cyclotomic fields inherently resistant to this class of attack, and does this resistance hold under alternative polynomial bases?
  • RQ5How does the spectral norm of the transformation map affect the feasibility and success rate of the attack?

Key findings

  • The attack successfully breaks Poly-LWE and Ring-LWE instances with n=1024 and q=2^31−1 in approximately 13.5 hours, demonstrating practical feasibility at cryptographic scale.
  • For n=128 and q=524287, the Ring-LWE attack succeeded in 24 seconds per run, with 8 out of 10 trials successful, confirming efficiency on smaller but still relevant parameters.
  • The attack succeeds when √q/n exceeds a theoretical bound, but in practice, it works even when the ratio is nearly 100 times smaller than the bound, indicating a larger vulnerable region than predicted.
  • The authors construct an explicit family of number fields where the attack is provably sound, with the success condition depending on the spectral norm and the ratio √q/n.
  • Cyclotomic fields, including 2-power cyclotomic fields, are immune to this attack because their roots modulo q have maximal order m, preventing small-order root exploitation.
  • The paper provides SAGE code that successfully implements the attack on both Poly-LWE and Ring-LWE, with runtime measurements confirming linear scaling in q.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.