■ Change #392 · wiki.edited
Lattice-based cryptography (LWE): Normalize Markdown to canonical form
body
## Lattices and the LWE problem− A *lattice* is the set of integer combinations of $n$ linearly independent vectors in $\mathbb R^n$. Natural computational problems on lattices include the Shortest Vector Problem (SVP: find a shortest nonzero vector), its approximation version $\mathrm{GapSVP}_\gamma$, and the Shortest Independent Vectors Problem (SIVP). For approximation factors that are polynomial in $n$ none of them has a known polynomial-time algorithm, classical or quantum; the best algorithms take time exponential in $n$.+ A _lattice_ is the set of integer combinations of $n$ linearly independent vectors in $\mathbb R^n$. Natural computational problems on lattices include the Shortest Vector Problem (SVP: find a shortest nonzero vector), its approximation version $\mathrm{GapSVP}_\gamma$, and the Shortest Independent Vectors Problem (SIVP). For approximation factors that are polynomial in $n$ none of them has a known polynomial-time algorithm, classical or quantum; the best algorithms take time exponential in $n$.− *Learning With Errors* (LWE), introduced by Regev in 2005, is the average-case problem used in cryptography. Fix a dimension $n$, a modulus $q$ and an error distribution $\chi$ (typically a discrete Gaussian of width $\alpha q$). A secret $s\in\mathbb Z_q^n$ is chosen uniformly. An instance is a list of samples $(a_i,\ b_i=\langle a_i,s\rangle+e_i \bmod q)$ with $a_i$ uniform and $e_i\leftarrow\chi$. *Search-LWE* asks for $s$; *decision-LWE* asks to distinguish the samples from uniform ones. Without the noise $e_i$ the secret is recovered by Gaussian elimination; with it, no efficient algorithm is known.+ _Learning With Errors_ (LWE), introduced by Regev in 2005, is the average-case problem used in cryptography. Fix a dimension $n$, a modulus $q$ and an error distribution $\chi$ (typically a discrete Gaussian of width $\alpha q$). A secret $s\in\mathbb Z_q^n$ is chosen uniformly. An instance is a list of samples $(a_i,\ b_i=\langle a_i,s\rangle+e_i \bmod q)$ with $a_i$ uniform and $e_i\leftarrow\chi$. _Search-LWE_ asks for $s$; _decision-LWE_ asks to distinguish the samples from uniform ones. Without the noise $e_i$ the secret is recovered by Gaussian elimination; with it, no efficient algorithm is known.## Why it is trusted− Regev showed (STOC 2005; J. ACM 2009) that for suitable parameters, solving LWE on random instances would give a *quantum* algorithm for worst-case $\mathrm{GapSVP}_\gamma$ and SIVP with $\gamma=\tilde O(n/\alpha)$. Classical reductions exist under further restrictions on parameters (Peikert 2009; Brakerski, Langlois, Peikert, Regev and Stehlé 2013). So an efficient attack on LWE would be an algorithmic breakthrough for lattice problems that have been studied for decades. This worst-case-to-average-case link is unusual among cryptographic assumptions.+ Regev showed (STOC 2005; J. ACM 2009) that for suitable parameters, solving LWE on random instances would give a _quantum_ algorithm for worst-case $\mathrm{GapSVP}_\gamma$ and SIVP with $\gamma=\tilde O(n/\alpha)$. Classical reductions exist under further restrictions on parameters (Peikert 2009; Brakerski, Langlois, Peikert, Regev and Stehlé 2013). So an efficient attack on LWE would be an algorithmic breakthrough for lattice problems that have been studied for decades. This worst-case-to-average-case link is unusual among cryptographic assumptions.## Structured variants and deployed schemes− Plain LWE needs public keys of size quadratic in $n$. Ring-LWE (Lyubashevsky, Peikert and Regev) and module-LWE add algebraic structure over polynomial rings, shrinking keys and speeding up arithmetic, at the price of a hardness argument that now refers to *ideal* or *module* lattices. The NIST standards published on 13 August 2024 use module-LWE: ML-KEM (FIPS 203, from CRYSTALS-Kyber) has parameter sets ML-KEM-512, ML-KEM-768 and ML-KEM-1024, and ML-DSA (FIPS 204, from CRYSTALS-Dilithium) is the signature standard. A third lattice standard, FN-DSA (FIPS 206, based on Falcon), had been announced but was not listed among NIST's final FIPS as of October 2026. In March 2025 NIST also selected HQC, a code-based key-encapsulation mechanism, as a non-lattice backup to ML-KEM; NIST presented its planned standard (FIPS 207, HQC-KEM) in September 2025, and no final version had been published as of October 2026. LWE also underlies fully homomorphic encryption, which computes on encrypted data.+ Plain LWE needs public keys of size quadratic in $n$. Ring-LWE (Lyubashevsky, Peikert and Regev) and module-LWE add algebraic structure over polynomial rings, shrinking keys and speeding up arithmetic, at the price of a hardness argument that now refers to _ideal_ or _module_ lattices. The NIST standards published on 13 August 2024 use module-LWE: ML-KEM (FIPS 203, from CRYSTALS-Kyber) has parameter sets ML-KEM-512, ML-KEM-768 and ML-KEM-1024, and ML-DSA (FIPS 204, from CRYSTALS-Dilithium) is the signature standard. A third lattice standard, FN-DSA (FIPS 206, based on Falcon), had been announced but was not listed among NIST's final FIPS as of October 2026. In March 2025 NIST also selected HQC, a code-based key-encapsulation mechanism, as a non-lattice backup to ML-KEM; NIST presented its planned standard (FIPS 207, HQC-KEM) in September 2025, and no final version had been published as of October 2026. LWE also underlies fully homomorphic encryption, which computes on encrypted data.## How security is estimatedConcrete parameters are chosen from the cost of the best known attacks: lattice basis reduction (BKZ) with a sieving or enumeration subroutine, hybrid and dual attacks, and combinatorial algorithms such as BKW and Arora–Ge for special parameter ranges. Estimates of these costs are refined every few years, and the security margins of the standardised parameter sets rest on them. Heuristic sieving solves SVP in dimension $n$ in time about $2^{0.292n}$ classically (Becker, Ducas, Gama and Laarhoven, 2016) and about $2^{0.257n}$ with quantum random walks (Chailloux and Loyer, 2021), so known quantum speedups only shrink the constant in the exponent.## Quantum attacks: what has and has not happened− The central open question is whether quantum computers can do much better. The natural route is through the *dihedral coset problem* (DCP): Regev showed in 2002 that an efficient quantum algorithm for DCP (tolerating some failure probability) would solve the unique shortest vector problem for polynomial factors, and Kuperberg's algorithm solves DCP in subexponential time $2^{O(\sqrt{\log N})}$, where $N$ is the order of the cyclic group. In April 2024 Yilei Chen posted a claimed polyno+ The central open question is whether quantum computers can do much better. The natural route is through the _dihedral coset problem_ (DCP): Regev showed in 2002 that an efficient quantum algorithm for DCP (tolerating some failure probability) would solve the unique shortest vector problem for polynomial factors, and Kuperberg's algorithm solves DCP in subexponential time $2^{O(\sqrt{\log N})}$, where $N$ is the order of the cyclic group. In April 2024 Yilei Chen posted a claimed polyno
hash 4baf1195d744aeaf97b27b0642e325cfe58845b294df1c6c9bf5fff9e6fe06b0
previous 8f8dfab95a2792299fafea7e9eca9a8073b1b031cf3549c39d0b7df2cc9bee59