How GeMSS works
GeMSS hid a polynomial in one large finite-field variable behind many public quadratic equations in bits. Its signer could undo the coordinate changes and solve for a root in the hidden field.
Program status. GeMSS was a third-round alternate in the original NIST process. Published structural analyses lowered the estimated work for GeMSS128 well below its target. This guide describes the Round 3 submission. NIST program history
One variable can also be many bits
A single element X of a field with 2ⁿ elements can be written as n bits once a basis is fixed. Addition is bitwise XOR in those coordinates. Squaring in this field is special: the square of a sum equals the sum of the squares. Squaring, or repeatedly squaring, is therefore a linear operation on the bit vector. Multiplying two such linear expressions gives quadratic expressions in the bits.
GeMSS used carefully chosen exponents so a polynomial of significant degree in X could still appear quadratic when expanded in binary coordinates. A signer who knew the field representation could solve one bounded-degree polynomial equation. A verifier saw a list of public Boolean quadratics. The design also added auxiliary vinegar variables and projected away output coordinates to conceal the field structure more thoroughly.
Why the public equations have degree two
X^(2ⁱ + 2ʲ) = X^(2ⁱ) × X^(2ʲ)
The “v” in HFEv refers to the extra vinegar coordinates. Once chosen, they leave a univariate root-finding problem for the signer. The minus modifier means some public output equations are omitted. The signer can supply candidate values for those missing coordinates before solving. Neither modifier makes the remaining public equations independent random quadratics.
Worked example
Work in the four-element field defined by α² = α + 1. For X = a + bα with bits a and b, squaring gives X² = (a + b) + bα. Each output bit is linear in a and b. For instance (1 + α)² = α. This is ordinary arithmetic in an extension field of characteristic two, different from arithmetic modulo the integer four.
From a hidden root to a signature
- Generate
Choose the special polynomial, vinegar coefficients and secret invertible binary coordinate transformations. Expand the map into bit equations, mix coordinates and keep only the prescribed number of output equations for the public key.
- Sign
Derive target bits from the message. Complete missing outputs, choose vinegar bits, undo the output transformation and seek a field root. Transform an acceptable solution back to public coordinates. The submission chains several such inversions and keeps a compressed part of each intermediate result.
- Verify
Use the supplied pieces, the public equations and successive message hashes to reverse the specified chain of checks. The full signature is more than a single root of the illustrative equation.
An estimated break has a particular unit
The low-degree hidden representation leaves algebraic restrictions that structural analysis can exploit. Baena and coauthors estimate about 2⁷² operations for GeMSS128 under their model. That is an estimate for named parameters, distinct from an observed completion of full-size key recovery. NIST’s report discusses the cost to signing performance of proposed repairs. GeMSS is therefore a historical example of a design weakened by the particular trapdoor it added. MQOM also publishes quadratic equations, but it generates an ordinary instance and proves knowledge of a fixed solution instead of hiding an efficient field-root solver.
Primary sources
Construction and program sources reviewed .
- GeMSS Round 3 submission package
Supporting_Documentation/specification.pdf, sections 2.1 to 2.5 and 6.1 (ZIP).
- Baena et al., Improving Support-Minors Rank Attacks
Revised work estimates for GeMSS and Rainbow.
- NIST IR 8413, third-round status report
Third-round selection outcomes, including Rainbow, GeMSS and FrodoKEM.