is practical
play

is Practical gnes Kiss Thomas Schneider TU Darmstadt Eurocrypt - PowerPoint PPT Presentation

Valiant s Universal Circuit is Practical gnes Kiss Thomas Schneider TU Darmstadt Eurocrypt 2016 May 11, 2016 Universal Circuit (UC) There is a Boolean circuit of size O log for which it holds that for any Boolean


  1. Valiant ’ s Universal Circuit is Practical Ágnes Kiss Thomas Schneider TU Darmstadt Eurocrypt 2016 May 11, 2016

  2. Universal Circuit (UC) There is a Boolean circuit 𝑉𝐷 of size O π‘œ log π‘œ for which it holds that for any Boolean function 𝑔 of size π‘œ 𝑉𝐷 can be made to compute 𝑔. Leslie G. Valiant 1976 𝑔 𝑉𝐷 2

  3. Universal Circuit (UC) There is a Boolean circuit 𝑉𝐷 of size O π‘œ log π‘œ for which it holds that for any Boolean function 𝑔 of size π‘œ there exists a programming π‘ž such that for any input 𝑦: 𝑉𝐷 π‘ž, 𝑦 = 𝑔 𝑦 . 𝑦 𝑦 π‘ž Leslie G. Valiant 1976 𝑔(𝑦) 𝑉𝐷(π‘ž, 𝑦) 2

  4. UC Applications Verifiable Program obfuscation computation Attribute-based Private function encryption evaluation 3

  5. Secure Function Evaluation 𝑔 𝑧 𝑦 𝑔(𝑦, 𝑧) 4

  6. Secure Function Evaluation 𝑧 𝑦 SFE 𝑔 𝑔(𝑦, 𝑧) 4

  7. Secure Function Evaluation 𝑧 𝑦 SFE 𝑔 𝑔(𝑦, 𝑧) 4

  8. Secure Function Evaluation SFE 𝑧 𝑦 𝑔 𝑔(𝑦, 𝑧) 4

  9. Secure Function Evaluation Boolean circuit 𝑧 𝑦 𝑔(𝑦, 𝑧) 𝐷 βžͺ Yao’s Garbled Circuit Protocol βžͺ Goldreich-Micali-Wigderson Protocol 4

  10. Private Function Evaluation PFE 𝑔 𝑦 𝑔(𝑦) 𝑔(𝑦) 5

  11. Private Function Evaluation PFE 𝐷 𝑣, 𝑀, 𝑙 𝑦 𝑔(𝑦) 𝑔(𝑦) 5

  12. Private Function Evaluation 𝑉𝐷 𝑣,𝑀,𝑙 π‘ž 𝑦 𝑉𝐷(π‘ž, 𝑦) 𝑉𝐷(π‘ž, 𝑦) 𝑔(𝑦) 𝑔(𝑦) 5

  13. PFE Applications Software diagnostics Medical diagnostics Private search Private databases queries 6

  14. UC Construction C (size: π‘œ = 𝑣 + 𝑀 + 𝑙 ) 7

  15. UC Construction C (size: π‘œ = 𝑣 + 𝑀 + 𝑙 ) UC Generation 7

  16. UC Construction C (size: π‘œ = 𝑣 + 𝑀 + 𝑙 ) UC Generation Programming bits p Universal Circuit UC 7

  17. Existing UC Constructions [Val76] [KS08] O(π‘œ log 2 π‘œ) O(π‘œ log π‘œ) Size O(π‘œ) O(π‘œ log π‘œ) Depth Implemented [Val76] L. G. Valiant: Universal circuits (preliminary report). In STOC 1976. [KS08] V. Kolesnikov, T. Schneider: A practical universal circuit construction and secure evaluation of private functions. In FC 2008 . 8

  18. Valiant’s UC Construction π‘œ G ENERATION Universal Graph UG Universal Circuit UC [Val76] L. G. Valiant: Universal circuits (preliminary report). In STOC 1976. 9

  19. Valiant’s UC Construction C size ≀ π‘œ π‘œ P ROGRAMMING G ENERATION Universal Graph UG Universal Circuit UC C [Val76] L. G. Valiant: Universal circuits (preliminary report). In STOC 1976. 9

  20. Valiant’s UC Construction C size ≀ π‘œ π‘œ P ROGRAMMING G ENERATION Graph G C Universal Graph UG Universal Circuit UC C G C [Val76] L. G. Valiant: Universal circuits (preliminary report). In STOC 1976. 9

  21. Valiant’s UC Construction C size ≀ π‘œ π‘œ P ROGRAMMING G ENERATION Graph G C Universal Graph UG Edge-embedding E Universal Circuit UC [Val76] L. G. Valiant: Universal circuits (preliminary report). In STOC 1976. G C 9

  22. Valiant’s UC Construction C size ≀ π‘œ π‘œ P ROGRAMMING G ENERATION Graph G C Universal Graph UG Edge-embedding E Universal Circuit UC [Val76] L. G. Valiant: Universal circuits (preliminary report). In STOC 1976. G C 9

  23. Valiant’s UC Construction C size ≀ π‘œ π‘œ P ROGRAMMING G ENERATION Graph G C Universal Graph UG Edge-embedding E Universal Circuit UC [Val76] L. G. Valiant: Universal circuits (preliminary report). In STOC 1976. G C 9

  24. Valiant’s UC Construction C size ≀ π‘œ π‘œ P ROGRAMMING G ENERATION Graph G C Universal Graph UG Edge-embedding E Universal Circuit UC [Val76] L. G. Valiant: Universal circuits (preliminary report). In STOC 1976. G C 9

  25. Valiant’s UC Construction C size ≀ π‘œ π‘œ P ROGRAMMING G ENERATION Graph G C Universal Graph UG Edge-embedding E Universal Circuit UC [Val76] L. G. Valiant: Universal circuits (preliminary report). In STOC 1976. G C 9

  26. Valiant’s UC Construction C size ≀ π‘œ π‘œ P ROGRAMMING G ENERATION Graph G C Universal Graph UG Edge-embedding E Programming bits p Universal Circuit UC [Val76] L. G. Valiant: Universal circuits (preliminary report). In STOC 1976. 9

  27. Valiant’s UC Construction C size ≀ π‘œ π‘œ P ROGRAMMING G ENERATION Graph G C Universal Graph UG Edge-embedding E Programming bits p Universal Circuit UC [Val76] L. G. Valiant: Universal circuits (preliminary report). In STOC 1976. 9

  28. Our Contributions Valiant’s universal circuit is practical. Refined size of UC compiler Embedding construction algorithm 10

  29. UG Embedding Algorithm P ROGRAMMING Graph G C Universal Graph UG Edge-embedding E 11

  30. Recursive UG Construction 𝑉𝐻 π‘œ 2 1 𝑉𝐻 𝑉𝐻 π‘œ 2 π‘œ 2 ... 12

  31. Recursive UG Construction 𝑉𝐻 π‘œ 2 1 𝑉𝐻 𝑉𝐻 π‘œ 2 π‘œ 2 11 𝑉𝐻 12 22 21 𝑉𝐻 𝑉𝐻 𝑉𝐻 π‘œ 4 π‘œ 4 π‘œ 4 π‘œ 4 ... ... ... ... ... 12

  32. Recursive UG Construction 𝑉𝐻 π‘œ 2 1 𝑉𝐻 𝑉𝐻 π‘œ 2 π‘œ 2 11 𝑉𝐻 12 21 22 𝑉𝐻 𝑉𝐻 𝑉𝐻 π‘œ 4 π‘œ 4 π‘œ 4 π‘œ 4 111 𝑉𝐻 221 𝑉𝐻 211 𝑉𝐻 121 𝑉𝐻 112 222 212 𝑉𝐻 122 𝑉𝐻 𝑉𝐻 𝑉𝐻 π‘œ 8 π‘œ 8 π‘œ 8 π‘œ 8 π‘œ 8 π‘œ 8 π‘œ 8 π‘œ 8 12

  33. Recursive UG Construction 𝑉𝐻 π‘œ 2 1 𝑉𝐻 𝑉𝐻 π‘œ 2 π‘œ 2 11 𝑉𝐻 12 21 22 𝑉𝐻 𝑉𝐻 𝑉𝐻 π‘œ 4 π‘œ 4 π‘œ 4 π‘œ 4 111 𝑉𝐻 221 𝑉𝐻 211 𝑉𝐻 121 𝑉𝐻 112 222 212 𝑉𝐻 122 𝑉𝐻 𝑉𝐻 𝑉𝐻 π‘œ 8 π‘œ 8 π‘œ 8 π‘œ 8 π‘œ 8 π‘œ 8 π‘œ 8 π‘œ 8 12

  34. Edge-Embedding G C 13

  35. Edge-Embedding H 1 H 2 G C 13

  36. Edge-Embedding H 1 H 2 G C G 1 G 2 13

  37. Edge-Embedding H 1 H 2 G C G 1 G 2 H 11 H 12 H 21 H 22 13

  38. Edge-Embedding H 1 H 2 H 11 H 12 H 21 H 22 13

  39. Edge-Embedding H 1 H 2 H 11 H 12 H 21 H 22 G 11 G 12 G 21 G 22 13

  40. Edge-Embedding H 1 H 2 H 11 H 12 H 21 H 22 H 122 H 211 H 212 H 221 H 222 H 111 H 121 H 112 13

  41. Edge-Embedding H 1 H 2 H 11 H 12 H 21 H 22 H 122 H 211 H 212 H 221 H 222 H 111 H 121 H 112 13

  42. Edge-Embedding H 1 H 2 H 11 H 12 H 21 H 22 H 122 H 211 H 212 H 221 H 222 H 111 H 121 H 112 13

  43. Edge-Embedding G C H 1 H 2 H 11 H 12 H 21 H 22 H 122 H 211 H 212 H 221 H 222 H 111 H 121 H 112 14

  44. Recursive UG Construction 𝑉𝐻 π‘œ 2 1 𝑉𝐻 𝑉𝐻 π‘œ 2 π‘œ 2 11 𝑉𝐻 12 21 22 𝑉𝐻 𝑉𝐻 𝑉𝐻 π‘œ 4 π‘œ 4 π‘œ 4 π‘œ 4 111 𝑉𝐻 221 𝑉𝐻 211 𝑉𝐻 121 𝑉𝐻 112 222 212 𝑉𝐻 122 𝑉𝐻 𝑉𝐻 𝑉𝐻 π‘œ 8 π‘œ 8 π‘œ 8 π‘œ 8 π‘œ 8 π‘œ 8 π‘œ 8 π‘œ 8 15

  45. Our Contributions Valiant’s universal circuit is practical. Embedding UC compiler Refined size of algorithm construction 16

  46. Size of Universal Graph Size of the universal graph Our upper bound Our lower bound Exact number of nodes π‘œβˆ’2 + 5 π‘œβˆ’2 𝐺 π‘œ = 2𝐺 , if π‘œ is even 2 2 π‘œβˆ’1 π‘œβˆ’3 + 5 π‘œβˆ’3 𝐺 π‘œ = 𝐺 + 𝐺 + 3 , if π‘œ is odd 2 2 2 Size of original graph 17

  47. Size of Universal Graph Size of the universal graph Our upper bound: 2.5π‘œ log 2 π‘œ βˆ’ 9π‘œ + 5 log 2 π‘œ + 10 Our lower bound : 2.5π‘œ log 2 π‘œ βˆ’ 4π‘œ + 2.5 log 2 π‘œ + 5 Exact number of nodes Size of original graph 17

  48. Deviation of Estimated Size and Exact Size Devination in percentage 2.5π‘œ log 2 π‘œ βˆ’ 6.5π‘œ + 3.75 log 2 π‘œ + 7.5 π‘œβˆ’2 + 5 π‘œβˆ’2 𝐺 π‘œ = 2𝐺 , if π‘œ is even 2 2 π‘œβˆ’1 π‘œβˆ’3 + 5 π‘œβˆ’3 𝐺 π‘œ = 𝐺 + 𝐺 + 3 , if π‘œ is odd 2 2 2 Size of original graph 18

  49. Size of the UC Constructions [KS08] Size of the universal circuit 2860 Number of gates 19

  50. Revised size of the UC Constructions Size of the universal circuit 2860 1070 Number of gates 19

  51. PFE Comparison – Symmetric-Key Operations [KS08] construction Valiant’s construction (revised) Symmetric-key operations [MS13] OT-based protocol 7 103 19 656 27 429 43 874 (DES) (AES) (MD5) (MULT32) 20

  52. PFE Comparison – Symmetric-Key Operations [KS08] construction Valiant’s construction (revised) Symmetric-key operations [MS13] OT-based protocol 7 103 19 656 27 429 43 874 (DES) (AES) (MD5) (MULT32) (size) [MS13]: P. Mohassel, S. S. Sadeghian. How to hide circuits in MPC an efficient framework for private function evaluation. In Eurocrypt 2013 . 20

  53. Our Contributions Valiant’s universal circuit is practical. Embedding Refined size of UC compiler algorithm construction 21

  54. UC Implementation 𝑔 SHDL C 0 [MNPS04] D. Malkhi, N. Nisan, B. Pinkas, Y. Sella. Fairplay-Secure Two-Party Computation System. In USENIX Security Symposium 2004 . 22

  55. UC Implementation C size ≀ π‘œ 𝑔 C 0 3 1 ID 2 1 2 3 22

  56. UC Implementation C size ≀ π‘œ 𝑔 C 0 Graph G C C G C 22

  57. UC Implementation π‘œ C size ≀ π‘œ 𝑔 C 0 Graph G C Universal Graph UG 22

  58. UC Implementation π‘œ C size ≀ π‘œ 𝑔 C 0 UC Compiler Graph G C Universal Graph UG Edge-embedding E 22

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend