Security considerations for Galois non-dual RLWE families

Hao Chen, Kristin E. Lauter, Katherine E. Stange

Abstract

The security of Ring Learning With Errors (RLWE) is fundamental to the integrity of post-quantum cryptography and Fully Homomorphic Encryption (FHE). This paper investigates the security boundaries of the non-dual discrete variant of RLWE. We introduce an optimized statistical attack that reduces computational complexity from $O(nq^3)$ to $O(nq^2)$ by leveraging coset partitioning within finite field homomorphisms. Using algebraic number theory, we identify a new infinite family of Galois number fields that are inherently vulnerable to this attack, even as error widths increase. Finally, we provide a theoretical defense of industry-standard 2-power cyclotomic rings, demonstrating that their error distributions remain indistinguishable from uniform, thus ensuring their continued reliability for cryptographic implementations.

Introduction

Lattice-based cryptography, and specifically the RLWE problem, serves as the mathematical foundation for modern privacy-preserving technologies. The security of RLWE is not universal; it is highly dependent on the choice of the underlying mathematical ring and the distribution of errors. While 2-power cyclotomic rings are the standard in practical applications, the search for "weak instances"—specific configurations where the problem becomes computationally tractable—is essential for establishing robust security parameters.

This research focuses on the non-dual discrete variant of RLWE. By stress-testing this variant, we aim to delineate the specific algebraic properties that lead to vulnerability and confirm whether the rings currently used in the industry are susceptible to similar exploits.

Methodology

The Optimized Coset Attack

The core contribution to the cryptanalysis of RLWE in this study is the refinement of the $\chi^2$ (chi-square) statistical attack. Previous iterations of this attack operated with a complexity of $O(nq^3)$. By utilizing the structure of finite field homomorphisms, we observed that fixing a guess for a portion of the secret allows the remaining search space to be partitioned into cosets. This optimization allows the secret to be recovered in two discrete, smaller steps, effectively reducing the complexity to $O(nq^2)$.

Construction of Vulnerable Fields

Rather than relying on heuristic searches for weak rings, we employed algebraic number theory to explicitly construct an infinite family of Galois number fields. These fields are mathematically predisposed to the coset attack due to their specific residue degrees and the geometry of their error distributions. We demonstrate that in these specific rings, the vulnerability scales; the attack remains successful even as the error width grows toward infinity (specifically $o(|d|^{1/4})$).

Security Analysis of Cyclotomic Rings

To verify the security of standard rings, we applied Fourier analysis over finite fields and calculated bounds on Gauss sums. This approach allowed us to model how error distributions behave when reduced modulo $q$. In 2-power cyclotomic rings, the error distribution "smears" uniformly, leaving no statistical bias for an attacker to exploit.

Experimental Results

The proposed algorithms were evaluated using simulated RLWE instances across various dimensions ($n$) and moduli ($q$).

Attack Performance

The optimization yielded a dramatic reduction in the time required to break known weak instances. In one benchmark, an instance that previously required an estimated 820,000 minutes to solve was broken in just 21.3 minutes using the new coset-based approach. For the newly constructed family of vulnerable Galois RLWE instances (with dimensions ranging from 60 to 360), the attack successfully recovered secrets within seconds or minutes.

Validation of 2-Power Cyclotomics

Numerical evidence supports the theoretical safety of 2-power cyclotomic rings. By calculating the statistical distance from a uniform distribution, we confirmed that these rings do not exhibit the vulnerabilities found in the newly constructed Galois families. Theorem 3 of our study provides a concrete upper bound on the success probability of homomorphism-based attacks against these rings, confirming their safety when the modulus is unramified.

Discussion and Conclusion

Our findings provide a dual perspective on RLWE security. On one hand, we have demonstrated that the non-dual variant of RLWE can be significantly more vulnerable than previously thought if the underlying ring is not chosen carefully. The introduction of the $O(nq^2)$ coset attack and the identification of new weak Galois families highlight the importance of rigorous ring selection.

On the other hand, this research provides a reassuring validation for practitioners. The specific geometric and algebraic properties of 2-power cyclotomic rings make them highly resistant to this class of statistical attacks. While our work confirms the safety of these standard rings, it also suggests that other configurations, such as $p$-power cyclotomics or different modulus configurations, require further investigation to ensure they do not harbor similar vulnerabilities.

Summary updated

BibTeX
@inproceedings{chen2016security,
  author = {Hao Chen and Kristin E. Lauter and Katherine E. Stange},
  title = {{Security considerations for Galois non-dual RLWE families}},
  booktitle = {SAC},
  year = {2016},
  doi = {10.1007/978-3-319-69453-5\_24},
}
Figure