5. Rings, modules and the number-theoretic transform

Draft

The bill for plain learning with errors

Plain LWE encryption (Section 4) hides its secret behind an \(n \times n\) matrix \(A\) of uniformly random integers modulo \(q\), and pushing the attacks of Section 4.6 out of reach requires \(n\) near a thousand. At that dimension, \(A\) alone holds roughly a million independent entries: megabytes of state to expand in memory and \(n^2\) multiplications on every operation, all to mask just one or a few bits per inner product. Standardized lattice schemes overcome that quadratic bottleneck by giving \(A\) block symmetry so that a single row of numbers fixes an entire \(n \times n\) block. That compression shrinks expanded state from megabytes to kilobytes, packs \(n\) message bits into one polynomial product, and cuts multiplication from \(O(n^2)\) steps down to \(O(n \log n)\). That extra algebraic symmetry is also the single new security assumption added beyond Section 4.

matrix   the public matrix A of three schemes to one scale; in green the entries that are free, generated from a seed
         FrodoKEM-976   plain    976 x 976, no structure     all 952,576 entries free    1,905,152 bytes to expand   category 3
         ML-KEM-768     module   9 blocks of 256 x 256       2,304 free, a row a block   3,456 bytes                 category 3
         NewHope1024    ring     1 block of 1,024 x 1,024    1,024 free                  1,792 bytes                 category 5, a higher one
block    every row of a block is the row above moved one place to the right; what leaves on the right comes back
         on the left with its sign flipped. In ML-KEM-768 the entry in row 487, column 613 is 2,898: it copies
         row 257, column 639 (431) with the sign flipped (2,898 + 431 = 3,329, the modulus)
bytes    sent in a key agreement: public key + ciphertext (the matrix is never sent: a seed for it is)
         category 1   ML-KEM-512      800 + 768     NewHope512     928 + 1,120   FrodoKEM-640    9,616 + 9,752
         category 3   ML-KEM-768    1,184 + 1,088                                FrodoKEM-976   15,632 + 15,792
         category 5   ML-KEM-1024   1,568 + 1,568   NewHope1024  1,824 + 2,208   FrodoKEM-1344  21,520 + 21,696
         at category 3: 31,424 bytes against 2,272, 14 times fewer
