Indistinguishability and simulation security of garbling schemes #
The relations between the indistinguishability and the simulation notions of privacy and
obliviousness of [BHR12b], Section 4, by explicit reductions at a fixed security
parameter. These are the advantage relations (1)–(4) in the proofs of Propositions 2 and 3
(pp. 13–15), as equalities. They are steps toward the propositions, not the cited results: the
propositions relate the asymptotic notions, security against every polynomial-time adversary
(Sections 3.4, 3.5 and 3.7), and need the reductions and simulators to run in polynomial time.
CslibFrontier.Crypto.Primitives.Garbling.FoundationsAsymptotic defines those notions, proves that
the reductions and simulators here are strict PPT, and derives the propositions from these
equalities.
- From simulation to indistinguishability, with a factor of two: from a
prv.indadversaryAthe reductionprvIndToSimbuilds aprv.simadversary that picks a hidden bitc, submits the querycof the pair ofAand checks whetherArecoversc. Against the real garbling it plays the bit-guessing formExperiment.guessBitofPrvIndwithA; against any simulator its view does not depend onc, as the simulator only seesΦ(f_c)andev(f_c, x_c), which a valid pair makes the same for both values ofc, so it outputs a fair coin. HenceAdv^prv.ind(A) = 2 · Adv^prv.sim(prvIndToSim A)against every simulator. - From indistinguishability to simulation, given an
ev-inverterMforΦ:Myields a simulatorprvSimFromInverterthat garbles the queryM(Φ(f), ev(f, x)), and against it theprv.simgame onBis theprv.indgame on the adversaryprvSimToIndthat queries the pair ofM(Φ(f), ev(f, x))and(f, x).
The same reductions, without the output ev(f, x) and the decoding information d, relate
obv.ind and obv.sim, with an inverter of Φ in place of an ev-inverter.
Main definitions #
Cslib.Crypto.Garbling.prvIndToSim,Cslib.Crypto.Garbling.obvIndToSim: the reductions from indistinguishability to simulation adversaries.Cslib.Crypto.Garbling.prvSimFromInverter,Cslib.Crypto.Garbling.obvSimFromInverter: the simulators built from inverters, andCslib.Crypto.Garbling.prvSimToInd,Cslib.Crypto.Garbling.obvSimToInd, the corresponding reductions from simulation to indistinguishability adversaries.
Steps toward Propositions 2 and 3 #
Cslib.Crypto.Garbling.prvIndAdvantage_eq_two_mul_prvSimAdvantage_prvIndToSim,Cslib.Crypto.Garbling.obvIndAdvantage_eq_two_mul_obvSimAdvantage_obvIndToSim: the indistinguishability advantage is twice the simulation advantage of the reduction, against every simulator (the bounds (1) and (3) in the proofs of [BHR12b], Propositions 2 and 3, as equalities).Cslib.Crypto.Garbling.prvSimAdvantage_prvSimFromInverter_eq,Cslib.Crypto.Garbling.obvSimAdvantage_obvSimFromInverter_eq: against the simulator built from an inverter, the simulation advantage is the indistinguishability advantage of the reduction (the bounds (2) and (4) in the same proofs, as equalities).
References #
The reductions #
The state of the reductions from indistinguishability to simulation adversaries: the state of the indistinguishability adversary, the hidden bit chosen by the reduction and the pair of queries of the adversary.
- state : σ
The state of the indistinguishability adversary.
- bit : Bool
The hidden bit chosen by the reduction.
- pair : MessagePair (Query Fn)
The pair of queries of the indistinguishability adversary.
The prv.sim adversary built from a prv.ind adversary A ([BHR12b],
Proposition 2): it picks a hidden bit c, submits the query c of the pair of A when the pair is
valid and the query 0 otherwise, and outputs whether A recovers c.
The prv.ind adversary built from a prv.sim adversary B and an ev-inverter M
([BHR12b], Proposition 2): it queries the pair of M(Φ(f), ev(f, x)) and the
query (f, x) of B, and guesses as B does.
The obv.sim adversary built from an obv.ind adversary A ([BHR12b],
Proposition 3): it picks a hidden bit c, submits the query c of the pair of A when the pair is
valid and the query 0 otherwise, and outputs whether A recovers c.
The query that the obv.sim simulator built from an inverter M garbles: the function that
M produces from φ, on the all-zero input.
The obv.sim simulator built from an inverter M of the side information
([BHR12b], Section 4.3): the real view of the function that M produces from
Φ(f) on the all-zero input.
The obv.ind adversary built from an obv.sim adversary B and an inverter M of the
side information ([BHR12b], Proposition 3): it queries the pair of M(Φ(f)) on
the all-zero input and the query (f, x) of B, and guesses as B does.
Privacy #
Step toward [BHR12b], Proposition 2(1) (open, #5293), not the cited result: at
a fixed security parameter, the prv.ind advantage of A is twice the prv.sim advantage of the
reduction prvIndToSim against every simulator (the bound (1) in the proof, as an equality).
Step toward [BHR12b], Proposition 2(1) (open, #5293), not the cited result: at
a fixed security parameter, the prv.ind advantage of A is at most twice the prv.sim advantage
of prvIndToSim A against every simulator (the bound (1) in the proof).
Against the simulator built from an ev-inverter M, the prv.sim game on B is the
prv.ind game on the reduction prvSimToInd.
Step toward [BHR12b], Proposition 2(2) (open, #5293), not the cited result: at
a fixed security parameter, against the simulator built from an ev-inverter M, the prv.sim
advantage of B is the prv.ind advantage of the reduction prvSimToInd (the bound (2) in the
proof, as an equality).
Step toward [BHR12b], Proposition 2(2) (open, #5293), not the cited result: at
a fixed security parameter, against the simulator built from an ev-inverter M, the prv.sim
advantage of B is at most the prv.ind advantage of prvSimToInd (the bound (2) in the
proof).
Obliviousness #
Step toward [BHR12b], Proposition 3(1) (open, #5293), not the cited result: at
a fixed security parameter, the obv.ind advantage of A is twice the obv.sim advantage of the
reduction obvIndToSim against every simulator (the bound (3) in the proof, as an equality).
Step toward [BHR12b], Proposition 3(1) (open, #5293), not the cited result: at
a fixed security parameter, the obv.ind advantage of A is at most twice the obv.sim advantage
of obvIndToSim A against every simulator (the bound (3) in the proof).
Against the simulator built from an inverter M of the side information, the obv.sim
game on B is the obv.ind game on the reduction obvSimToInd.
Step toward [BHR12b], Proposition 3(2) (open, #5293), not the cited result: at
a fixed security parameter, against the simulator built from an inverter M of the side
information, the obv.sim advantage of B is the obv.ind advantage of the reduction
obvSimToInd (the bound (4) in the proof, as an equality).
Step toward [BHR12b], Proposition 3(2) (open, #5293), not the cited result: at
a fixed security parameter, against the simulator built from an inverter M of the side
information, the obv.sim advantage of B is at most the obv.ind advantage of obvSimToInd (the
bound (4) in the proof).