Round-3 UOV block public keys and signing linearization #
In Version 3.0 of the UOV specification ([BCD+26], §3.1, pp. 11–13, and §3.2.3 / Figure 2,
pp. 14–17), the secret oil subspace is the column space of the (v + m) × m block matrix
[O; Iₘ] for O ∈ R^{v × m}, and each of the m homogeneous public polynomials is represented
by an upper-triangular (v + m) × (v + m) block matrix
Pᵢ = [[Pᵢ⁽¹⁾, Pᵢ⁽²⁾],
[0, Pᵢ⁽³⁾]]
with upper-triangular Pᵢ⁽¹⁾ and Pᵢ⁽³⁾ = Upper(-Oᵀ Pᵢ⁽¹⁾ O - Oᵀ Pᵢ⁽²⁾). Because
Upper(M) - M induces an alternating bilinear form in every characteristic
(Matrix.isAlt_toLinearMap₂'_upperQuadratic_sub), the restricted matrix
[Oᵀ Iₘ] Pᵢ [O; Iₘ] = Oᵀ Pᵢ⁽¹⁾ O + Oᵀ Pᵢ⁽²⁾ + Pᵢ⁽³⁾ induces an alternating bilinear form and
therefore vanishes identically on the embedded oil subspace, including in characteristic two.
To invert the resulting public map P : R^{v + m} → R^m at target t given a vinegar vector
u ∈ R^v, UOV forms the candidate preimage s = [u; 0] + [O; Iₘ] x, the vinegar evaluation
yᵢ = uᵀ Pᵢ⁽¹⁾ u, the precomputed secret-key matrices Sᵢ = (Pᵢ⁽¹⁾ + Pᵢ⁽¹⁾ᵀ) O + Pᵢ⁽²⁾, and the
m × m linear system matrix L whose i-th row is uᵀ Sᵢ. Reusing
MultivariateQuadraticMap.map_add_of_mem and MultivariateQuadraticMap.polar_ofMatrices_apply
yields the exact characteristic-independent linearization law
P(s)ᵢ = uᵀ Pᵢ⁽¹⁾ u + (uᵀ Sᵢ) x,
so P(s) = t if and only if L x = t - y.
The algebraic construction is parameterized over any commutative ring R and dimensions (v, m),
instantiating directly at the Round-3 binary extension fields UOV.F16 and UOV.F256 from
CslibFrontier.Crypto.Protocols.UOV.Field. Seed expansion (SHAKE256 / AES128-CTR), byte
serialization, the 256-attempt counter loop, retry failure bounds, and ROM/QROM security
reductions remain open under #4987.
Main definitions #
Cslib.Crypto.UOV.BlockKeyMaterial: the expanded secret oil matrixOtogether with upper-left upper-triangular vinegar blocksP⁽¹⁾and mixed blocksP⁽²⁾.Cslib.Crypto.UOV.vinegarEmbed,Cslib.Crypto.UOV.oilEmbed,Cslib.Crypto.UOV.blockOilSubspace,Cslib.Crypto.UOV.signatureVector:[u; 0], the linear oil embedding[O; Iₘ], its column-space submodule, ands = [u; 0] + [O; Iₘ] x.Cslib.Crypto.UOV.oilBlock,Cslib.Crypto.UOV.blockMatrix,Cslib.Crypto.UOV.BlockKeyMaterial.publicMatrix,Cslib.Crypto.UOV.BlockKeyMaterial.publicMap:Pᵢ⁽³⁾ = Upper(-Oᵀ Pᵢ⁽¹⁾ O - Oᵀ Pᵢ⁽²⁾), the reindexed(v + m) × (v + m)block matrixPᵢ, and the inducedMultivariateQuadraticMap.Cslib.Crypto.UOV.linearizationMatrix,Cslib.Crypto.UOV.vinegarEval,Cslib.Crypto.UOV.signingMatrix,Cslib.Crypto.UOV.BlockKeyMaterial.signingSystemMatrix:Sᵢ = (Pᵢ⁽¹⁾ + Pᵢ⁽¹⁾ᵀ) O + Pᵢ⁽²⁾,yᵢ = uᵀ Pᵢ⁽¹⁾ u, and the row matrixL.
Main results #
Cslib.Crypto.UOV.oilEmbed_injective: the oil-space parameterizationx ↦ [O x; x]is injective over every commutative ring.Cslib.Crypto.UOV.isUpperTriangular_blockMatrix,Cslib.Crypto.UOV.BlockKeyMaterial.isUpperTriangular_publicMatrix:Pᵢis upper triangular.Cslib.Crypto.UOV.isAlt_oilRestriction:[Oᵀ Iₘ] Pᵢ [O; Iₘ]induces an alternating bilinear form in every characteristic.Cslib.Crypto.UOV.eq_oilBlock_iff:oilBlock O P1 P2is the unique upper-triangularm × mblock making(blockMatrix P1 P2 P3).toQuadraticForm'vanish onblockOilSubspace O.Cslib.Crypto.UOV.BlockKeyMaterial.publicMap_vanishesOn: the constructed public map vanishes onblockOilSubspace O.Cslib.Crypto.UOV.BlockKeyMaterial.publicMap_signatureVector_apply,Cslib.Crypto.UOV.BlockKeyMaterial.publicMap_signatureVector: exact coordinate and vector signing linearization identitiesP([u; 0] + [O; Iₘ] x) = y + L x.Cslib.Crypto.UOV.BlockKeyMaterial.publicMap_signatureVector_eq_iff:P(s) = t ↔ L x = t - y.
References #
The expanded algebraic key matrices from which Round-3 UOV constructs its public key and
signing matrices ([BCD+26], Figure 2, line 3, p. 16): the secret oil matrix O ∈ R^{v × m}
together with upper-triangular vinegar-vinegar blocks P1 i ∈ R^{v × v} and vinegar-oil blocks
P2 i ∈ R^{v × m}.
Secret oil-space generator
O ∈ R^{v × m}defining the oil embeddingx ↦ [O x; x].Upper-left vinegar quadratic blocks
Pᵢ⁽¹⁾ ∈ R^{v × v}.Upper-right mixed vinegar-oil blocks
Pᵢ⁽²⁾ ∈ R^{v × m}.Each expanded
Pᵢ⁽¹⁾block is upper triangular ([BCD+26], Figure 2, line 3, p. 16).
Every vector oilEmbed O x lies in blockOilSubspace O.
signatureVector O u x equals Fin.append (u + O *ᵥ x) x.
Assemble the (v + m) × (v + m) public polynomial matrix [[P1, P2], [0, P3]] indexed on
Fin (v + m) via finSumFinEquiv ([BCD+26], §3.1, p. 12).
When P1 and P3 are upper triangular, the assembled (v + m) × (v + m) block matrix is
upper triangular under the standard order on Fin (v + m).
The restricted oil-space matrix Oᵀ P1 O + Oᵀ P2 + oilBlock O P1 P2 ([Oᵀ Iₘ] Pᵢ [O; Iₘ])
induces an alternating bilinear form in every characteristic ([BCD+26], §3.1, p. 12).
Uniqueness of the oil block Pᵢ⁽³⁾ ([BCD+26], §3.1, p. 12): an m × m matrix P3 is
upper triangular and makes (blockMatrix P1 P2 P3).toQuadraticForm' vanish on
blockOilSubspace O if and only if P3 = oilBlock O P1 P2.
Every key.publicMatrix i is upper triangular ([BCD+26], §3.1, p. 12, and Figure 2, lines
3–6, p. 16).
The Round-3 UOV public quadratic map P : R^{v + m} → R^m assembled from
key.publicMatrix.
The constructed public quadratic map vanishes on the entire embedded oil subspace [O; Iₘ].
Signing linearization #
Precomputed secret-key matrix Sᵢ = (Pᵢ⁽¹⁾ + Pᵢ⁽¹⁾ᵀ) O + Pᵢ⁽²⁾ ∈ R^{v × m}
([BCD+26], §3.1, p. 13, and UOV.ExpandSK, Figure 2, line 4, p. 16).
key.publicMap evaluated at vinegarEmbed u = [u; 0] equals
vinegarEval key.vinegarBlock u.
key's signing matrix L at vinegar vector u.
Polar evaluation between [u; 0] and [O x; x] equals (uᵀ Sᵢ) x, retaining the transpose
contribution Pᵢ⁽¹⁾ᵀ O in every characteristic.
UOV coordinate signing linearization ([BCD+26], §3.1, pp. 12–13):
pᵢ([u; 0] + [O; Iₘ] x) = uᵀ Pᵢ⁽¹⁾ u + (uᵀ Sᵢ) x in every characteristic.
UOV vector signing linearization ([BCD+26], §3.1, p. 13):
P([u; 0] + [O; Iₘ] x) = y + L x.
UOV signing linear-system equivalence ([BCD+26], §3.1, p. 13, and UOV.Sign /
UOV.Verify, Figure 2, pp. 16–17): P([u; 0] + [O; Iₘ] x) = t if and only if L x = t - y.