(the live figure needs JavaScript; it loads about 0.2 MB of data and expands the matrices in the page)
Three public matrices to one scale. Green: the free entries, generated from a seed (a block's first row is drawn thick; the small square under a matrix is their true area). Grey: entries that copy a free one. Point at an entry to follow its diagonal to the one it copies; dashed where the sign has flipped. The bars: bytes sent, public key and ciphertext, for every parameter set by security category, as published (FrodoKEM, NewHope) and as OpenSSL writes them (ML-KEM). The ring, NewHope1024, is of category 5, the other two of 3. FrodoKEM's and ML-KEM's matrices are expanded in the page; NewHope's is uniform draws.

FrodoKEM instantiates Section 4's plain LWE design at full cryptographic scale with zero algebraic symmetry added: a key-encapsulation mechanism (Section 1.1) that its specification calls "conservative yet practical"."FrodoKEM: Learning With Errors Key Encapsulation, Preliminary Standardization Proposal", revision of 29 September 2025 (frodokem.org): the introduction for the phrase, Tables A.1 and A.5 for parameters and sizes, Section 8.1 for the public key. At security category 3 of the United States National Institute of Standards and Technology (NIST), where breaking the scheme must cost at least as much as searching for a 192-bit key of the block cipher AES, FrodoKEM-976 uses an unstructured 976 by 976 matrix: 952,576 independent 16-bit entries, occupying 1,905,152 bytes. At that same security category, ML-KEM (Kyber), the lattice KEM standardized by NIST in 2024, uses a 768 by 768 matrix tiled into nine blocks of 256 by 256, each completely determined by its first row: just 2,304 free 12-bit entries, occupying 3,456 bytes.ML-KEM's parameters and sizes are those of FIPS 203, Tables 2 and 3. NIST defines five categories, by the cost of searching for a key of AES-128, AES-192 and AES-256 (categories 1, 3 and 5) and of finding a collision in a hash function (2 and 4).

Remark 5.1.1 (the matrix is never sent). It is tempting to picture this compression as shrinking a two-megabyte public key on the wire down to a kilobyte, yet neither scheme transmits \(A\) itself. Instead, each transmits a short random seed (16 bytes in FrodoKEM, 32 bytes in ML-KEM), and both parties expand that seed into \(A\) locally using a cryptographic hash function (or AES in a second FrodoKEM variant). What FrodoKEM pays for having an unstructured matrix shows up in two other places: local computation, and the vectors \(t\), \(u\), and \(v\) that do travel on the wire.

Consider the local computation first. Because all 952,576 entries of FrodoKEM-976's matrix are independent, key generation, encapsulation, and decapsulation must pseudorandomly generate every single entry and multiply by it. Expanding the two matrices in this page's plain JavaScript took 50 to 89 milliseconds for FrodoKEM-976 (in its hash-based variant) versus 0.19 to 0.39 milliseconds for ML-KEM-768 across six loads in a headless browser on a 16-core server busy with other tasks (one run per load for FrodoKEM, mean of 40 repetitions for ML-KEM); the figure measures both live on the reader's machine.

Now consider the bytes sent over the wire. In plain LWE, pairing one length-\(n\) public vector \(t = As + e\) with one sender secret \(r\) produces only a single scalar noisy inner product, carrying just three message bits in FrodoKEM-976. Transmitting a 192-bit shared secret (64 three-bit slots) therefore forces FrodoKEM-976 to bundle eight parallel secrets on each side: its public key carries the seed plus \(976 \times 8\) residues (15,632 bytes), and its ciphertext carries \(8 \times 976\) residues, an \(8 \times 8\) grid of masked message slots, and a 48-byte salt (15,792 bytes). In ML-KEM-768, multiplying two 256-coefficient polynomials (Section 5.2) produces 256 noisy inner products at once, giving a separate slot to every bit of a 256-bit message. A single secret vector of three polynomials suffices: the public key holds the seed plus \(3 \times 256\) residues (1,184 bytes), and the compressed ciphertext (Section 6.3) takes 1,088 bytes. One complete key exchange sends 31,424 bytes with FrodoKEM-976 versus 2,272 bytes with ML-KEM-768, 14 times fewer.

Lyubashevsky, Peikert and Regev opened their 2010 paper introducing Ring-LWE with this exact quadratic bottleneck.

The “learning with errors” (LWE) problem is to distinguish random linear equations, which have been perturbed by a small amount of noise, from truly uniform ones. The problem has been shown to be as hard as worst-case lattice problems, and in recent years it has served as the foundation for a plethora of cryptographic applications. Unfortunately, these applications are rather inefficient due to an inherent quadratic overhead in the use of LWE. A main open question was whether LWE and its applications could be made truly efficient by exploiting extra algebraic structure, as was done for lattice-based hash functions (and related primitives).

—V. Lyubashevsky, C. Peikert and O. Regev, "On Ideal Lattices and Learning with Errors Over Rings" (2010). EUROCRYPT 2010; Journal of the ACM 60(6), 2013; ePrint 2012/230. The first paragraph of the abstract; the second answers the question in the affirmative.

A matrix with one row's worth of freedom

How do you fill an entire \(n \times n\) block from a single vector of \(n\) numbers? Shift each row one slot to the right of the row above it, and wrap the entry pushed off the right edge back to the left edge with its sign negated. Multiplying any column vector \(b\) by such a block turns out to be ordinary polynomial algebra in disguise: read the block's first column as the coefficients of a polynomial \(a(X)\) and \(b\) as the coefficients of \(b(X)\), and the matrix-vector product is the polynomial product \(a(X)\,b(X)\) reduced under the rule \(X^n = -1\).

table    a × b for eight coefficients, as long multiplication: b over its powers, a term of a to a row (b times
         that term, moved to its power), a column adding up to a coefficient; right of the bar: past X⁷
                   1    X   X²   X³   X⁴   X⁵   X⁶   X⁷ |   X⁸   X⁹  X¹⁰  X¹¹  X¹²  X¹³  X¹⁴
         b         1    2    0   −1    3   −2    1    1
             2     2    4    0   −2    6   −4    2    2 |
            −X         −1   −2    0    1   −3    2   −1 |   −1
          3 X²               3    6    0   −3    9   −6 |    3    3
            X³                    1    2    0   −1    3 |   −2    1    1
         −2 X⁴                        −2   −4    0    2 |   −6    4   −2   −2
            X⁵                              1    2    0 |   −1    3   −2    1    1
          2 X⁶                                   2    4 |    0   −2    6   −4    2    2
         −3 X⁷                                       −3 |   −6    0    3   −9    6   −3   −3
         sum       2    3    1    5    7  −13   16    1 |  −13    9    6  −14    9   −1   −3
fold     X⁸ = −1: the 28 products right of the bar come back 8 places to the left with their signs flipped
         sum      15   −6   −5   19   −2  −12   19    1    the product, 8 coefficients
matrix   the same 8 numbers are the matrix of "multiply by a" times b: every row of it is the row above moved
         one place to the right, the entry pushed off the end coming back at the start negated
real     ML-KEM multiplies 256 coefficients this way: 32,640 of its 65,536 products fold back
(the live figure needs JavaScript; it loads no data)
Multiplying two polynomials modulo X8 + 1. Green: the folded terms, the products that pass X7; the fold slides them 8 places back across the line X8 = −1, where each changes sign, and the columns then add up to the product. Beside the table, the same product as a matrix times a vector, the wrapped entries in green. Below, the product ML-KEM computes, 256 coefficients of a key made in the page, folding the same way. Press fold or unfold; click a coefficient of a or b to change it; point at a product to read its arithmetic.

Multiplied out as in schoolbook algebra, two eight-coefficient polynomials (degree up to 7) produce 15 coefficients (degree up to 14). Imposing \(X^8 = -1\) folds the upper seven coefficients (\(X^8\) through \(X^{14}\)) eight slots back to the left with negated signs instead of discarding them. Reading that folded multiplication table as a linear map on \(b\) recovers the shifted-and-negated matrix block, explaining why \(n\) numbers fix all \(n^2\) entries of the block.

Definition 5.2.1 (the ring). Let \(n\) be a power of two and \(q\) a modulus. The ring \(R_q = \mathbb Z_q[X]/(X^n + 1)\) is the set of polynomials \(a = a_0 + a_1 X + \dots + a_{n-1} X^{n-1}\) with coefficients modulo \(q\), added coefficient by coefficient and multiplied with the rule \(X^n = -1\): the product \(c = a\,b\) has the coefficients

\[c_k \;=\; \sum_{i + j = k} a_i b_j \;-\; \sum_{i + j = k + n} a_i b_j \pmod q, \qquad k = 0, \dots, n - 1. \tag{5.1}\]

On vectors of coefficients, \(b \mapsto a\,b\) is the matrix \(M_a\) whose columns are \(a, aX, \dots, aX^{n-1}\): its entry in row \(i\) and column \(j\), counted from zero, is \(a_{i-j}\) if \(i \ge j\) and \(-a_{n+i-j}\) if \(i < j\).

Formula (5.1) is called a negacyclic convolution because terms wrapping past index \(n - 1\) flip sign. For ML-KEM's 256-coefficient polynomials, schoolbook multiplication implements (5.1) directly in two nested loops, subtracting 256 from the index and negating the product whenever i + j overflows:

for (i = 0; i < 256; i++) {
  for (j = 0; j < 256; j++) {
    idx = i + j; s = f[i] * g[j];
    if (idx >= 256) { idx -= 256; s = -s; }               // X^256 = -1
    h[idx] = (h[idx] + s) % Q;
  }
}

Example 5.2.2 (two coefficients are the complex numbers). At \(n = 2\), the reduction rule is \(X^2 = -1\), and multiplying two linear polynomials by (5.1) gives

\[(a_0 + a_1 X)(b_0 + b_1 X) \;=\; (a_0 b_0 - a_1 b_1) + (a_0 b_1 + a_1 b_0)\,X ,\]

which is ordinary complex multiplication with \(X\) playing the role of \(i\): \((3 + 4X)(5 + 6X) = 15 + 38X + 24X^2 = -9 + 38X\). For general power-of-two \(n\), \(X\) acts like a complex primitive \(2n\)-th root of unity whose \(n\)-th power is \(-1\); accordingly, \(\mathbb Z[X]/(X^n + 1)\) is called a cyclotomic ("circle-dividing") ring after the \(2n\) equally spaced points its powers mark around the unit circle. ◁

That minus sign in \(X^n = -1\) is essential for security. Had we used cyclic wrap-around \(X^n = +1\) (quotienting by \(X^n - 1\) instead of \(X^n + 1\)), substituting \(X = 1\) would be a valid ring homomorphism: summing the coefficients of a polynomial product would equal the product of their coefficient sums. Applying that sum map to a noisy ring product \(t = a\,s + e\) would collapse it to \((\sum_i a_i)(\sum_i s_i) + \sum_i e_i \pmod q\), a one-dimensional LWE equation in the single scalar unknown \(s(1) = \sum_i s_i\) whose noise \(\sum_i e_i\) is at most \(n\) times a single coefficient, still small compared with \(q\). Given a handful of samples under the same secret \(s\), an attacker could exhaustively test all small values of \(s(1)\) in moments, distinguishing noisy ring products from uniform elements and breaking decision Ring-LWE outright. That fatal shortcut exists because \(X - 1\) divides \(X^n - 1\) over the integers. Whenever \(n\) is a power of two, \(X^n + 1\) is irreducible over the integers: it has no integer factors at all, blocking any coefficient-preserving projection to a smaller ring.O. Regev, "The Learning with Errors Problem" (survey, 2010), Section 1, describes the blocks, which lead "to cryptographic constructions that not only have smaller keys, but are also considerably faster", and notes that the decision problem is easy over the ring with \(X^n - 1\). The attack is written out in V. Lyubashevsky, "Basic Lattice Cryptography: The concepts behind Kyber (ML-KEM) and Dilithium (ML-DSA)", ePrint 2024/1287, Section 4.5; that \(X^n + 1\) is irreducible over the integers exactly when \(n\) is a power of two is its Lemma 6. The matrix \(M_a\) is its Section 4.1.1.

Storing a block now costs \(n\) numbers instead of \(n^2\), yet multiplying two polynomials via the schoolbook loops of (5.1) still performs \(n^2\) scalar products: 65,536 for ML-KEM's 256 coefficients, 32,640 of which fold across \(X^{256} = -1\). Section 5.4 eliminates that quadratic multiplication cost as well.

Rings, modules and the rank as a dial

Replacing scalars in Section 4 with polynomials in \(R_q\) packs \(n\) LWE equations into one. Where plain LWE drew a row \(a \in \mathbb Z_q^n\) and published the single noisy inner product \(\langle a, s \rangle + e\), ring learning with errors (Ring-LWE) draws a random polynomial \(a \in R_q\) alongside short polynomials \(s, e \in R_q\) and publishes \(t = a\,s + e\). By (5.1), the \(n\) coefficients of \(t\) are \(n\) noisy inner products of negacyclically shifted copies of \(a\) with \(s\), written in matrix form as \(M_a s + e\). All of Section 4.3's encryption algebra carries over verbatim with polynomial multiplication in place of scalar multiplication, as Section 6 spells out. Yet jumping all the way from an unstructured \(N \times N\) scalar matrix to a single ring of degree \(N\) forces power-of-two jumps in dimension and concentrates maximum algebraic symmetry into one block. Module learning with errors (Module-LWE) stakes out the middle ground: fix a moderate ring \(R_q\) (degree \(n = 256\) in ML-KEM) and work with small \(k \times k\) matrices of polynomials over \(R_q\).

Definition 5.3.1 (module learning with errors). Fix the ring \(R_q\) of Definition 5.2.1 and a rank \(k\). Let \(A\) be a \(k \times k\) matrix of uniformly random elements of \(R_q\), and let \(s\) and \(e\) be vectors of \(k\) elements of \(R_q\) whose coefficients are drawn from a distribution on small integers (in ML-KEM-768, from \(-2\) to 2). Given \(A\) and \(t = A s + e\), the search problem is to find \(s\), and the decision problem is to tell \((A, t)\) from \((A, u)\) with \(u\) uniformly random. In coefficients this is the problem of Section 4.2 in dimension \(kn\), with a matrix made of the \(k^2\) blocks \(M_{A_{ij}}\). Rank \(k = 1\) is ring learning with errors; \(n = 1\), where a ring element is a single number, is the plain problem.

Three amounts of structurethe same noisy equations with three kinds of public matrix, a row each: what the matrix is made of, then how much of it is free and which lattices its hardness guarantee speaks of

  1. 5.1plain FrodoKEM

    Every entry of the matrix is a random number of its own. An attacker has the equations and nothing else to work with; the owner has megabytes to expand and to multiply by.

    976 × 976: all 952,576 entries free

    guarantee: all lattices

  2. 5.3module of rank k ML-KEM, k = 2, 3, 4

    A k by k matrix of ring elements, each a block of 256 by 256 fixed by its first row. Turning k moves the dimension in steps of 256 and leaves the arithmetic of the ring alone.

    3 × 3 blocks of 256: 2,304 entries free

    guarantee: module lattices

  3. 5.3ring NewHope

    The whole matrix is one block: rank 1. The fewest free entries and the most symmetry, in sizes that are powers of two only.

    1 block of 1,024: 1,024 entries free

    guarantee: ideal lattices

green: the kind ML-KEM uses

ML-KEM holds the ring fixed at \(n = 256\) and \(q = 3329\) and scales security simply by varying the module rank \(k\): ML-KEM-512, ML-KEM-768, and ML-KEM-1024 set \(k = 2, 3, 4\), giving \(kn = 512, 768, 1{,}024\) secret coordinates for NIST security categories 1, 3, and 5. As the Kyber specification puts it, "changing k is the main mechanism in Kyber to scale security (and as a consequence, efficiency) to different levels"."CRYSTALS-Kyber Algorithm Specifications and Supporting Documentation", version 3.02 of 4 August 2021 (the submission to the third round of NIST's process), Section 1.4. The parameter sets are in FIPS 203, Table 2. In the page's implementation, those three parameter sets are just three rows in a configuration table specifying \(k\), the noise width, and the ciphertext compression bit-widths (Section 6.3); every routine loops up to \(k\) while reusing the exact same 256-coefficient ring arithmetic underneath.

Pure Ring-LWE (\(k = 1\)) cannot hit that middle size of 768, because irreducibility of \(X^n + 1\) forces \(n\) to be a power of two, jumping straight from 512 to 1,024. NewHope, the Ring-LWE candidate shown in the first figure of this part, comes in only those two dimensions (categories 1 and 5); NIST retired it after the second round in 2020, reasoning that a module scheme offers finer granularity and security at least as strong.NIST IR 8309, the status report on the second round (July 2020), Section 3.12. Its argument is a reduction that rewrites a ring instance as a module instance of the same modulus and the same total dimension, the ring's size becoming rank times size: an attack on the module is then an attack on the ring. The fate of every candidate is drawn in Section 10.

Varying \(k\) also dials between algebraic symmetry and caution. Multiplying a polynomial in \(R_q\) by \(X\) rotates its coefficient vector one slot right and negates the wrapped entry. A lattice of coefficient vectors closed under that negacyclic rotation is called an ideal lattice (\(k = 1\)), whereas a lattice in \(R_q^k\) closed under rotating all \(k\) blocks in lockstep is a module lattice; a general lattice in \(\mathbb R^{kn}\) has no rotational symmetry at all. When Regev's worst-case to average-case reduction (Section 4.5) is carried over to rings and modules, its scope narrows to match that symmetry: Ring-LWE is proved at least as hard as worst-case problems restricted to ideal lattices, and Module-LWE is proved at least as hard as worst-case problems restricted to module lattices, whereas plain LWE rested on worst-case problems across all lattices.For rings, Lyubashevsky, Peikert and Regev (2010), in the second paragraph of the abstract: the ring-LWE distribution is pseudorandom "assuming that worst-case problems on ideal lattices are hard for polynomial-time quantum algorithms". Langlois and Stehlé, who formalized Module-LWE, summarize both the risk and the theoretical advantage of modules in their abstract:

Most lattice-based cryptographic schemes are built upon the assumed hardness of the Short Integer Solution (SIS) and Learning With Errors (LWE) problems. Their efficiencies can be drastically improved by switching the hardness assumptions to the more compact Ring-SIS and Ring-LWE problems. However, this change of hardness assumptions comes along with a possible security weakening: SIS and LWE are known to be at least as hard as standard (worst-case) problems on euclidean lattices, whereas Ring-SIS and Ring-LWE are only known to be as hard as their restrictions to special classes of ideal lattices, corresponding to ideals of some polynomial rings. In this work, we define the Module-SIS and Module-LWE problems, which bridge SIS with Ring-SIS, and LWE with Ring-LWE, respectively. We prove that these average-case problems are at least as hard as standard lattice problems restricted to module lattices (which themselves bridge arbitrary and ideal lattices). As these new problems enlarge the toolbox of the lattice-based cryptographer, they could prove useful for designing new schemes. Importantly, the worst-case to average-case reductions for the module problems are (qualitatively) sharp, in the sense that there exist converse reductions. This property is not known to hold in the context of Ring-SIS/Ring-LWE: Ideal lattice problems could reveal easy without impacting the hardness of Ring-SIS/Ring-LWE.

—A. Langlois and D. Stehlé, "Worst-Case to Average-Case Reductions for Module Lattices" (2015). Designs, Codes and Cryptography 75(3), 2015; ePrint 2012/090. The abstract, whole. SIS, the short integer solution problem, is the sibling of LWE on which the signatures of Section 7 rest: find a short vector that a random matrix sends to zero.

That abstract makes two distinct points. First, adding ring or module symmetry is a genuine cryptographic bet: the worst-case lattices backing the reduction are symmetric ones, and extra symmetry might make short vectors easier to find. Second, modules enjoy a cleaner theoretical equivalence than pure rings: for Module-LWE a converse reduction also runs in the reverse direction, so average-case Module-LWE and worst-case module-lattice problems stand or fall together qualitatively, whereas for Ring-LWE only one direction is known (worst-case Ideal-SVP could turn out to be easy even if Ring-LWE remained hard). Just as in Section 4.5, neither reduction sets concrete key sizes; concrete sizes come from pricing the best known attacks, and Section 5.6 examines what attacks exploiting ring and module symmetry have achieved.

On the wire, choosing a module over a single large ring costs no extra bandwidth: at category 5, ML-KEM-1024 (\(k = 4\), \(n = 256\)) sends 1,568 + 1,568 bytes of key and ciphertext compared with 1,824 + 2,208 bytes for NewHope1024 (\(k = 1\), \(n = 1{,}024\)); the two schemes differ in modulus and compression as well as rank, showing simply that the module pays no size penalty. Where a module does pay is in matrix multiplication: \(k^2\) ring products of length 256 in place of a single ring product of length \(256k\).

Multiplying fast

Schoolbook convolution (5.1) spends \(n^2\) scalar multiplications on a single polynomial product, and generating one ML-KEM-768 key multiplies a \(3 \times 3\) polynomial matrix by a vector, requiring nine such products. A change of representation cuts each product to \(O(n \log n)\) steps. Because a polynomial of degree below \(n\) is uniquely determined by its values at \(n\) distinct points, and because multiplying two polynomials at a single point is just multiplying two scalars, both polynomials can be evaluated at \(n\) chosen points, multiplied coordinate by coordinate, and interpolated back to coefficients.

network  two polynomials of 8 coefficients, mod 3,329, through the transform: a wire to a value, 9 stages
         coefficients                          after 3 layers of butterflies: the values at the 8 roots of X⁸ + 1
   a      2  −1   3   1  −2   1   2  −3       2,376 2,024   205 1,545 1,338 2,160 1,223 2,461
   b      1   2   0  −1   3  −2   1   1       1,201 2,597 2,173 1,465 2,307 2,135 2,827 1,948
                                               the products, one a wire
                                                623 3,166 2,708 3,034   783   935 1,919   268
   a b   15  −6  −5  19  −2 −12  19   1      3 layers back and a scaling by 2,913, the inverse of 8: the same 8
                                             numbers as the 64 products of the schoolbook way, folded
step     a butterfly: layer 1 joins wires 1 and 5 with ζ = 1,729: on a, 2 ± ζ × 3,327 = 3,202 and 131
counts   8 coefficients: 52 multiplications in the network, 64 in the grid
         ML-KEM's 256: 3,584 against 65,536 (7 layers of 128 butterflies for each of 3 transforms, 128
         base multiplications of 5, 256 scalings); at 512: 7,936, 2.2 times as many, where the grid has 4 times
speeds   both ways are timed in the page for 32 to 1,024 coefficients (modulus 12,289), in a Worker of the figure's own
(the live figure needs JavaScript; it loads no data)
The transform's way to multiply, on the two polynomials of the last figure. Framed green: the pointwise products, one a wire, of the values of a and b at the 8 roots of X8 + 1. Black over grey: a and b. Point at a value for the step that made it; step or play through the stages. The grid is the schoolbook's way and ends in the same 8 numbers. The chart times both ways in this page's plain JavaScript for 32 to 1,024 coefficients, a dot to a run and a line through the fastest; the counts at 256 are those of ML-KEM's product.

Two algebraic choices make that detour fast and exact. First, instead of arbitrary evaluation points (where an unfolded product of degree \(2n - 2\) would need \(2n\) points followed by manual folding), choose the \(n\) roots of \(X^n + 1 \equiv 0 \pmod q\): at every such root \(\rho\), \(\rho^n \equiv -1 \pmod q\) holds automatically, so \(n\) points suffice and negacyclic folding happens for free. Second, when the prime \(q\) satisfies \(q \equiv 1 \pmod{2n}\), \(\mathbb Z_q\) contains an element \(\omega\) of multiplicative order \(2n\) whose odd powers \(\omega, \omega^3, \dots, \omega^{2n-1}\) are precisely those \(n\) roots, arranged so that squaring collapses them in pairs and lets divide-and-conquer share almost all of the evaluation work, just as in the complex Fast Fourier Transform. Working in \(\mathbb Z_q\) rather than \(\mathbb C\) eliminates all floating-point rounding error: FIPS 203 calls this number-theoretic transform (NTT) "a specialized, exact version of the discrete Fourier transform".NIST, FIPS 203, "Module-Lattice-Based Key-Encapsulation Mechanism Standard", August 2024, Section 4.3. The account by halving that follows is the one of Lyubashevsky's tutorial (ePrint 2024/1287), Section 4.6.

Proposition 5.4.1 (evaluating at the roots). Let \(q\) be a prime with \(q \equiv 1 \pmod{2n}\) and let \(\omega\) have order \(2n\) modulo \(q\): its powers return to 1 after \(2n\) steps and not before. Then \(X^n + 1 = \prod_{i=0}^{n-1} \bigl(X - \omega^{2i+1}\bigr)\) modulo \(q\), and the map

\[a \;\longmapsto\; \hat a = \bigl(a(\omega),\, a(\omega^3),\, \dots,\, a(\omega^{2n-1})\bigr) \tag{5.2}\]

is a bijection from \(R_q\) to \(\mathbb Z_q^n\) that turns sums into sums and products into products taken coordinate by coordinate: \(\widehat{a\,b} = \hat a \cdot \hat b\).

Proof. Since \(\omega^{2n} = 1\) and \(\omega^n \ne 1\), \(\omega^n = -1\), so every odd power \(\rho = \omega^{2i+1}\) satisfies \(\rho^n = -1\); the \(n\) odd powers are distinct, hence they are the \(n\) roots of \(X^n + 1\). Evaluation at such a \(\rho\) sends \(X^n + 1\) to zero, so it is well defined on \(R_q\) and respects sums and products. If \(\hat a = 0\) then \(a\), of degree below \(n\), has \(n\) roots in a field and is zero: the map is injective between two sets of \(q^n\) elements. ∎

Rather than evaluating \(a(\omega^{2i+1})\) one root at a time in \(O(n^2)\) steps, the NTT computes all \(n\) values simultaneously by recursive halving, where each split applies the Chinese remainder theorem for polynomials: knowing a polynomial modulo a product of two coprime factors is equivalent to knowing its remainder modulo each factor separately. Set \(\zeta = \omega^{n/2}\), which satisfies \(\zeta^2 \equiv -1 \pmod q\), so the modulus splits into \(X^n + 1 = (X^{n/2} - \zeta)(X^{n/2} + \zeta)\). Reducing \(a(X)\) modulo \(X^{n/2} - \zeta\) replaces \(X^{n/2}\) with \(+\zeta\), and reducing modulo \(X^{n/2} + \zeta\) replaces \(X^{n/2}\) with \(-\zeta\), giving two degree-\((n/2 - 1)\) remainders with coefficients

\[a_i + \zeta\, a_{i + n/2} \qquad \text{and} \qquad a_i - \zeta\, a_{i + n/2}, \qquad i = 0, \dots, \tfrac{n}{2} - 1. \tag{5.3}\]

One modular multiplication \(\zeta\, a_{i + n/2}\) plus one addition and one subtraction updates a pair of coefficients: that two-wire operation is a butterfly, and one layer performs \(n/2\) butterflies across the array. Each half-length remainder now sits modulo \(X^{n/2}\) minus a constant that again has a square root among the powers of \(\omega\), so the exact same split repeats recursively. After \(\log_2 n\) layers, the remainders have degree 0 (single scalars) equal to the root evaluations (5.2) in a fixed bit-reversed order. In the figure's eight-wire network modulo 3,329, the first layer uses \(\zeta = 1{,}729\), since \(1729^2 = 898 \cdot 3329 - 1 \equiv -1\). Inverting the transform runs the butterfly layers in reverse and scales by \(n^{-1} \bmod q\). Here is ML-KEM's forward transform (FIPS 203, Algorithm 9) as it runs in these pages:

function ntt(f) {
  var fh = Int16Array.from(f), i = 1, len, start, j, zeta, t;
  for (len = 128; len >= 2; len >>= 1) {
    for (start = 0; start < 256; start += 2 * len) {
      zeta = ZETA[i++];
      for (j = start; j < start + len; j++) {
        t = mod(zeta * fh[j + len]);
        fh[j + len] = mod(fh[j] - t);
        fh[j] = mod(fh[j] + t);
      }
    }
  }
  return fh;
}

Notice that the outer loop stops at len = 2, one layer short of singletons. Splitting \(X^{256} + 1\) all the way into 256 linear factors would require roots of order \(2n = 512\), whereas \(3329 - 1 = 2^8 \cdot 13\) is divisible only by 256, providing elements of order 256 (FIPS 203 chooses 17) and none of order 512. Consequently, ML-KEM's NTT stops after seven butterfly layers at 128 quadratic factors \(X^2 - \gamma\), "a direct sum of 128 quadratic extensions" in FIPS 203's words, and its pointwise product multiplies 128 linear pairs \(a_0 + a_1 X\) modulo \(X^2 = \gamma\):

function baseCaseMultiply(a0, a1, b0, b1, gamma, q) {
  var c0 = (a0 * b0 + ((a1 * b1) % q) * gamma) % q;
  var c1 = (a0 * b1 + a1 * b0) % q;
  return [c0, c1];
}

Compare the modular multiplication counts for one full polynomial product from coefficients back to coefficients. The schoolbook loops of Section 5.2 execute \(256^2 = 65{,}536\) multiplications. The NTT route performs three seven-layer transforms (two forward, one inverse) of 128 butterflies per layer, 128 quadratic pair products at five multiplications each, and 256 final scalings: \(3 \cdot 7 \cdot 128 + 128 \cdot 5 + 256 = 3{,}584\) multiplications. At \(n = 8\) the transform barely beats schoolbook multiplication (52 versus 64); what matters is how the two scale, growing by a factor of 2.2 from 256 to 512 coefficients (to 7,936) under the NTT versus fourfold under schoolbook convolution.

Browser timings match that scaling law. Timed in plain JavaScript from 32 to 1,024 coefficients (using modulus 12,289, since 3,329 supports no power-of-two NTT past 256), throughput fell by 2.0 to 2.1 times per doubling of \(n\) for the NTT and by 3.6 to 3.9 times per doubling for the schoolbook loops (fastest of five runs per size across six loads in a headless browser on a busy 16-core server). The exact speedup ratio at fixed size \(n = 256\) depends heavily on code details rather than asymptotic theory: on the same pair of key polynomials, two JavaScript implementations in these pages measure roughly 8 times and 39 times faster than schoolbook convolution.

Remark 5.4.2 (the transform is part of the format). It would be natural to view the NTT purely as an internal arithmetic optimization, yet FIPS 203 specifies that the NTT "is considered to be an integral part of ML-KEM and not merely an optimization". The public matrix \(A\) is sampled from its 32-byte seed directly in NTT domain and never converted to ordinary coefficients, and the serialized public encapsulation key stores \(t\) in NTT form as well. Even an implementation that preferred slow multiplication would still have to run the NTT just to parse a standard key.

Remark 5.4.3 (a ring that splits modulo \(q\) is not the ring with \(X^n - 1\)). Evaluating a polynomial at a root \(\omega^{2i+1}\) of \(X^n + 1 \bmod q\) is a ring homomorphism from \(R_q\) to scalars (or quadratic pairs in ML-KEM), superficially resembling the evaluation at \(X = 1\) that broke \(X^n - 1\) in Section 5.2. Why does \(X = 1\) break Ring-LWE while \(X = \omega\) leaves it intact? Because LWE hardness depends on what the map does to small errors. Substituting \(X = 1\) sums the coefficients \(a \mapsto \sum_i a_i\), keeping small integers small, which is precisely what the attack required: "a homomorphism into a ring of a smaller degree which did not increase the coefficient size by much". Substituting \(X = \omega\) maps \(e \mapsto \sum_i e_i \omega^i \bmod q\); because the powers \(\omega^i\) are large residues scattered across \(\mathbb Z_q\), that weighted sum wraps wildly modulo \(q\) and loses all smallness, turning a noisy equation into a useless equation with uniform-sized error. Security reductions require \(X^n + 1\) to remain irreducible over the integers \(\mathbb Z\), leaving how it factors modulo \(q\) completely free for the NTT to exploit.Lyubashevsky's tutorial, Section 4.5. The worry is old: its first footnote recalls that an early suggestion to speed up NTRU (the oldest scheme on polynomial rings, met again in Section 5.6) with a ring that supports the transform was dropped after an attack on the proposed ring, and that later theory made precise which property a ring needs for the link to worst-case lattice problems, a property the attacked rings lacked and one that does not rule out a transform.

Why q = 3329 and n = 256

Both parameters of ML-KEM's ring follow directly from Sections 5.2 through 5.4. The ring degree \(n = 256\) matches the target symmetric-key length: one polynomial product yields 256 coefficients, giving a dedicated slot to each bit of a 256-bit shared secret. Meanwhile, \(q\) must be a prime with \(q - 1\) divisible by 256 so that the seven-layer pair-NTT of Section 5.4 exists, and \(q\) must be large enough to give accumulated decryption noise room below \(q/4\). Among the 1,028 primes below 8,192, only five satisfy \(256 \mid (q - 1)\).

axis     every prime below 8,192 is a tick: 1,028 of them; 5 have q − 1 a multiple of 256, which the transform needs
columns  a scheme of ML-KEM-768's shape at each of the 5, with ML-KEM-768's error width and the compression scaled with the modulus
         modulus                decryption fails with probability        ciphertext     key     at its best (error −1 to 1, no compression)
         257 = 1 × 256 + 1      above 1: it fails                        608 bytes      896     2⁻¹·⁷ at 1,152 bytes
         769 = 3 × 256 + 1      2⁻⁰·⁴                                    832 bytes      992     2⁻⁶⁴·¹ at 1,280 bytes
         3,329 = 13 × 256 + 1   2⁻¹⁶⁴·⁸   the smallest under the bar     1,088 bytes    1,184
         7,681 = 30 × 256 + 1   2⁻⁷⁷³, off the scale                     1,216 bytes    1,280
         7,937 = 31 × 256 + 1   2⁻⁸⁰², off the scale                     1,216 bytes    1,280
bar      a failure probability must be under 2⁻¹²⁸ (hatched above it): 257 and 769 are over it, at their best too
first    the first version of Kyber used 7,681 with a wider error (−4 to 4): 2⁻¹⁴² and a ciphertext of 1,152 bytes, as published
(the live figure needs JavaScript; it loads about 0.3 MB of data)
Every prime below 8,192 is a tick; the five taller ones have q − 1 a multiple of 256, which the transform needs, and each is led to a column. Green: 3,329. Dots: the probability that a decryption fails for a scheme of ML-KEM-768's shape with ML-KEM-768's error width at that modulus, the compression scaled with it; hatched: too likely. Rings: the best that modulus can do, with the narrowest error and no compression, computed in the page. Bars: the bytes of ciphertext and key. Point along the axis to read any prime; at 7,681 the readout gives what the first Kyber published.

The figure above holds ML-KEM-768's design fixed across those five primes, keeping the same secret/error width and scaling ciphertext compression proportionally with \(q\). Under that comparison, primes 257 and 769 suffer constant decryption failures. Even if those two primes are handed every conceivable advantage, shrinking secret and error coefficients to \(\{-1, 0, 1\}\) and turning off ciphertext compression completely, the union bound on their failure rate (256 times a single coefficient's chance of reaching \(q/4\)) drops only to \(2^{-1.7}\) and \(2^{-64.1}\), nowhere near the \(2^{-128}\) ceiling that Kyber's specification enforces across all parameter sets. At the third prime, \(q = 3{,}329\), ML-KEM-768 achieves \(2^{-164.8}\), the exact bound in FIPS 203. Section 4.4 explained why smaller primes fail: the cross-noise from products of small polynomials stays the same regardless of \(q\), whereas the \(q/4\) error budget shrinks from 832 at \(q = 3{,}329\) down to 192 at \(q = 769\) and 64 at \(q = 257\). Moving up to the fourth prime, 7,681, buys an unneeded failure margin of \(2^{-773}\) at the price of packing 13 bits instead of 12 per public-key coefficient (1,280 bytes instead of 1,184).

