Lune

S&P2026Top-tier venue

From Perfect to Approximate Hints: Efficient LWE Secret Recovery Leveraging Low Hamming Weight

Minki Hhan, Ga Hee Hong, Jiseung Kim, Changmin Lee, JeongHwan Lee

Abstract

The Learning With Errors (LWE) problem is a cornerstone of lattice-based cryptography and underpins the security of numerous cryptographic schemes. To enhance efficiency, practitioners often employ sparse secrets in LWE, where the secret vector s has a significantly lower Hamming weight than its dimension nn. While this approach improves performance, it raises security concerns, particularly against side-channel attacks that can leak partial information-or “hints”-about the secret key. In this paper, we revisit the LWE with side information framework on sparse ternary secrets, focusing on approximate/perfect hints of the form (v,l)(\mathbf{v}, l) satisfying l=⟨v,s⟩+el=\langle\mathbf{v}, \mathbf{s}\rangle+e, where ee is a small error term, or l=⟨v,s⟩l=\langle\mathbf{v}, \mathbf{s}\rangle. While previous results needed about n/2n / 2 perfect or modular hints to break LWE in polynomial time, we show empirically, supported by a conservative lower-bound analysis under the Gaussian Approximation Assumption (GAA), that the task can be accomplished with only O(hlog⁡2h)O\left(h \log _{2} h\right) hints, where hh denotes the Hamming weight of ss. We demonstrate the effectiveness of our algorithm on practical parameter sets used in Fully Homomorphic Encryption (FHE) schemes. For instance, for a sparse-secret FHE bootstrapping regime with (n,h)=(215,32)(n, h)=\left(2^{15}, 32\right), our method requires only 320 approximate/perfect hints to recover the secret key, compared to the 214 perfect/modular hints required by previous methods. For the OpenFHE library with (n,h)=(215,192)(n, h)=\left(2^{15}, 192\right), we heuristically confirm secret-key recovery via O(hlog⁡2h)O\left(h \log _{2} h\right) perfect hints; approximate hints have not yet been validated in this setting. After collecting the necessary hints, our algorithm recovers the secret key in polynomial time in dimension nn.

Ask Lune

Know where this paper stands in minutes, not an afternoon.

Lune can read the top-tier papers that cite it and the ones closest to it, and tells you what it claims, what came after and where it falls short, each point cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

its abstract · related work

Get the answer

Free to start. No credit card required.

Related papers

  1. LWE with Side Information: Attacks and Concrete Security EstimationDana Dachman-Soled, Léo Ducas, Huijing Gong, Mélissa RossiCRYPTO 2020 · 162 citations
  2. A Systematic Study of Sparse LWEAayush Jain, Huijia Lin, Sagnik SahaCRYPTO 2024 · 8 citations
  3. A Generic Framework for Side-Channel Attacks Against LWE-Based CryptosystemsJulius Hermelink, Silvan Streit, Erik Mårtensson, Richard PetriEUROCRYPT 2025 · 6 citations
  4. Fast Amortized Bootstrapping with Small Keys and Polynomial Noise OverheadAntonio Guimarães, Hilder V. L. PereiraCCS 2025
  5. Refined Attack on LWE with Hints: Constructing Lattice via Gaussian EliminationJinzheng Cao, Haodong Jiang, Qingfeng ChengCRYPTO 2025 · 3 citations
Dusk over the sea between two cliffs drawn in fine vertical lines