FAEST v3 CRT witness-reuse hazard and witness-order repair for VOLE-ACT #
This module formalizes the linear-algebraic parity leakage arising when FAEST-style CRT VOLE masks
reuse the first lam bits of a prover's witness as Free-XOR garbled-circuit label offsets,
together with the Issue-to-Spend and Spend-prefix unlinkability breaks under draft witness
ordering and the witness-order repair that places fresh uniform opening randomness first.
In [VOLEACT2026] (Protocol Specification / Initial Issuance and Spending), the Issuance witness
is listed as (nf, r) and the Spend witness as (t, r, x, s, nf', t', r'), without mandating
witness byte offsets or addressing CRT mask reuse ([VOLEACT2026] #proof-status leaves the
unlinkability proof open). When FAEST-style CRT VOLE masks ([BaumEtAl2026FAEST], §§3.1–3.3 pp.
13–18, §6 pp. 35–43 / Figs. 6.1–6.3, and §10.10 Games G6–G11 pp. 115–121 as background) reuse
the first lam witness bits as Free-XOR garbled-circuit label offsets, an H5-style garbling mask
check compressing nMult gate tables across nMask masks introduces an
F : Matrix (Fin nMult) (Fin lam) (ZMod 2) linear map. Whenever F.rank < nMult (in particular
whenever lam < nMult), Fᵀ has a nontrivial kernel of dimension at least nMult - lam, exposing
linear parity equations satisfied identically by any valid witness prefix and rejecting independent
random guesses with probability (2 : ℝ≥0∞)⁻¹ ^ (nMask * r) across r independent parity checks
(for example, nMult = 312, lam = 128, nMask = 12, r = 14, kGates = 27 in illustrative CRT
parameters; FAEST-128s uses nmult = 312 and nmask = dzk + 3).
This formalization, its matrix bounds, random-oracle H5 distinguishers, query bounds,
unlinkability games, and witness-order repair statements are original to this library as finite,
query-bounded steps (#7068); asymptotic PPT certificates and concrete circuit lookup tables
are outside this module's scope. Empty/zero-width parameterizations (nMask = 0, rSub = 0, or
nMult ≤ lam) are admitted and degenerate to trivial 0 ≤ advantage or 0 ≤ leftKernelDim
bounds.
Main definitions #
CRTMaskTable,honestCRTMaskTable,candidateLabel: CRT garbled mask table model and active/complementary Free-XOR label reconstruction from prefix guesswStar.crtPrefixEval,crtPrefixTest: deterministic evaluation andkGates-queryH5parity test.crtIssueSpendGame,crtIssueSpendAdversary: Issue-to-Spend unlinkability break whennfoccupies the CRT prefix.crtSpendPrefixTest,packBalancePrefix,balancePrefixGuesses,crtSpendBalancePrefixGame: Spend-time brute-force distinguisher over trailing randomness when public balancetenters the CRT prefix.rFirstCRTMaskView,rFirstDecoupledView: witness-order repair placing fresh uniform openingrin the firstlamprefix bits.
Main results #
parityCheck_map_uniformOfFintype,parityCheck_uniform_zero_prob,multiMask_parityCheck_uniform_zero_prob: exact uniform false-positive rates(|K|⁻¹) ^ rand(2 : ℝ≥0∞)⁻¹ ^ (nMask * r)(relying on generic[Field K]left-kernel results fromCslibFrontier.Foundations.LinearAlgebra.Matrix.LeftKernel).crtPrefixTest_isQueryBounded,crtPrefixTest_honest_true,crtPrefixTest_wrong_guess_prob:kGates-query soundness and completeness of theH5prefix distinguisher.crtIssueSpendAdversary_isQueryBounded,crtIssueSpendAdversary_advantage_ge: Issue-to-Spend unlinkability break whennfsits in the CRT prefix (accounting for thed₀ = nf₁collision).crtSpendPrefixTest_isQueryBounded,crtSpendPrefixTest_correct,crtSpendPrefixTest_wrong_t_le,crtSpendBalancePrefix_advantage_ge: Spend-time(t, r_lo)brute-force distinguishing bound.rFirstCRTMaskView_eq_decoupled,rFirstCRTMaskView_eq,rFirst_breaks_witnessKnowingZK: placing uniformrfirst makes theH5-unqueried CRT view equalrFirstDecoupledViewand independent of semantic metadata (Game.advantage = 0), while a witness-knowing distinguisher givenrstill distinguishes real tables from uniform ones.
References #
- VOLE-ACT, Protocol Specification / Initial Issuance (
#issuance), Spending (#spending), and Proof status (#proof-status). - C. Baum et al., FAEST v3: Algorithm Specifications, §§3.1–3.3 (pp. 13–18), §6 (pp. 35–43, Figs. 6.1–6.3), and §10.10 (pp. 115–121) for CRT VOLE masks and Free-XOR label derivation.
Uniform parity rejection over surjective parity-check matrices #
Pushing a uniform input vector through a surjective matrix gives the uniform output law.
Pushing nMask i.i.d. uniform vectors through a surjective matrix gives nMask i.i.d.
uniform syndromes.
A uniform vector passes r independent parity checks with probability (|K|⁻¹) ^ r.
Across nMask i.i.d. uniform vectors over ZMod 2, all nMask * r parity checks pass
simultaneously with probability 2⁻¹ ^ (nMask * r).
CRT garbled mask tables and query-bounded H5 distinguishers #
Oracle specification for H5.
A CRT garbled mask table generated under witness prefix wPrefix.
- iv : IV
Per-proof initialization vector
iv. Verifier-reconstructed active Free-XOR label
L'_efor each gatee.Prefix correction string
d[0..lam) = w[0..lam) ⊕ u[0..lam).Encrypted CRT multiplication-mask rows
cmult[m, e].
Construct an honest CRT mask table from zero-labels L0, offset uPrefix, witness prefix
wPrefix, active gate bits active, CRT gate matrix F, mask inputs maskInput, and H5.
Candidate complementary Free-XOR label derived from tbl and prefix guess wStar.
For wStar = wPrefix, the candidate label equals the complementary label of
honestCRTMaskTable, so active and candidate H5 values recover F *ᵥ maskInput mask
exactly.
Whenever a guess wStar ≠ wPrefix and tbl.dPrefix + wStar ≠ 0, its candidate label differs
from both L0 e and L0 e + uPrefix at every gate e.
Deterministic parity evaluation of a candidate prefix wStar against kGates subcircuit gates
given an H5 oracle function.
The kGates-query H5 prefix distinguisher: queries H5 on each gate sub i with
candidate label candidateLabel tbl wStar (sub i) and checks all nMask * rSub parities.
crtPrefixTest makes at most kGates queries to H5.
Deterministic execution of crtPrefixTest against h5 computes crtPrefixEval.
Completeness: on the true witness prefix wPrefix, crtPrefixTest accepts with probability
1 under any H5 function provided Hsub annihilates F.submatrix sub id.
Soundness against wrong guesses: in the uniform H5 random-oracle model, conditioned on fixed
non-queried entries (outside the candidate labels), a wrong guess wStar ≠ wPrefix with
dPrefix + wStar ≠ 0 passes all nMask * rSub parity checks with probability
2⁻¹ ^ (nMask * rSub).
Issue-to-Spend & Spend-prefix unlinkability breaks, and r-first repair #
The Issue-to-Spend prefix-leakage experiment when nf sits in the first lam bits of the
issuance witness: two distinct nullifiers nf₀ ≠ nf₁ are issued using random u₀, u₁ and H5;
then nf_b (nf₀ when b = false, nf₁ when b = true) is revealed to the adversary together
with both issuance CRT tables and verifier active-label hashes.
The kGates-query Issue-to-Spend distinguisher testing the revealed spend nullifier nf
against client 0's issuance CRT table tbl₀.
crtIssueSpendAdversary makes at most kGates queries to H5.
Issue-to-Spend CRT prefix break: whenever nf₀ ≠ nf₁ and Hsub * (F.submatrix sub id) = 0
with surjective Hsub.mulVecLin, crtIssueSpendAdversary accepts b = false with probability 1
and accepts b = true with probability at most (2⁻¹) ^ (nMask * rSub) + (2⁻¹) ^ lam, achieving
two-world advantage at least 1 - ((2⁻¹) ^ (nMask * rSub) + (2⁻¹) ^ lam).
Left-injectivity of packBalancePrefix: equal encodings imply t₀ = t₁.
Exhaustive Spend-prefix parity test across a list of lam-bit prefix guesses guesses.
crtSpendPrefixTest issues at most guesses.length * kGates H5 queries.
Deterministic execution of crtSpendPrefixTest returns guesses.any (crtPrefixEval ...).
Enumerate all 2 ^ wRand guesses packBalancePrefix tStar r in deterministic order.
balancePrefixGuesses wBal wRand tStar has length 2 ^ wRand.
Every packBalancePrefix tStar r is listed in balancePrefixGuesses wBal wRand tStar.
Candidates in balancePrefixGuesses wBal wRand tStar are disjoint from
packBalancePrefix tReal rReal whenever tStar ≠ tReal.
When tStar = tReal, crtSpendPrefixTest over balancePrefixGuesses succeeds with probability
1 in at most 2 ^ wRand * kGates queries.
When tReal differs from every balance candidate in guesses, a crtSpendPrefixTest scan
false-accepts with probability at most
guesses.length * ((2⁻¹) ^ (nMask * rSub) + (2⁻¹) ^ (wBal + wRand)) in the random uPrefix +
H5 model.
Spend-balance CRT prefix experiment: two distinct candidate balances t₀ ≠ t₁ pack into the
leading wBal bits of (t_b, r) (wBal + wRand prefix bits), and the distinguisher receives the
resulting Spend CRT table and tests t₀ by enumerating all 2 ^ wRand trailing randomness
slices.
When t₀ ≠ t₁, testing balancePrefixGuesses wBal wRand t₀ (2 ^ wRand * kGates H5
queries) accepts b = false with probability 1 and false-accepts b = true with probability at
most 2 ^ wRand * ((2⁻¹) ^ (nMask * rSub) + (2⁻¹) ^ (wBal + wRand)).
Witness-order repair view (in the witness-reuse CRT mode that reuses the witness prefix as the
CRT mask offset, placing fresh uniform opening r at
bytes 0..lam and H5 unqueried on complementary labels): given public L0 and active, the
uniform opening r, uniform VOLE secret u, and uniform H5 mask padding hXor produce
dPrefix := r + u and cmult shifted by F *ᵥ maskInput metaData.
Idealized decoupled CRT table distribution (G8.5, this library's intermediate hop between
FAEST v3.0 Theorem 10.42's G8 and G9 in [BBB+26c]) with uniform dPrefix and
cmult, independent of the witness opening r.
When H5 answers on active and complementary labels are uniform and fresh uniform opening
r is placed first, both r ↦ r + u and hXor ↦ hXor + F *ᵥ maskInput metaData are uniform
bijections, so rFirstCRTMaskView equals (uniformOfFintype _).bind (fun u => rFirstDecoupledView ...), completely decoupling (dPrefix, cmult) from u and metaData.
Corollary: rFirstCRTMaskView is identically distributed across arbitrary semantic metadata
meta₀ and meta₁ once r is placed first and H5 answers are unqueried.
Even when r is placed first, a witness-knowing ZK distinguisher (supplied with r) runs
crtPrefixTest on w* = r and distinguishes real honestCRTMaskTable tables from uniform
cmult simulations with probability 1 vs 2⁻¹ ^ (nMask * rSub) (advantage = 1 - ...).