190 likes | 321 Views
Garbled Circuits Checking Garbled Circuits More efficient and Secure Two-Party Computation . Payman Mohassel Ben Riva University of Calgary Tel Aviv University. Secure Two-Party Computation. Privacy: Only learn the output
E N D
Garbled Circuits Checking Garbled CircuitsMore efficient and Secure Two-Party Computation PaymanMohassel Ben Riva University of Calgary Tel Aviv University
Secure Two-Party Computation Privacy: Only learn the output Correctness: Learn the intended function
Contributions • 2PC with low overhead • Input–consistency check • Two-output functions • New Definition • Strengthen covert adversaries • Better efficiency/security trade-off for practice • Protocols meeting the definition
Garbled Circuit seed Eval( )
Useful Properties • Privacy: Knowing , , and does no leak any info • Output Authenticity: P2 cannot compute another valid output
Malicious 2PC Cut-and-Choose Question Are all inputs the same? Evaluate Open Majority Question Is the output correct?
1) Is the output correct? Evaluate Open Majority But this leaks info to Send GOs as proof
2) Is the output correct? Evaluate Open Majority Use same output labels in all circuits But learns labels in open phase & can forge output z
3) Is the output correct? Evaluate Majority Open
Extensions • Extend to two-output functions • XOR ’s output with a random value provided by him • Then apply the above solution • Make solution “streaming-friendly” • Hard to garble/evaluate circuits “on-the-fly” • Need to store circuits until they are opened • See paper for a streaming-friendly version • Similar ideas and efficiency
Covert 2PC cost/payfor malicious party • Coststo get caught • Pays to cheat and win • is probability of not getting caught • Cost > Pay • maybe sufficient Question What about cost/pay for honest party?
All-or-Nothing Security • What about the honest party? • with probability • His input is leaked! • He learns an incorrect output! • Paysto learn correct output • Costs to be cheated on • Pay > Cost • If is large enough • Honest parties may not participate
A Stronger Definition • Increase the pay-off (of learning correct output) • Orthogonal to MPC • Reduce the cost of being cheated on! • By strengthening the security definition
CovIDA Security • Guarantee correctness • Honest parties cannot be tricked into learning bad output • Only leak limited information in case of cheating • With probability nothing is leaked • With probability only one bit is leaked
Dual-Ex 2PC • Correctness prob. = 1-neg(k) • Leakage prob. = 1 • Bad circuit • Different inputs Yes/no Use for authentication Yes/no
Dual-Ex + Covert 2PC • Correctness prob. = 1-neg(k) • Leakage prob. = 1 • Bad circuit • Different inputs Yes/no Yes/no
Dual-Ex + Covert 2PC • Correctness prob. = 1 • Leakage prob. = • Bad circuit • Different inputs It is possible make probability using a few tricks
Are inputs the Same? Malicious 2PC Use same OT for x Linear in s symmetric-key Ops for input-consistency (using OT extension)