n is set to 256 because the goal is to encapsulate keys with 256 bits of entropy (i.e., use a plaintext size of 256 bits in Kyber.CPAPKE.Enc). Smaller values of n would require to encode multiple key bits into one polynomial coefficient, which requires lower noise levels and therefore lowers security. Larger values of n would reduce the capability to easily scale security via parameter k.

We choose q as a small prime satisfying n | (q − 1); this is required to enable the fast NTT-based multiplication. There are two smaller primes for which this property holds, namely 257 and 769. However, for those primes we would not be able to achieve negligible failure probability required for CCA security, so we chose the next largest, i.e., q = 3329.

—Avanzi et al., "CRYSTALS-Kyber Algorithm Specifications and Supporting Documentation", version 3.02 (2021). Section 1.4, two items of the list that justifies the parameters. Kyber.CPAPKE.Enc is the inner encryption of Section 6.1. CCA security is security against chosen-ciphertext attacks, the subject of Sections 6.4 and 6.5: the wrapper that provides it needs decryption to fail almost never.

Kyber did not start at 3,329. Its 2017 first-round submission chose \(q = 7{,}681\), the smallest prime satisfying \(512 \mid (q - 1)\) for a complete eight-layer NTT, paired with public-key compression and wider errors in \(\{-4, \dots, 4\}\) (giving a \(2^{-142}\) failure probability and a 1,152-byte ciphertext at its middle level). In 2019 the designers dropped public-key compression, and once a seven-layer incomplete NTT ending in pairs proved just as fast as a full eight-layer NTT, they stepped down to \(q = 3{,}329\) to win back the key bytes.The Kyber specification of 30 November 2017 (first round), Section 1.4 and Table 1, and the list of changes in version 2.0 of 1 April 2019. NewHope: its specification of 10 July 2019, Section 1.4. Schemes over a 1,024-coefficient ring require a larger modulus still: NewHope uses \(q = 12{,}289 = 6 \cdot 2048 + 1\).

