← Back to section · Post-Quantum Cryptography

Multivariate Signatures: From Oil-and-Vinegar to the MAYO Revival

Why systems of quadratic equations are hard, how the UOV oil-and-vinegar trapdoor builds a signature, the lesson of Rainbow's fall, and how MAYO shrinks the public key — bringing the oldest post-quantum route back into the standards picture.

Published 22 November 2026 · 5 min read · PQ Frontier

Multivariate Signatures: From Oil-and-Vinegar to the MAYO Revival
AI-generated site artwork
Video explainer · Digital signature schemes

Multivariate cryptography is the oldest branch of the post-quantum family: its core problem — solving systems of multivariate quadratic equations (the MQ problem) — is a proven NP-hard problem that was studied long before quantum threats were on the agenda. Signatures are its most natural application: the private key can solve a system of equations efficiently, the public key is the system itself, and verification is substitution. This article explains the route’s skeleton, the big fall it took, and why it is coming back.

The oil-and-vinegar structure: a hidden trapdoor

To understand multivariate signatures, start with UOV (Unbalanced Oil and Vinegar). The variables of the equations split into two groups: vinegar variables may take arbitrary values, while oil variables enter in a controlled way — the equations are built so that, once the vinegar variables are fixed, the equations in the oil variables degenerate into a linear system that can be solved directly. To sign, the signer picks vinegar values at random, solves the linear system for the oil variables, and assembles a complete solution; to verify, one substitutes the solution into the public equations and checks that they hold.

Where is the trapdoor hidden? The genuine UOV structure is “scrambled” by a secret affine transformation before publication: the public equations look like an unstructured pile of quadratic equations, and nobody can tell which variables are oil and which are vinegar. “Unbalanced” means the oil variables are distinctly fewer than the vinegar ones — a ratio that is itself a key parameter against known structural attacks. The basic UOV idea dates to 1997, and its skeleton has withstood more than two decades of analysis — a rare track record in the multivariate family.

The Rainbow lesson: the risk of layered structures

The multivariate route’s most painful lesson is Rainbow. It stacked UOV into multiple layers to shrink keys, reached the final round of NIST’s third-round process — and in 2022 Beullens produced a practical attack: for the first security level’s parameters, key recovery took on the order of days down to hours on ordinary computing resources, and Rainbow was out.

Two lessons follow. First, security in this family depends heavily on the concrete structure: the assumption (MQ hardness) was never dented; what broke was the layered structure introduced to compress sizes. Second, parameter choices on this route must leave margins far beyond intuition against cryptanalysis. Since then, community gravity has shifted visibly back to simpler single-layer designs — UOV itself and its modern variants — trading larger keys for more credible security arguments.

A history of attacks on this route

Multivariate security history reads as “structures keep breaking, the assumption keeps standing”. Early HFE-style constructions were gradually weakened by algebraic attacks (Gröbner-basis and relinearization methods); various compressed variants of bipolar constructions repeatedly adjusted parameters under MinRank-style attacks. The attacker’s toolbox has roughly three compartments: direct algebraic attacks (treating the public system as an algebra problem and solving head-on), rank attacks (exploiting the hidden low-rank structure behind the public equations), and differential and linearization attacks aimed at the trapdoor structure.

The methodology this history teaches matters more than any single result: a multivariate scheme’s security cannot be read off the general hardness of MQ alone — each structure must be assessed individually. Under the same assumption, one more structural layer or one notch of parameter savings can cost an order of magnitude of security margin. That is why current candidates converge on “simple structure, generous parameters”: larger keys, in exchange for security arguments that can be independently re-checked. When reading Rainbow’s exit, remember that what broke was its layered compression structure, not the MQ assumption — the first principle for evaluating any new multivariate scheme.

MAYO: whipping the public key down

Single-layer UOV’s old problem is public-key size: classical parameters run to well over a hundred kilobytes, hard to fit into certificates and protocols. MAYO’s improvement adds a “whipping” step to the oil-and-vinegar structure: structured equation coefficients are expanded from a small amount of seed material, so the public key can be represented compactly — down to the order of a few kilobytes depending on the parameter set — while the signature keeps the family advantage: as short as a hundred-odd bytes, with fast signing and verification.

MAYO, together with several modern UOV variants, advanced into the second round of NIST’s additional signatures call. For deployers, the correct positioning of this route today is: a diversity option whose assumption is independent of lattices and hashes, and a promising source of short signatures and fast verification — but standardization has not landed and parameters are still being tempered by analysis. It suits tracking and pilots, not a production mainstay bet today. Its revival itself proves a point: the post-quantum signature map is far from settled, and the second-layer seats NIST reserved are not decoration.

One more engineering trait deserves recording: multivariate arithmetic consists almost entirely of multiply-accumulate operations over finite fields — no big-integer units, no floating point — which makes it quite friendly to low-end microcontrollers and hardware implementations; verification is evaluating a set of polynomials, naturally parallel. Short signatures, fast verification and hardware friendliness together are the practical reasons this route keeps its seat among the additional-call candidates — provided its parameters survive sustained cryptanalysis, which is precisely the work the evaluation period asks the community to do for everyone.

Seen from the full map, the multivariate route carries one more irreplaceable value: its hardness assumption differs from lattice, hash-based and code-based alike. Among the additional-call combinations, it is one of the few routes offering “short signatures” and a “heterogeneous assumption” at the same time. Even for systems that ultimately choose a lattice mainstay, following the multivariate maturity curve is necessary homework for judging when a second route becomes usable.

Tags: Multivariate SignaturesUOVMAYOThe MQ Problem