Has it been Pwned

How MAYO works

MAYO builds a larger signing equation out of several copies of a small Oil and Vinegar map. This gives the signer enough hidden variables to reach the target while keeping the public key compact.

Program status. MAYO is a Round 3 additional signature candidate. This guide uses the Round 3 map, including its message-dependent linear term. NIST program history

Why the signer needs several input vectors

In ordinary UOV the oil subspace provides enough unknowns for a square linear system once the vinegar choices are fixed. A smaller oil space would reduce the amount of public-key data that must be stored. It would also leave too few adjustable oil coordinates to reach arbitrary targets in one evaluation of the map.

MAYO takes a smaller oil dimension o and uses k input vectors at once. The signer now has k groups of adjustable oil coordinates. Each belongs to the same secret subspace. The public verifier combines the small map evaluated on each vector with its cross terms evaluated on pairs of vectors. This construction is called “whipping” in the designers’ specification. Reusing one underlying map keeps the public description smaller than publishing k independent maps.

The complete Round 3 verification relation

P⋆(s₀,…,sₖ₋₁) + L(Λ,s₀,…,sₖ₋₁) = t

P⋆ is the combined quadratic map, s₀ through sₖ₋₁ are the signature vectors, t is the target, and L is a linear function of those vectors. Both t and the matrix Λ defining L depend on the message and salt. All coordinates are in the 16-element field.

For a quadratic map P, the cross term is B(a,b) = P(a + b) − P(a) − P(b). The combined map takes a weighted sum of P(sᵢ) and B(sᵢ,sⱼ) for i < j, with fixed public matrix weights. When every argument is an oil vector, P and the cross terms vanish. After k vinegar vectors are fixed, only linear terms in the oil coordinates remain, including the contribution from L. The added linear term binds the evaluated map itself to the message and salt.

Worked example

In one proposed level-1 set the submission gives k = 5, o = 13 and m = 64 output coordinates. One copy offers 13 oil unknowns. Five copies offer 65, enough for 64 equations if the induced system has full row rank. This is a dimension check, not a guarantee of solvability for every vinegar choice or an estimate of attack cost.

How the small map signs a message

  1. Generate

    Choose the secret oil information and generate the public coefficients from a seed plus a smaller stored block. The public mixing matrices used to combine outputs are part of the parameter specification.

  2. Sign

    Derive the target and linear map from the message and salt. Choose k vinegar vectors and solve the resulting system for their oil adjustments. Use the prescribed solution sampler and retry rules. Transform the resulting k vectors to public coordinates.

  3. Verify

    Parse the k vectors and salt, derive the same target and linear term, expand the public map, and evaluate the combined equation.

What the dimensions do and do not buy

Adding signature vectors trades a longer signature for fewer explicitly stored coefficients. It also creates extra relations that structural cryptanalysis must examine. The round, MAYO parameter name and public field structure are essential context for any reported work factor. Implementations need the complete current verification relation. Reconstructing only P⋆ from an earlier description would check a different algorithm. Sampling a solution when there are free coordinates also requires the specified distribution, even when any algebraically correct answer would pass verification.

What a power trace can reveal about the signing computation

Two Cortex-M4 studies measured one secret operation inside MAYO-1. The September study measured leakage and tested masking with shuffling. The November study estimated how far the true secret moved up a list of guesses and measured the cost of a corrected build.

Read the study and its scope →

September companion study on MAYO power leakage →

ASIACRYPT physical fault study on randomized MAYO-1 →

Primary sources

Construction and program sources reviewed .