Notice what did not push \(q\) upward: security against lattice reduction. Primes are filtered for NTT divisibility and sized against decryption failures. In the attacks of Section 4.6, hardness increases with the total dimension \(kn\) and with the relative noise-to-modulus ratio; at a fixed small error width, picking a smaller modulus \(q\) makes that ratio larger, helping the defender rather than the attacker.

What the structure might cost

Every gain in compactness and speed across Section 5 rests on one assumption absent from Section 4: that a module lattice invariant under negacyclic shifts (Section 5.2) is just as hard to reduce as an unstructured lattice of the same dimension. Nobody has proved that equivalence. As of November 2026, no attack exploiting ring or module symmetry is known to beat unstructured lattice reduction at standardized parameters. As the 2021 Kyber specification states, "the best known attacks against the MLWE instance underlying Kyber do not make use of the structure in the lattice" (where MLWE denotes Module-LWE), so the security estimates of Section 4.6 model ML-KEM's lattice as completely unstructured.Kyber specification, version 3.02, Section 5.3.1. Where algebraic symmetry has helped attackers is in adjacent regimes, and theoretical work has steadily narrowed the distance.

What attacks on structure have reachedfrom the most special lattices to lattices with no symmetry, a row each: what was shown, then in what running time and what keeps it from the standards

  1. 5.6ideals with a short generator 2016

    A handful of schemes kept as their key a short ring element and published the lattice of all its multiples. A short generator can be recovered from any generator, and a quantum algorithm supplies one.

    quantum polynomial time

    none of them built on learning with errors

  2. 5.6every ideal 2017

    Under a number-theoretic hypothesis, short vectors in any ideal lattice of these rings, but short only up to a factor that grows roughly like exp(√n), where schemes rest on factors that are polynomial in n.

    quantum polynomial time

    the factor is too large to affect a scheme

  3. 5.6modules of small rank posted 30 November 2026

    Short vectors within a factor linear in the dimension, and random instances of search module learning with errors, as the ring grows. Galactic, in its authors' word: not practical for the parameter sets of ML-KEM and ML-DSA. Not yet reviewed.

    quantum quasi-polynomial time

    asymptotic: not practical at the standards' sizes

  4. 5.6no structure plain learning with errors

    None of these results covers a lattice without the symmetry. This is the problem of Section 4, which FrodoKEM uses at 14 times the bytes.

    nothing much better than

    exponential search is known

