Polynomial-time and PPT certificates for the 3-copy GMW protocol #
This module registers @[fun_prop] polynomial-time and strict-(oracle-)PPT certificates for the
3-copy masked-3SAT GMW protocol gadgets defined in
CslibFrontier.Crypto.Computational.GMW.Protocol,
proves that runTwoRound preserves strict PPT when driven by polynomial-time round functions and a
strict oracle PPT verifier (isPPTOn_runTwoRound), defines the zero-knowledge simulator
gmwSimulator (via gmwSampleSimCoins, gmwSimWithPads, gmwSimAttempt and firstSuccess), and
certifies:
isOraclePPTOn_gmwVerifier: the honest verifiergmwVerifieris uniform strict oracle PPT;isPPTOn_gmwInteract: running any uniform strict oracle PPT verifier against the honest prover is uniform strict PPT;isPPTOn_gmwSimulator: the GMW zero-knowledge simulatorgmwSimulatoris uniform strict PPT.
Main definitions #
Cslib.Crypto.GMW.encTwoRoundState,Cslib.Crypto.GMW.encProverCoins: the encodings of the state ofrunTwoRoundand of the prover's coins.Cslib.Crypto.GMW.gmwSampleSimCoins,Cslib.Crypto.GMW.gmwSimWithPads,Cslib.Crypto.GMW.gmwSimAttempt: single-attempt GMW simulator components. An attempt returnssomeview when its guess hits the verifier's challenge andnoneotherwise (acceptGuess).Cslib.Crypto.GMW.gmwSimulator: the GMW zero-knowledge simulator repeatinggmwSimAttemptn + 1times.
Main results #
Cslib.Crypto.GMW.isOraclePPTOn_gmwVerifier:gmwVerifierisIsOraclePPTOn.Cslib.Crypto.GMW.isPPTOn_gmwInteract:gmwInteractisIsPPTOn.Cslib.Crypto.GMW.isPPTOn_gmwSimulator:gmwSimulatorisIsPPTOn.
References #
Polynomial-time certificates for protocol gadgets #
PPT certificates for runTwoRound and honest interaction #
The state of runTwoRound: the round counter in unary, then the recorded challenge as a bit
word. The round counter is framed.
The tuple of the fields of encTwoRoundState.
The prover's coins, as sampled for the honest prover by sampleHonestCoins or for the simulator
by gmwSampleSimCoins: the committed bits as a bit word, then the list of commitment seeds, each a
bit word. The bits are framed, and so is each seed.
GMW zero-knowledge simulator and its PPT certificate #
Sample the GMW simulator's random strings and commitment seeds for a guessed challenge
ch_guess; the committed bits are simBits φ ch_guess r₀ r₁ r₂.
Run one simulated GMW attempt on prog with pre-sampled unopened pads pads, without any
witness: guess the challenge, commit to simBits for that guess, and return the verifier's output
when its challenge equals the guess.
One attempt of the GMW zero-knowledge simulator on prog, without any witness.
The GMW zero-knowledge simulator: run gmwSimAttempt n + 1 times and return the first
successful view, or [] when every attempt failed.