Gilad Asharov Gilad Asharov parties, each has some private input, - - PowerPoint PPT Presentation
Gilad Asharov Gilad Asharov parties, each has some private input, - - PowerPoint PPT Presentation
Gilad Asharov Gilad Asharov parties, each has some private input, wish to compute a function on their joint inputs average of salaries, auctions, private database query, private data mining parties, each has some private input, wish
Gilad Asharov
π parties, each has some private input, wish to compute a function on their joint inputs
β average of salaries, auctions, private database query, private data mining
π parties, each has some private input, wish to compute a function on their joint inputs
β average of salaries, auctions, private database query, private data mining
Security should be preserved even when some
- f the parties are corrupted
β correctness, privacy, independence of inputs and.. fairness
If the adversary learns the output, then all parties should learn also
β In some sense, parties receive outputs simultaneously
If the adversary learns the output, then all parties should learn also
β In some sense, parties receive outputs simultaneously
If the adversary learns the output, then all parties should learn also
β In some sense, parties receive outputs simultaneously
- Complete fairness can be achieved in
multiparty with honest majority [GMW87,BGW88,CCD88,RB89,Be91]
- What about no honest majority?
β Special case: Two party setting?
- Beginning of execution β no
knowledge about the outputs
- End of execution β full
knowledge about it
- Protocols proceed in rounds
- The parties cannot exchange
information simultaneously
f(x,y) f(x,y)
- Beginning of execution β no
knowledge about the outputs
- End of execution β full
knowledge about it
- Protocols proceed in rounds
- The parties cannot exchange
information simultaneously
- There must be a point when a
party knows more than the
- ther
abort
- Take a fair protocol
- Remove the last round
- > still fair protocol
- Continue the process..
- We stay with an empty
protocol
- Take a fair protocol
- Remove the last round
- > still fair protocol
- Continue the process..
- We stay with an empty
protocol
- Take a fair protocol
- Remove the last round
- > still fair protocol
- Continue the process..
- We stay with an empty
protocol
- Take a fair protocol
- Remove the last round
- > still fair protocol
- Continue the process..
- We stay with an empty
protocol
- In 1986, Cleve showed that fairness is
impossible in general (two party)
- In 1986, Cleve showed that fairness is
impossible in general (two party)
- The coin-tossing functionality is impossible:
β both parties agree on the same uniform bit β no party can bias the result
- In 1986, Cleve showed that fairness is
impossible in general (two party)
- The coin-tossing functionality is impossible:
β both parties agree on the same uniform bit β no party can bias the result
- Implies that the boolean XOR
function is also impossible
- Since 1986, the accepted belief was that
nothing non-trivial can be computed fairly
- Since 1986, the accepted belief was that
nothing non-trivial can be computed fairly
- Many notions of partial fairness
β Gradual release , Probabilistic fairness, Optimistic exchange, fairness at expectation [BeaverGoldwasser89][GoldwasserLevin90] [BonehNaor2000][Micali98]β¦
- Since 1986, the accepted belief was that
nothing non-trivial can be computed fairly
- Many notions of partial fairness
β Gradual release , Probabilistic fairness, Optimistic exchange, fairness at expectation [BeaverGoldwasser89][GoldwasserLevin90] [BonehNaor2000][Micali98]β¦
- Even two definitions of security β one with
fairness, one without
- For two decades β no results on complete
fairness
Gordon, Hazay, Katz and Lindell [STOC08] showed that there exist some non-trivial functions that can be computed with complete fairness!
Gordon, Hazay, Katz and Lindell [STOC08] showed that there exist some non-trivial functions that can be computed with complete fairness!
Gordon, Hazay, Katz and Lindell [STOC08] showed that there exist some non-trivial functions that can be computed with complete fairness!
y2 y1 1 x1 1 x2 1 1 x3
- A fundamental question:
What functions can and cannot be securely computed with complete fairness?
- A fundamental question:
What functions can and cannot be securely computed with complete fairness?
- Impossibility: Cleve
- A fundamental question:
What functions can and cannot be securely computed with complete fairness?
- Impossibility: Cleve
- Only few examples of functions that are
possible
- A Full Characterization of Functions that
Imply Fair Coin Tossing and Ramifications to Fairness A, Lindell and Rabin [TCC 2013]
- Towards Characterizing Complete Fairness
in Secure Two-Party Computing A [TCC 2014]
Set Membership
β X input: π β Ξ© (possible inputs: 2 Ξ© ) β Y input: π β Ξ© (possible inputs: |Ξ©|) β The function π π, π = π β π?
Set Membership
β X input: π β Ξ© (possible inputs: 2 Ξ© ) β Y input: π β Ξ© (possible inputs: |Ξ©|) β The function π π, π = π β π?
Private Evaluation of a Boolean Function
β X input: π β F (πΊ = {π: Ξ© β 0,1 }) β Y input: π§ β Ξ© β The function π π, π§ = π π§
Private Matchmaking:
β X holds set of preferences (βwhat I am looking forβ) β Y holds a profile (βwho I amβ) β Output: Does Y match X
Private Matchmaking:
β X holds set of preferences (βwhat I am looking forβ) β Y holds a profile (βwho I amβ) β Output: Does Y match X
π© β πͺ:
β X holds π΅ β Ξ© β Y holds πΆ β Ξ© β Output: π΅ β πΆ?
Private Matchmaking:
β X holds set of preferences (βwhat I am looking forβ) β Y holds a profile (βwho I amβ) β Output: Does Y match X
π© β πͺ:
β X holds π΅ β Ξ© β Y holds πΆ β Ξ© β Output: π΅ β πΆ?
Set Disjointness:
β X holds π΅ β Ξ© β Y holds πΆ β Ξ© β Output: π΅ β© πΆ = β ?
1 π π π 1 π π 1 π 1 1 π π π 1 π π 1 π 1 1 π π π 1 π π 1 π 1
1 π π π 1 π π 1 π 1 1 π π π 1 π π 1 π 1 1 π π π 1 π π 1 π 1
Impossible
π΅ = πΆ
implies coin-tossing [ALR13]
1 π π π 1 π π 1 π 1 1 π π π 1 π π 1 π 1 1 π π π 1 π π 1 π 1
Impossible
π΅ = πΆ
implies coin-tossing [ALR13]
Possible
π΅ β πΆ
1 π π π 1 π π 1 π 1 1 π π π 1 π π 1 π 1 1 π π π 1 π π 1 π 1
Impossible
π΅ = πΆ
implies coin-tossing [ALR13]
Possible
π΅ β πΆ
Unknown
not coin-tossing not [GHKL08]*
Asharov, Lindell, Rabin
A Full Characterization of Functions that Imply Fair Coin Tossing and Ramifications to Fairness
The coin-tossing functionality is impossible: π π, π = π, π
(π is the uniform distribution over {0,1}) β both parties agree on the same uniform bit β no party can bias the result
The coin-tossing functionality is impossible: π π, π = π, π
(π is the uniform distribution over {0,1}) β both parties agree on the same uniform bit β no party can bias the result
Which Boolean functions are ruled out by this impossibility? Which functions imply fair coin-tossing?
Question:
Assume a fair protocol for the XOR function How can we use it to toss a coin?
Question:
Assume a fair protocol for the XOR function How can we use it to toss a coin? Each party chooses a uniform bit, then XOR them
Question: Answer:
1 1
π1 π2 π1 π2
distribution over the inputs of X distribution over the inputs of Y
Prβ‘ [ππ£π’ππ£π’ = 1]=
1 1
π1 π2 π1 π2
distribution over the inputs of X distribution over the inputs of Y
Prβ‘ [ππ£π’ππ£π’ = 1]=
1 1 1 2 1 2 = 1 2 1 2
1 1
π1 π2 π1 π2
distribution over the inputs of X distribution over the inputs of Y
Prβ‘ [ππ£π’ππ£π’ = 1]=
1 1 1 2 1 2 = 1 2 1 2 π1 π2 π1 π2 = 1 2
1 1
π1 π2 π1 π2
distribution over the inputs of X distribution over the inputs of Y
Prβ‘ [ππ£π’ππ£π’ = 1]=
1 1 1 2 1 2 = 1 2 1 2 π1 π2 π1 π2 = 1 2 1 1 0 1/2 1/2
1 1
π1 π2 π1 π2
distribution over the inputs of X distribution over the inputs of Y
Prβ‘ [ππ£π’ππ£π’ = 1]=
1 1 1 2 1 2 = 1 2 1 2 π1 π2 π1 π2 = 1 2 1 1 π1 π2 1/2 1/2 = 1 2 1/2 1/2 = π1 π2
if there exist probability vectors π = π1, β¦ , ππ , π = π1, β¦ , πβ and β‘0 < π < 1 s.t: β‘πβ‘ β π
π = π β πβ AND π π β ππ = π β ππ π
π is πΊ balanced
if there exist probability vectors π = π1, β¦ , ππ , π = π1, β¦ , πβ and β‘0 < π < 1 s.t: β‘πβ‘ β π
π = π β πβ AND π π β ππ = π β ππ π
π is πΊ balanced If π is π-balanced then it implies fair coin-tossing Theorem
1 1 1 1 1 1 1 1 1 1 1 1 1
(left-balanced, right-unbalanced)
1 1 1 1 1 1 1 1 1 1 1 1 1
(left-balanced, right-unbalanced)
1 1 1 1 π 1 β π = π 1 β π 1
if π is not π-balanced for any 0 < π < 1, then it does not imply coin tossing* Theorem
if π is not π-balanced for any 0 < π < 1, then it does not imply coin tossing* Theorem
- We show that for any coin-tossing protocol in the π-hybrid
model, there exists an adversary that can bias the result
if π is not π-balanced for any 0 < π < 1, then it does not imply coin tossing* Theorem
- We show that for any coin-tossing protocol in the π-hybrid
model, there exists an adversary that can bias the result
- Unlike Cleve β here we do have something simultaneously.
A completely different argument is given
if π is not π-balanced for any 0 < π < 1, then it does not imply coin tossing* Theorem
- We show that for any coin-tossing protocol in the π-hybrid
model, there exists an adversary that can bias the result
- Unlike Cleve β here we do have something simultaneously.
A completely different argument is given
- Caveat: the adversary is inefficient
if π is not π-balanced for any 0 < π < 1, then it does not imply coin tossing* Theorem
- We show that for any coin-tossing protocol in the π-hybrid
model, there exists an adversary that can bias the result
- Unlike Cleve β here we do have something simultaneously.
A completely different argument is given
- Caveat: the adversary is inefficient
- However, impossibility holds also when the parties have
OT-oracle (and so commitments, ZK, etc.)
Asharov
Gordon, Hazay, Katz and Lindell [STOC08] presented a general protocol and proved that a particular function can be computed using this protocol
Gordon, Hazay, Katz and Lindell [STOC08] presented a general protocol and proved that a particular function can be computed using this protocol What functions can be computed using this protocol?
Question:
- Almost all functions with |X|β π :
can be computed using the protocol
- Almost all functions with π = |π|:
cannot be computed using the protocol
β If the function has monochromatic input, it may be possible even if π = π
- Characterization of [GHKL08] is not tight!
β There are functions that are left unknown
- Special round πβ
- Until round πβ - the outputs are random and
uncorrelated (π π¦, π§ , π π¦ , π§ )
- Starting at πβ - the outputs are correct
- At πβ, Px learns before Py
- Special round πβ
- Until round πβ - the outputs are random and
uncorrelated (π π¦, π§ , π π¦ , π§ )
- Starting at πβ - the outputs are correct
- At πβ, Px learns before Py
- Security:
β Py is always the second to receive output
- Simulation is possible for all functions
β Px is always the first to receive output
- Simulation is possible only for some functions
Trusted Party
Trusted Party π§
Trusted Party π§
π¦β‘
Trusted Party π§
π¦β‘
π(π¦, π§)
Trusted Party π§
π¦β‘ π(π¦, π§)
π(π¦, π§)
1/3
Before πβ : π(π¦ , π§)
1/3 1/3
(2
3β‘, 2 3)
Before πβ : π(π¦ , π§)
(2
3 + π, 2 3)
Before πβ : π(π¦ , π§)
(2
3 + π, 2 3)
1/3βΟ΅ 1/3 1/3+Ο΅
Before πβ : π(π¦ , π§)
(2
3 + π, 2 3)
1/3βΟ΅ 1/3 1/3+Ο΅
y2 y1 1 x1 1/2 1 x2 1/2 1/2) (1/2, Before πβ : π(π¦ , π§)
y2 y1 1 x1 1/2 1 x2 1/2
1/2) (1/2, 1/2) (1/2+π
Before πβ : π(π¦ , π§)
y2 y1 1 x1 1/2 1/2 1 x2 1/2 1/2+π
1/2) (1/2, 1/2) (1/2+π
Before πβ : π(π¦ , π§)
(1 β π, π) (1 β π1, 1 β π2)
(1 β π, π) (1 β π1, 1 β π2)
(1 β π, π) (1 β π1, 1 β π2)
1) General for multiparty computation: βThe power of the ideal adversaryβ
β Geometric representation
2) Specific for the [GHKL08] protocol: Adding more rounds β less to correct!
REAL Before πβ: π(π¦ , π§) for uniform π¦ (1/3,1/3,1/3) β(2/3, 2/3)
πΉ π = 5 πΉ π = 100
All points that the simulator needs are inside some βballβ
- The center β the output distribution of REAL
- The radius β a function of number of rounds
All points that the simulator needs are inside some βballβ
- The center β the output distribution of REAL
- The radius β a function of number of rounds
- Let π: π¦1, β¦ , π¦β Γ π§1, β¦ , π§π β {0,1}
- Consider the β points π1, β¦ , πβ in βπ (the βrowsβ of the
matrix)
- Let π: π¦1, β¦ , π¦β Γ π§1, β¦ , π§π β {0,1}
- Consider the β points π1, β¦ , πβ in βπ (the βrowsβ of the
matrix)
If the geometric object defined by β‘β‘π1, β¦ , πβ β βπ is
- f dimension π,
Then the function is full-dimensional Definition
If π is of full-dimension, then it can be computed with complete fairness Theorem
If π is of full-dimension, then it can be computed with complete fairness
- We use the protocol of [GHKL08]
Theorem Proof:
If π is of full-dimension, then it can be computed with complete fairness
- We use the protocol of [GHKL08]
- We show that all the points that the simulator needs are
inside a small βballβ
Theorem Proof:
If π is of full-dimension, then it can be computed with complete fairness
- We use the protocol of [GHKL08]
- We show that all the points that the simulator needs are
inside a small βballβ
- The ball is embedded inside the geometric object defined by
the function
Theorem Proof:
y3 y2 y1 1 x1 1 x2 1 x3 1 1 1 x4
- In β2 - all points do not lie on a single LINE
- In β3 - all points do not lie on a single PLANE
- β¦
- In βπ - all points do not lie on a single HYPERPLANE
- In β2 - π¨1, π¨2
β π1, π2, π β β s.t. π1π¨1 + π2π¨2 = π?
- In β3 - (π¨1, π¨2, π¨3)
β π1, π2, π3, π β ββ‘ s.t. π1π¨1 + π2π¨2 + π3π¨3 = π?
Not Full-Dimensional
- Full-dimensional function
- The function is right-unbalanced:
β For every non-zero π β βπ, π β β it holds that: π
π β π β π β π
- Full-dimensional function
- The function is right-unbalanced:
β For every non-zero π β βπ, π β β it holds that: π
π β π β π β π
Easy to Check Criterion: No solution π for: π
π β π = π
Only trivial solution for: π
π β π = π
Balanced with respect to probability vector: IMPOSSIBLE!
Balanced with respect to probability vector: IMPOSSIBLE!
Unbalanced with respect to arbitrary vectors: FAIR!
Balanced with respect to probability vector: IMPOSSIBLE!
Unbalanced with respect to probability vector, balanced with respect to arbitrary vectors:
- If the hyperplanes do not contain the origin:
cannot be computed using [GHKL08]
(with particular simulation strategy)
- If the hyperplanes contain the origin:
not characterized (sometimes the GHKL protocol is possible)
Unbalanced with respect to arbitrary vectors: FAIR!
CONCLUSIONS
Pd: The probability that a 0/1 matrix is singular?
- Pd: The probability that a 0/1
matrix is singular?
β Conjecture: (1/2+o(1))d
(roughly the probability to have two rows that are the same)
β Komlos (67): 0.999π β Tao and Vu [STOC 05]: (3/4+o(1))d β Best known today [Vu and Hood 09]: (1/β2+o(1))d
- Pd: The probability that a 0/1
matrix is singular?
β Conjecture: (1/2+o(1))d
(roughly the probability to have two rows that are the same)
β Komlos (67): 0.999π β Tao and Vu [STOC 05]: (3/4+o(1))d β Best known today [Vu and Hood 09]: (1/β2+o(1))d
- Pd: The probability that a 0/1
matrix is singular?
β Conjecture: (1/2+o(1))d
(roughly the probability to have two rows that are the same)
β Komlos (67): 0.999π β Tao and Vu [STOC 05]: (3/4+o(1))d β Best known today [Vu and Hood 09]: (1/β2+o(1))d
d Pd 1 0.5 5 0.627 10 0.297 15 0.047 20 0.0025 25 0.0000689 30 0.0000015
- The π + 1 random 0/1-points in βπ defines full-
dimensional geometric object?
- 1- Pd (tends to 1)
- π points in βπ define hyperplane that passes
through 0,1?
- 4Pd (tends to 0)
- The π + 1 random 0/1-points in βπ defines full-
dimensional geometric object?
- 1- Pd (tends to 1)
- π points in βπ define hyperplane that passes
through 0,1?
- 4Pd (tends to 0)
- Almost all functions with |X|β π :
can be computed with complete fairness
- Almost all functions with π = |π|:
cannot be computed with [GHKL08] framework
- π Γ π functions with monochromatic
input
βDefine hyperplanes that pass through 0 or 1 βAlmost always β possible
- Asymmetric functions
βπ π¦, π§ = π
1, π 2
βIf π
1 or π 2 are full-dimensional β possible!
- Non-binary outputs π: π Γ π β π»
βGeneral criteria, holds when π /|π| > Ξ£ β 1
y1 y2 x1 1 x2 1 x3 1 1 x4 2 x5 1 2
- The characterization is not complete
- We have a better understanding of the
βpowerβ of the ideal world adversary
- We have no real understanding of the βpowerβ
- f the real-world adversary
- Open problem:
β Finalize the characterization! β Almost all functions with π = π are unknown
- The characterization is not complete
- We have a better understanding of the
βpowerβ of the ideal world adversary
- We have no real understanding of the βpowerβ
- f the real-world adversary
- Open problem: