Vector Oblivious Linear Evaluation (VOLE), IT-MACs, and a Linear Sigma Protocol #
Vector Oblivious Linear Evaluation (VOLE) ([BCG+19]; [BBDdSG+23c]) is a two-party
correlation generator over a commutative ring R: for a vector length n, the sender receives
vectors (u, v) : (Fin n → R) × (Fin n → R) and the receiver receives a global scalar MAC key
Δ : R together with a tag vector w : Fin n → R satisfying the information-theoretic MAC
(IT-MAC) relation
VOLE correlations are additively homomorphic (VOLECorrelation.add, VOLECorrelation.smul,
VOLECorrelation.addConst, VOLECorrelation.Valid.linearComb). To commit to an arbitrary secret
witness x : Fin n → R using a random VOLE correlation (u, v), the prover sends the correction
vector δ = x - u (voleCommitWitness), which is uniformly distributed and statistically
independent of x (voleCommitWitness_uniform, voleCommitWitness_indep), and the receiver
adjusts its tags to w' i = w i + δ i * Δ = x i * Δ + v i (voleAdjustReceiver).
Over a field F, IT-MAC openings are unconditionally binding up to soundness error 1 / |F|:
if a cheating prover opens x' ≠ x, at most one global key Δ ∈ F accepts the opening
(voleOpen_unique_delta_of_ne, card_filter_voleVerifyOpening_le_one,
toOuterMeasure_voleVerifyOpening_le). Multiplication gates satisfy the Quicksilver / VOLE
degree-2 algebraic identity (voleMulCheck_sub_eq, voleMulCheck), which collapses to a relation
linear in Δ whenever x * y = z.
voleInTheHeadSigma is SigmaProtocol.linear on Fin n → ZMod q (voleInTheHeadSigma_eq_linear):
the response to the challenge c is the tag vector of voleSample x v (ι c) for the witness x
and a uniform mask v. It inherits completeness, special soundness (for prime q) and special
HVZK from that protocol; this does not establish VOLE-in-the-head security ([BBDdSG+23c]).
Main definitions #
Cslib.Crypto.Protocols.VOLE.VOLECorrelation: sender vectors(u, v), receiver keydelta, and receiver tagsw.Cslib.Crypto.Protocols.VOLE.VOLECorrelation.Valid: the IT-MAC invariant∀ i, w i = u i * delta + v i.Cslib.Crypto.Protocols.VOLE.voleSample,Cslib.Crypto.Protocols.VOLE.voleIdealDist: deterministic correlation constructor and ideal functionality distribution.Cslib.Crypto.Protocols.VOLE.voleCommitWitness,Cslib.Crypto.Protocols.VOLE.voleAdjustReceiver: witness commitment via VOLE mask derandomization and receiver tag adjustment.Cslib.Crypto.Protocols.VOLE.voleVerifyOpening: IT-MAC opening verification predicate.Cslib.Crypto.Protocols.VOLE.voleMulCrossTerm,Cslib.Crypto.Protocols.VOLE.voleMulConstTerm: Quicksilver / VOLE degree-2 multiplication check coefficients.Cslib.Crypto.Protocols.VOLE.voleInTheHeadSigma,Cslib.Crypto.Protocols.VOLE.voleInTheHeadExtract,Cslib.Crypto.Protocols.VOLE.voleInTheHeadSimulate: the linear Sigma protocol overZMod qin VOLE notation, with its extractor and simulator.
Main results #
Cslib.Crypto.Protocols.VOLE.valid_of_mem_support_voleIdealDist: every correlation sampled fromvoleIdealDistsatisfiesValid.Cslib.Crypto.Protocols.VOLE.VOLECorrelation.Valid.add,Cslib.Crypto.Protocols.VOLE.VOLECorrelation.Valid.smul,Cslib.Crypto.Protocols.VOLE.VOLECorrelation.Valid.addConst,Cslib.Crypto.Protocols.VOLE.VOLECorrelation.Valid.linearComb: linear homomorphism of IT-MACs.Cslib.Crypto.Protocols.VOLE.voleCommitWitness_uniform,Cslib.Crypto.Protocols.VOLE.voleCommitWitness_indep: perfect hiding ofvoleCommitWitness.Cslib.Crypto.Protocols.VOLE.voleOpen_unique_delta_of_ne,Cslib.Crypto.Protocols.VOLE.card_filter_voleVerifyOpening_le_one,Cslib.Crypto.Protocols.VOLE.toOuterMeasure_voleVerifyOpening_le: IT-MAC unforgeability over a field.Cslib.Crypto.Protocols.VOLE.voleMulCheck_sub_eq,Cslib.Crypto.Protocols.VOLE.voleMulCheck: degree-2 multiplication check identity.Cslib.Crypto.Protocols.VOLE.voleInTheHeadSigma_complete,Cslib.Crypto.Protocols.VOLE.voleInTheHeadSigma_specialSoundness,Cslib.Crypto.Protocols.VOLE.voleInTheHeadSigma_specialHVZK: completeness, special soundness, and special HVZK ofvoleInTheHeadSigma.
References #
- E. Boyle, G. Couteau, N. Gilboa, Y. Ishai, L. Kohl, P. Rindal, P. Scholl, Efficient Two-Round OT Extension and Silent Non-Interactive Secure Computation
- C. Baum, L. Braun, C. Delpech de Saint Guilhem, M. Klooß, E. Orsini, L. Roy, P. Scholl, Publicly Verifiable Zero-Knowledge and Post-Quantum Signatures from VOLE-in-the-Head
VOLE Correlations and Ideal Functionality #
A Vector Oblivious Linear Evaluation (VOLE) correlation of length n over R
([BCG+19]; [BBDdSG+23c]). The sender holds (u, v) and the receiver holds
(delta, w).
- u : Fin n → R
The sender's vector of authenticated ring elements.
- v : Fin n → R
The sender's vector of additive MAC masks.
- delta : R
The receiver's global scalar MAC key
Δ. - w : Fin n → R
The receiver's vector of MAC tags.
Instances For
The sender's view (u, v) of a VOLE correlation.
The receiver's view (Δ, w) of a VOLE correlation.
Construct a valid VOLE correlation from sender vectors (u, v) and receiver key delta.
Every correlation constructed by voleSample satisfies VOLECorrelation.Valid.
The ideal VOLE functionality distribution over a finite commutative ring R: sample
u, v : Fin n → R and delta : R independently and uniformly, and set
w i = u i * delta + v i.
Every sample in the support of voleIdealDist R n satisfies the VOLE invariant Valid.
A correlation belongs to the support of voleIdealDist R n if and only if it is Valid.
Under voleIdealDist R n, the receiver's global key delta is uniformly distributed in R.
Linear Homomorphism and VOLE Witness Commitment #
Componentwise addition of two VOLE correlations sharing the same global key delta.
Public scalar multiplication of a VOLE correlation by a : R.
Public constant shift of a VOLE correlation by a : Fin n → R: adds a to u and
a i * delta to w i while keeping the MAC mask v unchanged.
Public scalar multiplication preserves Valid.
Public constant addition preserves Valid.
Any public linear combination ∑ i, coeff i * w i of valid VOLE tags is a valid IT-MAC tag
for ∑ i, coeff i * u i with MAC mask ∑ i, coeff i * v i.
Update a VOLE correlation to authenticate a chosen witness x : Fin n → R via
voleCommitWitness and voleAdjustReceiver.
After voleCommitWitness and voleAdjustReceiver, the receiver's adjusted tags satisfy the
IT-MAC relation w' i = x i * delta + v i for the witness x.
Updating a valid VOLE correlation with any witness x via commitWitness produces a valid
VOLE correlation authenticating x.
Perfect hiding of VOLE witness commitment: for every witness x : Fin n → R, when the
sender's VOLE vector u is drawn uniformly from Fin n → R, the correction message
voleCommitWitness x u = x - u is uniformly distributed on Fin n → R.
Statistical independence of VOLE witness commitment: any two witnesses x₁, x₂ : Fin n → R
induce identical correction-message distributions under a uniform VOLE mask u.
IT-MAC Opening Verification, Unforgeability, and Degree-2 Multiplication Check #
The receiver accepts an opened value vector x' : Fin n → R and MAC tag vector v' : Fin n → R
against adjusted tags w' : Fin n → R and global key delta : R when
∀ i, w' i = x' i * delta + v' i.
Instances For
Honest openings of a valid VOLE correlation are always accepted.
Honest openings after voleCommitWitness and voleAdjustReceiver are always accepted.
IT-MAC unforgeability at a disagreed coordinate: over a field F, if the true relation is
w' i = x i * delta + v i and a forged opening (x', v') with x' i ≠ x i also satisfies
w' i = x' i * delta + v' i, then delta is uniquely determined as
(v' i - v i) / (x i - x' i).
If both (x, v) and (x', v') pass voleVerifyOpening w' delta, then either x' = x
(and v' = v) or there is a coordinate i where x' i ≠ x i and
delta = (v' i - v i) / (x i - x' i).
For any forged value x' ≠ x over a finite field F, at most one global key delta : F
satisfies the IT-MAC verification equation ∀ i, x i * delta + v i = x' i * delta + v' i.
IT-MAC soundness bound: for any forged witness x' ≠ x and tag vector v', the probability
over a uniform global key delta ← PMF.uniformOfFintype F that (x', v') passes verification is at
most 1 / Fintype.card F.
The prover's linear-in-Δ coefficient x * v_y + y * v_x - v_z in the Quicksilver / VOLE
degree-2 multiplication check ([BBDdSG+23c]).
The prover's constant term v_x * v_y in the Quicksilver / VOLE degree-2 multiplication
check.
Algebraic identity for VOLE multiplication check: for authenticated wires
w_x = x * delta + v_x, w_y = y * delta + v_y, and w_z = z * delta + v_z, the quadratic
combination w_x * w_y - w_z * delta decomposes into (x * y - z) * delta ^ 2 plus a linear
function of delta.
Quicksilver / VOLE degree-2 multiplication check: when x * y = z, the quadratic term
vanishes and w_x * w_y - w_z * delta is affine-linear in delta with slope
voleMulCrossTerm x v_x y v_y v_z and constant term voleMulConstTerm v_x v_y.
Over a field F, if the prover uses the honest cross and constant terms at a nonzero global
key delta ≠ 0, then the multiplication check passes if and only if x * y = z.
Linear Sigma Protocol in VOLE Notation #
Linear Sigma protocol in VOLE notation (SigmaProtocol.linear) for a linear relation
ψ y x = target y over ZMod q with witness x : Fin n → ZMod q:
- The prover samples a random VOLE mask vector
v ← PMF.uniformOfFintype (Fin n → ZMod q)and commits to the aggregate MAC maskt = ψ y v : N. - The verifier sends a challenge
c : C, determining the VOLE global keyΔ = ι c : ZMod q. - The prover forms the VOLE correlation
voleSample x v (ι c)with sender vectors(x, v)and outputs the receiver's VOLE tag vectorw = (voleSample x v (ι c)).w. - The verifier checks that
ψ y wequals the IT-MAC tagt + ι c • target y.
Witness extractor for voleInTheHeadSigma from two accepting conversations with a common
commitment and distinct challenges c ≠ c'.
Simulator for voleInTheHeadSigma: samples a uniform VOLE receiver tag vector
w : Fin n → ZMod q and solves the IT-MAC verification equation for the commitment t.
voleInTheHeadSigma coincides with SigmaProtocol.linear on Fin n → ZMod q.
Completeness of voleInTheHeadSigma, from SigmaProtocol.linear_complete.
Special soundness of voleInTheHeadSigma when q is prime, from
SigmaProtocol.linear_specialSoundness.
Special honest-verifier zero knowledge of voleInTheHeadSigma, from
SigmaProtocol.linear_specialHVZK.