← Back to section · Post-Quantum Cryptography
UOV: The Oil-and-Vinegar Signature, the Longest-Lived Multivariate Design
How the Oil-and-Vinegar (UOV) signature works: why splitting variables into oil and vinegar groups yields a solvable central map, how balanced Oil-and-Vinegar fell, how unbalancing saved it, and why it became the foundation of modern multivariate signatures.
Why Oil and Vinegar Must Not Mix
The Oil-and-Vinegar idea dates to 1997 work by Kipnis, Patarin and Goubin, and its name comes from a kitchen fact: poured together, oil and vinegar still refuse to blend. Split the variables into two groups — vinegar variables and oil variables — and impose one rule when building the central equations: no quadratic term may multiply two oil variables. Oil variables appear only linearly; every quadratic term involves at least one vinegar variable. Each equation still looks like a full quadratic equation, but the oil variables never “mix” with each other.
That discipline buys the trapdoor. To sign, the private-key holder first assigns random values to all vinegar variables; the system immediately collapses into a linear system in the oil variables, because no oil–oil quadratic terms exist and everything left is degree one in them. Solving a linear system is elementary, and a signature is thereby “cooked up” on demand. An attacker does not know the oil–vinegar partition — it is scrambled by the two affine layers and kept in the private key — and faces a generic quadratic system instead.
Death of the Balanced Version: The Invariant-Subspace Attack
The original scheme took equal numbers of oil and vinegar variables: balanced Oil-and-Vinegar. It survived only two years. In 1999 Kipnis and Shamir observed that the subspace spanned by the oil variables has a recognizable algebraic signature under certain linear combinations of the public equations — the vinegar quadratic forms degenerate on the oil subspace — allowing an attacker to compute the oil subspace itself from the public key with linear algebra, exposing the trapdoor. The scheme was broken.
But the break left a signpost rather than a ruin: its power depended on the oil-to-vinegar ratio being close to one-to-one. The same year, Kipnis, Patarin and Goubin published the fix — Unbalanced Oil and Vinegar (UOV): take substantially more vinegar than oil variables (typically around two vinegar variables per oil variable), so the oil subspace is “diluted” beyond what the invariant-subspace method can separate. More than two decades later, attacks on UOV itself still cost about as much as solving the system directly, making it the longest-lived design in the multivariate family.
Signing Once, Step by Step
Walking through one signature makes the structure concrete. Let the total variable count be , with vinegar and oil variables, , and let the number of equations equal the oil count . First, the signer picks random values for all vinegar variables — this is the signature’s source of randomness, so signing the same message twice gives different results. Second, substitute the vinegar values into the central equations: oil–oil quadratic terms do not exist, vinegar–vinegar terms become constants, and oil–vinegar cross terms become linear in the oil variables, so each equation degenerates into a linear equation in the oil unknowns — equations for unknowns. Third, solve the linear system to obtain the oil values. Occasionally the system is singular, with no solution or no unique one; the signer simply retries with fresh vinegar values, and sound parameter choices keep this retry probability very low. Finally, the complete variable tuple passes back through the inverse of the outer affine layer to become the public signature.
Verification is just as plain, symmetrically: the verifier substitutes the signature into the public equations, evaluates each, and compares against the message hash term by term. Nothing in the entire scheme goes beyond polynomial evaluation and linear algebra — which is why it is simple to implement and runs comfortably on modest hardware. Parameter selection revolves around a set of tensions: more oil variables mean longer signatures and costlier linear solving, but also a larger system for attackers to face head-on; a higher vinegar ratio leaves invariant-subspace attacks less to grip, but multiplies the coefficients the public key must store. The choice between the binary field and larger fields (such as a 256-element field) further shapes per-coefficient storage and arithmetic cost, and UOV’s different parameter sets are simply different landing points within this tension field.
The Engineering Character of a Simple Structure
UOV’s operations are strikingly plain: signing is solving a linear system, verification is polynomial evaluation — no lattice Gaussian sampling, no bulky hash trees. Its fingerprint matches the family: short signatures (a tuple of field elements), fast verification, and a large public key that must spell out every coefficient of the system, typically in the tens-to-hundreds of kilobytes. Later research added several slimming techniques — deriving most of the public key from a short seed, exploiting cyclic or sparse structure in the equations — and schemes such as MAYO and QR-UOV follow exactly this path to compress UOV’s key into a practical range.
The Foundation’s Standing
Nearly every serious multivariate signature today stands on UOV’s shoulders: Rainbow is its layered version, MAYO a close relative with a “whipping” compression step, QR-UOV moves it into quotient rings to trade sizes, and SNOVA borrows its layered solving pattern. UOV itself entered, in its original form, NIST’s additional signature process — the call to expand the post-quantum signature portfolio — and advanced to the second round of evaluation; its submission defines parameter sets at NIST security categories one, three and five, so reviewers can compare it against the incumbent lattice and hash-based standards on a single scale. A design from 1999 still competing in a standardization arena a quarter-century later is a record unique in the multivariate family. Its greatest lesson for successors may be multivariate cryptography’s plainest survival rule: stay alive first, elegance second.
Tags: UOVOil-and-VinegarMultivariate Cryptography