KOS consistency affine extractor and exact binomial loss #
Section 10.6 of the FAEST v3.0 specification ([BBB+26c], Lemma 10.26 and Corollary 10.27,
pp. 97–99) analyzes the VOLEHash consistency check through an explicit affine-line extractor
E_{KOS,S}(H, ũ, ṽ) over a finite collection S of candidate (Δ, q) openings:
- Given a linear hash evaluation
h : V →ₗ[F] Wand hashed target linetarget = (ũ, ṽ), the extractor filters the accepted openingsS_{h, ũ, ṽ} = {(Δ, q) ∈ S | h q = Δ • ũ + ṽ}:- zero accepted openings: returns
⟨0, 0⟩; - one accepted challenge (every accepted opening shares
Δ₀): returns the constant line⟨0, q₀⟩; - at least two accepted openings with distinct challenges
Δ₁ ≠ Δ₀: interpolates the unique affine lineu = (Δ₁ - Δ₀)⁻¹ • (q₁ - q₀),v = q₀ - Δ₀ • u.
- zero accepted openings: returns
- If
Sis a response graph (IsResponseGraph, i.e., equal challenges inScarry equal responses, as in Corollary 10.27'sS_t = {(Δ, Resp_t(Δ)) | Resp_t(Δ) ≠ ⊥}), any accepted opening(Δ₂, q₂) ∈ Smissed by the extracted line yields an explicit failure witness (KOSFailureWitness/kosFailureWitness): three openings(Δ₀, q₀), (Δ₁, q₁), (Δ₂, q₂) ∈ Swith pairwise distinct challenges (HasKOSBadTriple, matching Bad event 2 on p. 98) whose nonzero affine collinearity defectkosAffineDefect p₀ p₁ p₂ = (Δ₁ - Δ₀) • (q₂ - q₀) - (Δ₂ - Δ₀) • (q₁ - q₀) ≠ 0is mapped to0byh. - Because
kosAffineDefectonly changes sign under permutations of its three inputs, unordered 3-element index subsets ofresponsescanonically cover all bad triples. For anyε-universal linear hash family (Cslib.Probability.IsUniversalHash), the union bound overpowersetCard 3gives the abstract response-graph stepε * (responses.length.choose 3)(toOuterMeasure_kosExtract_graph_failure_le), and combining withIsUniversalHash.toOuterMeasure_not_injOn_legives the abstract general-list stepε * (responses.length.choose 2 + responses.length.choose 3)(toOuterMeasure_kosExtract_failure_le).
Source correspondence and scope #
These theorems formalize the abstract IsUniversalHash steps of Lemma 10.26 and Corollary 10.27,
not FAEST's concrete VOLEHash endpoints:
- Lemma 10.26's statement (p. 97) writes the relaxed cubic bound
(|S|³ / 6 + |S|² / 2) εover a finite setS, whereas its proof (p. 98) derives the sharper binomial sum(choose |S| 2 + choose |S| 3) εbefore relaxing; similarly Corollary 10.27's statement writes|S_t|³ / 6 · ε_vafter eliminating Bad event 1. The theorems here retain the exact binomial coefficients. responses : List (F × V)counts list positions (responses.length), matching the source's set cardinality|S|on any duplicate-free enumeration (responses.Nodup) while remaining valid as an upper bound when duplicates are present.- Following Lemma 10.26 (p. 97), the attacker and extractor may be computationally unbounded and
responsesmay have exponential length (up to2^{λ - w_grind}in FAEST), sokosExtractis not claimed to run in polynomial time in a security parameter. ConcreteVOLEHashuniversality, BAVC selective-opening reconstruction (#5302), Lemma 10.19's response graph, QuickSilver v3, and ROM/QROM signature reductions remain open under #4987.
Main definitions #
Cslib.Crypto.Protocols.VOLE.KOSLineandKOSLine.eval: affine lineΔ ↦ Δ • slope + intercept.Cslib.Crypto.Protocols.VOLE.IsResponseGraph: partial-function graph invariant onList (F × V).Cslib.Crypto.Protocols.VOLE.kosAffineDefect: affine collinearity defect(Δ₁ - Δ₀) • (q₂ - q₀) - (Δ₂ - Δ₀) • (q₁ - q₀).Cslib.Crypto.Protocols.VOLE.kosExtract: total executable affine-line extractor handling0,1, and≥ 2accepted challenges.Cslib.Crypto.Protocols.VOLE.KOSFailureWitnessandkosFailureWitness: explicit computable non-collinear triple witness from any failed graph extraction.Cslib.Crypto.Protocols.VOLE.HasKOSBadPair,Cslib.Crypto.Protocols.VOLE.HasKOSBadTriple: bad-pair (Bad event 1) and distinct-challenge bad-triple (Bad event 2) predicates onhandresponses.
Main results #
Cslib.Crypto.Protocols.VOLE.KOSLine.eq_of_eval_eq: twoKOSLines agreeing at two distinct field elements are equal.Cslib.Crypto.Protocols.VOLE.kosExtract_eval_eq_of_not_hasKOSBadTriple: outsideHasKOSBadTriple h responses, every accepted opening of a response graph lies on the extracted affine line.Cslib.Crypto.Protocols.VOLE.not_hasKOSBadTriple_of_length_le_two: lists of at most two openings have no bad triples.Cslib.Crypto.Protocols.VOLE.toOuterMeasure_hasKOSBadTriple_le,Cslib.Crypto.Protocols.VOLE.toOuterMeasure_kosExtract_graph_failure_le: abstract response-graphε * (responses.length.choose 3)step toward Corollary 10.27.Cslib.Crypto.Protocols.VOLE.toOuterMeasure_hasKOSBadPair_le,Cslib.Crypto.Protocols.VOLE.toOuterMeasure_kosExtract_failure_le: abstractε * ((responses.length.choose 2) + (responses.length.choose 3))step of Lemma 10.26.
References #
Two affine lines over a vector space that agree at two distinct points Δ₀ ≠ Δ₁ are equal.
Any opening list with pairwise distinct challenges satisfies IsResponseGraph.
Affine collinearity defect of three openings p₀, p₁, p₂ : F × V
([BBB+26c], Lemma 10.26 proof, p. 98):
(p₁.1 - p₀.1) • (p₂.2 - p₀.2) - (p₂.1 - p₀.1) • (p₁.2 - p₀.2).
Three openings lying on a single KOSLine have zero kosAffineDefect.
Bad-triple predicate (step corresponding to Bad event 2 in [BBB+26c], Lemma 10.26,
p. 98): three openings in responses at pairwise distinct challenges have a nonzero
kosAffineDefect mapped to 0 by h.
Lists of at most two openings cannot contain three pairwise distinct challenges and therefore
never satisfy HasKOSBadTriple.
Executable, total KOS affine-line extractor ([BBB+26c], §10.6, Lemma 10.26 and
Corollary 10.27, pp. 97–99). Selects accepted openings via selectAccepted and handles 0, 1,
and ≥ 2 distinct accepted challenges via interpolateKOSLine.
kosExtract reads h only at the response vectors p.2 for p ∈ responses.
On a single accepted opening p₀, kosExtract returns the constant line ⟨0, p₀.2⟩.
Explicit computable failure witness from any failed extraction on a response graph ([BBB+26c], Lemma 10.26 proof, p. 98).
Construct an explicit KOSFailureWitness whenever kosExtract misses an accepted opening p
of a response graph responses.
Deterministic extraction step of [BBB+26c], §10.6, Lemma 10.26 and Corollary 10.27
(pp. 97–99): on a response graph responses, if HasKOSBadTriple h responses does not hold, then
every opening p ∈ responses accepted by target lies on kosExtract h responses target.
Bad-pair predicate (step corresponding to Bad event 1 in [BBB+26c], Lemma 10.26,
p. 98): two openings in responses share the same challenge Δ with distinct response vectors
q₀ ≠ q₁ whose hashes collide. Impossible when IsResponseGraph responses holds.
Bad-pair union-bound step of [BBB+26c], §10.6, Lemma 10.26 (Bad event 1, p. 98),
derived from IsUniversalHash.toOuterMeasure_not_injOn_le: for any ε-universal hash family h,
HasKOSBadPair (h s) responses holds with seed probability at most
ε * (responses.length.choose 2).
Bad-triple union-bound step of [BBB+26c], §10.6, Lemma 10.26 (Bad event 2, p. 98):
for any ε-universal linear hash family H, HasKOSBadTriple (H s) responses holds with seed
probability at most ε * (responses.length.choose 3).
Abstract response-graph step toward [BBB+26c], §10.6, Corollary 10.27 (pp. 98–99),
not the concrete VOLEHash / Lemma 10.19 endpoint (which remains open under #4987): when
responses is a response graph and H is an ε-universal linear hash family, the probability
over s ← seed that there exists any hashed line target and accepted opening p ∈ responses
missed by kosExtract (H s) responses target is at most ε * (responses.length.choose 3),
matching choose |S_t| 3 · ε on a duplicate-free enumeration of S_t.
Abstract universal-hash step of [BBB+26c], §10.6, Lemma 10.26 (pp. 97–98), not the
concrete VOLEHash instantiation (tracked in #4987): on an arbitrary finite opening list
responses (without assuming IsResponseGraph), extraction fails with probability at most
ε * (responses.length.choose 2 + responses.length.choose 3). On a duplicate-free enumeration
responses.Nodup of S, responses.length = |S|, matching the proof's binomial bound before
Lemma 10.26's cubic relaxation (|S|³ / 6 + |S|² / 2) ε.