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

2026Year

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 about this paper

Ask your agent about it.

Lune has read the top-tier papers around this one, so every answer names the papers it rests on.

Questions to start from

Your agent calls

Lunesearch_papers

Ask in Lune

Free to start. No credit card required.

lune papers get 68880bbe-17fc-4e73-9f79-a3f1208866ea

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines