Distinguishing advantage for semi-honest privacy #
PerfectSemiHonestPrivate asks the ideal and real joint view-and-output distributions to be
equal. Goldreich's Definitions 7.2.1 and 7.5.1 ask them to be computationally indistinguishable.
This module provides the concrete quantity behind that requirement:
semiHonestAdvantage proto W f I S x D is the advantage of a distinguisher D, a randomized test
on the coalition's views and all parties' outputs, between the ideal execution with simulator S
(idealJoint) and the real execution (Protocol.realJoint) on the input tuple x.
The quantity is concrete and per instance: the protocol, input tuple and distinguisher are
fixed, and there is no security parameter or efficiency requirement on D or S. A
computational security statement bounds it for a class of distinguishers, for instance by the
advantage of explicit reductions against a primitive. Perfect privacy is the case where it
vanishes for every distinguisher (semiHonestAdvantage_eq_zero_iff).
Singleton coalitions {i} give the two-party form of the definition, with one simulator per
corrupted party; singletonView and restrict_singleton move a single view in and out of the
coalition-indexed tuples.
Main definitions #
Cslib.Crypto.Protocols.MPC.semiHonestAdvantage: the distinguishing advantage between the ideal and real joint distributions.Cslib.Crypto.Protocols.MPC.singletonView: a single view as a tuple over the coalition{i}.
Main results #
Cslib.Crypto.Protocols.MPC.semiHonestAdvantage_eq_zero_iff: zero advantage against every distinguisher is equality of the ideal and real joint distributions.Cslib.Crypto.Protocols.MPC.PerfectSemiHonestPrivate.semiHonestAdvantage_eq_zero,Cslib.Crypto.Protocols.MPC.PerfectSemiHonestPrivateLe.semiHonestAdvantage_eq_zero: perfect privacy (full ort-threshold) gives zero advantage.Cslib.Crypto.Protocols.MPC.restrict_singleton: restricting a tuple of views to{i}.
References #
- O. Goldreich, Foundations of Cryptography, Volume 2: Basic Applications, Section 7.2.2.1 (Definition 7.2.1, pp. 620–622) and Section 7.5.1.2 (Definition 7.5.1, pp. 696–697).
The advantage of a distinguisher D between the ideal joint view-and-output distribution of
the coalition I with simulator S and the real one of proto in world W, on the input tuple
x (cf. Goldreich Def. 7.5.1, Eq. 7.40, p. 696, with a concrete advantage in place of
computational indistinguishability).
Perfect privacy is zero advantage: the ideal and real joint distributions of I are
equal exactly when every distinguisher has advantage zero.
Perfect semi-honest privacy gives zero advantage against every distinguisher.
Threshold perfect semi-honest privacy gives zero distinguishing advantage against every
distinguisher for every coalition I with I.card ≤ t.
Singleton coalitions #
Restricting a tuple of views to the coalition {i} keeps only the view of i.