[ BENCHMARKS / v5.0 / TASKS / 143_uov ]

Oil-and-Vinegar (UOV) signature scheme in Python.

The unbalanced Oil-and-Vinegar multivariate signature scheme over GF(251): key generation, signing and verification.

Unit
143_uov
Category
SecurityCipher implementation
Language
Python
Difficulty
Hard900 s wall clock (15 min)
Origin
From v4, kept as defined
Ranked rows passed
7/7single seed each

The prompt

The agent receives exactly this text as its task, verbatim. The harness adds its own system prompt and, in some campaign arms, guidance of its own; the harness chapter describes those. The task’s setup also writes the files its working directory starts with (a worked sample, a repository or a service, where the prompt names them); they are not reproduced here.

Prompt · 143_uov
Create /tmp/eval_uov/uov.py implementing the (unbalanced) Oil-and-Vinegar multivariate-quadratic signature scheme over GF(p) with p = 251. Required: P = 251 (module constant); uov_keygen(v, o, seed=0, p=P) — generate the central map F (a list of o quadratic polynomials over v vinegar + o oil variables, each polynomial has only vinegar*vinegar and vinegar*oil terms — NO oil*oil), pick a random invertible (v+o)x(v+o) linear transform T mod p, return (public_polys, private_key) where public_polys = F composed with T expanded into monomials {(i, j) -> coeff} with i <= j. uov_sign(message_hash, private_key, seed=0, p=P) — message_hash is a list of o integers mod p; pick random vinegar values; with vinegar fixed the central map is linear in oil — solve via Gaussian elimination over GF(p); apply T_inv to recover the signature. Retry with new vinegar if linear system is singular. Returns a list of v+o integers. uov_verify(message_hash, signature, public_key, p=P) — evaluate public_polys on signature and check = message_hash mod p.

What it tests and why it is in the suite

What it asks. The unbalanced Oil-and-Vinegar multivariate signature scheme over GF(251): key generation, signing and verification.

Why it is here. Kept from v4 as defined. It keeps Security covered after the ChaCha20-Poly1305 (165) and vulnerability-hunt (180) families did not clear review; its own rework did not clear either.

In the suite README: evals/README.md:135 · evals/README.md:149 · evals/README.md:154 · evals/README.md:159

How it is graded

Graded by its v4 validator, sealed from the agent, after the agent stops. Two changes from v4: the prover can find a reference for it, and any wall-clock gate in its validator scales with the run’s timeout scale, as every v5 limit does. It is proven like every other unit (the reference passes; wrong and empty solutions and a leak probe fail), but in its v4 form it did not get the adversarial review the new families had.

Upstream: the prover’s controls · one unit’s life cycle · why v5 is built this way

How each ranked run did

One run per board row, the DGX Spark pair first, then the RTX 5090, then the gold standard. Each is a single seed: a pass or a fail on one unit is one draw, and a difference between two rows on one unit says little on its own. Claude Opus 5.5 is the unranked reference, in its own scaffold.

DGX Spark pair

One RTX 5090

Gold standard · unranked

  • Claude Opus 5.5Claude Code tools, no turn cap, 2× wallPassedPassed the validator.