green: the structure ML-KEM and ML-DSA use

The earliest breakthroughs targeted pure ideal lattices (rank \(k = 1\)). Several early non-LWE proposals used a single secret short polynomial \(g\) as the private key and published the principal ideal lattice consisting of all polynomial multiples of \(g\). In 2016, Cramer, Ducas, Peikert and Regev showed that a short generator of such a lattice can be recovered efficiently from any generator, and because a quantum algorithm can compute an arbitrary generator, those principal-ideal schemes collapsed in quantum polynomial time; none of them was based on LWE.R. Cramer, L. Ducas, C. Peikert and O. Regev, "Recovering Short Generators of Principal Ideals in Cyclotomic Rings", EUROCRYPT 2016; ePrint 2015/313. A lattice of all multiples of one ring element is a principal ideal. The proof is for cyclotomic rings of prime-power index, which include the rings of this part, and its polynomial running time rests on a conjecture about class numbers (its footnote 3). The authors state why their algorithms do not appear to affect ring learning with errors: one needs an unusually short generator, the other is limited to large approximation factors, and both apply only to principal ideals. In 2017, under a number-theoretic hypothesis its authors call plausible, that quantum attack was extended from principal ideals to every ideal of these cyclotomic rings, at the cost of a wide approximation factor \(\exp(\tilde O(\sqrt n))\) (where \(\tilde O\) hides factors of \(\log n\)), far looser than the \(\mathrm{poly}(n)\) factors cryptographic schemes rely on. The 2017 paper catalogues the three barriers separating the 2016 attack from Ring-LWE: the restriction to principal ideals, which the 2017 paper removes; an approximation factor "asymptotically too large to affect any actual Ring-LWE based schemes"; and the one-way reduction gap noted in Section 5.3, since "Ring-LWE is known to be at least as hard as Ideal-SVP but not known to be equivalent". Its abstract sums up the consequence:

Although it does not seem that the security of Ring-LWE based cryptosystems is directly affected, we contribute novel ideas to the cryptanalysis of schemes based on structured lattices. Moreover, our result shows a deepening of the gap between general lattices and structured ones.

—R. Cramer, L. Ducas and B. Wesolowski, "Short Stickelberger Class Relations and Application to Ideal-SVP" (2017). EUROCRYPT 2017; ePrint 2016/885. The last paragraph of the abstract; the paragraph before it has the hypothesis, and the list of limits is in Section 1 of the paper. Ideal-SVP is the shortest vector problem of Section 3.2 on ideal lattices.

A third 2016 attack targeted NTRU (1998), the oldest public-key cryptosystem over polynomial rings: when the modulus \(q\) is stretched vastly larger than the secret polynomials (as in certain homomorphic-encryption proposals), projecting down to smaller subfields finds short lattice vectors in sub-exponential time, whereas compact key-agreement NTRU keeps \(q\) small and remained untouched.M. Albrecht, S. Bai and L. Ducas, "A subfield lattice attack on overstretched NTRU assumptions", CRYPTO 2016; ePrint 2016/127. Lyubashevsky's tutorial (Section 3.4) draws the lesson from the results on ideals: a problem can be easy on one range of the ratio of modulus to error and as hard as ever beside it, so it is prudent to build on problems "where q/β is as small as possible". Every one of those three attacks relied on extra slack: rank-one principal ideals, sub-exponential approximation factors, or an overstretched modulus. ML-KEM gives away none of the three, combining module rank \(k \in \{2, 3, 4\}\) with the smallest prime \(q = 3{,}329\) that decryption reliability permits (Section 5.5).

On 30 November 2026, a posted paper addressed module lattices directly: modules of polylogarithmic rank (rank bounded by a power of \(\log n\)) over power-of-two cyclotomic rings \(X^n = -1\) (Example 5.2.2), the ring family shared by ML-KEM and ML-DSA (Dilithium, Section 7). It presents quantum algorithms whose asymptotic runtime is quasi-polynomial, bounded by \(2^{\mathrm{poly}(\log n)}\), growing faster than polynomials yet slower than \(2^{n^c}\) for any \(c > 0\). Within those module lattices it approximates SVP, CVP (Section 3.2), and SIVP to linear factors, and extends to search Module-LWE (Definition 5.3.1) and NTRU:

For module lattices of polylogarithmic rank over power-of-two cyclotomic rings, we approximate SVP, SIVP and CVP within a factor linear in the dimension. In this setting we also solve random instances of search Module-LWE with short secret and error, for suitable moduli of polynomial size, and for NTRU lattices modulo q with a key of norm below √q we find the densest rank-one submodule, which contains the key.

The algorithms are galactic: the bounds on their running times are asymptotic, and the algorithms are not practical for the parameter sets of ML-KEM and ML-DSA.

—Anthropic, "Galactic quasi-polynomial quantum algorithms for integral and module lattices" (posted 30 November 2026). The second and third paragraphs of the abstract of a paper of 283 pages, dated November 2026 and posted in the folder lattices of github.com/anthropics/formal-math, the first of four papers there, together with a formalization of their results in the proof language Lean 4, which was not built or checked for this series. The gloss of the word galactic, the list of what is not treated and the limits of the theorems on module learning with errors stand under "Limitations" in the paper's overview (p. 13); the size for ML-KEM-512 and the sentence on lattices without module structure stand in its Section 9.6 (p. 49).

Unlike the 2016 and 2017 ideal-lattice results, this paper addresses both modules and LWE itself, while stating its boundaries just as explicitly as its theorems. Galactic is the authors' term for "asymptotically fast but too slow for inputs of realistic size", illustrated by a concrete dimension count for a standard parameter set: on ML-KEM-512 (ring degree 256, rank 2, two samples), intermediate lattices in which the algorithm would need to sample have integer rank exceeding \(2^{10{,}400}\). Its Module-LWE theorems also cover only the search version and exclude higher noise rates where the ratio of error width to modulus is at least \(n^{-1/2}\). Unstructured lattices lie outside its scope altogether: the paper lists "LWE, SIS and the lattice isomorphism problem for general lattices" among what it does not treat, adding that without module symmetry its techniques "give no sub-exponential bound for LWE and SIS". The paper is a posted preprint rather than peer-reviewed work, and nothing in it was checked for this series. Accordingly, Section 4.5's statement that no known algorithm beats exponential search by much carries one asymptotic qualification: for structured module lattices as the ring degree grows, a posted result claims quasi-polynomial quantum bounds while stating explicitly that it is impractical at standardized sizes.

Faced with an open structural question, cryptographic engineering hedges, and three layers of hedges were already built in before this preprint appeared. Inside ML-KEM itself, choosing module rank \(k \ge 2\) over a pure ring was an early hedge against ideal-lattice attacks: the Kyber specification remarks that one of the ideal-SVP papers "nevertheless suggests using Module-LWE, as it plausibly creates even more obstacles", though the 30 November preprint now reaches polylogarithmic-rank modules asymptotically as well. Stepping away from ring symmetry entirely gives FrodoKEM: plain LWE over matrices its specification calls generic and algebraically unstructured, untouched by every structural result in Section 5.6 at the price of 14 times more bandwidth. NIST's third-round report stated both halves of that trade-off: an unstructured matrix could remain secure even in a world where structured lattices broke, yet FrodoKEM carried the heaviest performance cost of the lattice finalists. As of November 2026 FrodoKEM is not a NIST standard, having been set aside after the third round in 2022 on performance grounds, though its designers maintain a preliminary standardization proposal (revised September 2025). NIST's own portfolio hedge diversifies across mathematical families rather than dropping structure within lattices: SLH-DSA (SPHINCS+) relies solely on hash functions (Section 8), HQC (selected in March 2025 as a backup KEM) relies on structured error-correcting codes (Section 9.5), and NIST's 2022 call for additional digital signatures prioritized proposals "that are not based on structured lattices" (Section 10.6).NIST IR 8413, the status report on the third round (July 2022), Sections 2.3 and 4.3.1, for FrodoKEM and for the structured codes of HQC; NIST IR 8545, the status report on the fourth round (March 2025), for the selection of HQC; NIST, "Call for Additional Digital Signature Schemes for the PQC Standardization Process" (September 2022), Section 1.

Algebraic structure is what makes standardized lattice cryptography practical: a single row fixes an entire negacyclic block, shrinking megabytes of matrix down to kilobytes, and splitting the polynomial ring modulo its prime cuts multiplication from quadratic time to nearly linear. That symmetry is also the single assumption added beyond plain noisy equations: as of November 2026 no attack exploiting it is practical at standardized parameters, while what symmetry costs asymptotically as dimensions grow remains an active frontier.

← Back to all posts