an optimal distributed discrete log protocol with
play

An Optimal Distributed Discrete Log Protocol with Applications to - PowerPoint PPT Presentation

An Optimal Distributed Discrete Log Protocol with Applications to Homomorphic Secret Sharing Itai Dinur 1 , Nathan Keller 2 and Ohad Klein 2 1 Department of Computer Science, Ben-Gurion University, Israel 2 Department of Mathematics, Bar-Ilan


  1. An Optimal Distributed Discrete Log Protocol with Applications to Homomorphic Secret Sharing Itai Dinur 1 , Nathan Keller 2 and Ohad Klein 2 1 Department of Computer Science, Ben-Gurion University, Israel 2 Department of Mathematics, Bar-Ilan University, Israel August 22, 2018 Ohad Klein (BIU) How to Synchronize Efficiently? Aug. 22, 2018 1 / 17

  2. The Spaceships Problem Ohad Klein (BIU) How to Synchronize Efficiently? Aug. 22, 2018 2 / 17

  3. The Spaceships Problem Ohad Klein (BIU) How to Synchronize Efficiently? Aug. 22, 2018 2 / 17

  4. The Spaceships Problem Spaceships land on adjacent cells of random numbers array. Ohad Klein (BIU) How to Synchronize Efficiently? Aug. 22, 2018 2 / 17

  5. The Spaceships Problem Spaceships land on adjacent cells of random numbers array. Cannot communicate . Allowed to read T cells. Ohad Klein (BIU) How to Synchronize Efficiently? Aug. 22, 2018 2 / 17

  6. The Spaceships Problem Spaceships land on adjacent cells of random numbers array. Cannot communicate . Allowed to read T cells. Must eventually stop. Goal: Stop on the same cell with high probability. Ohad Klein (BIU) How to Synchronize Efficiently? Aug. 22, 2018 2 / 17

  7. The Spaceships Problem Spaceships land on adjacent cells of random numbers array. Cannot communicate . Allowed to read T cells. Must eventually stop. Goal: Stop on the same cell with high probability. Do not know who is on the left. Ohad Klein (BIU) How to Synchronize Efficiently? Aug. 22, 2018 2 / 17

  8. The Spaceships Problem Spaceships land on adjacent cells of random numbers array. Cannot communicate . Allowed to read T cells. Must eventually stop. Goal: Stop on the same cell with high probability. Do not know who is on the left. Main Problem How can the spaceships maximize their meeting probability? What is this highest probability (depending on T )? Ohad Klein (BIU) How to Synchronize Efficiently? Aug. 22, 2018 2 / 17

  9. Basic algorithm Algorithm: Basic 1: function Basic ( array , start , T ) return arg min i ∈ [ start , start + T ) { array [ i ] } ; 2: Ohad Klein (BIU) How to Synchronize Efficiently? Aug. 22, 2018 3 / 17

  10. Basic algorithm Algorithm: Basic 1: function Basic ( array , start , T ) return arg min i ∈ [ start , start + T ) { array [ i ] } ; 2: Analysis Alice & Bob fail to synchronize iff minimum in on one of the ends. Probability = 2 / ( T + 1). Ohad Klein (BIU) How to Synchronize Efficiently? Aug. 22, 2018 3 / 17

  11. Homomorphic Secret Sharing Homomorphic Secret Sharing – introduced by Boyle,Gilboa, Ishai [ BGI ] (CRYPTO’16) as a more practical alternative to FHE (Fully-Homomorphic-Encryption). Suppose we wish to securely compute in the cloud. HSS enables to distribute the evaluation of a public function f on a secret input x among two servers, each receiving a secret share y or z , so that f ( x ) can easily be recovered from f ′ ( y ) and f ′ ( z ). Ohad Klein (BIU) How to Synchronize Efficiently? Aug. 22, 2018 4 / 17

  12. Homomorphic Secret Sharing Homomorphic Secret Sharing – introduced by Boyle,Gilboa, Ishai [ BGI ] (CRYPTO’16) as a more practical alternative to FHE (Fully-Homomorphic-Encryption). Suppose we wish to securely compute in the cloud. HSS enables to distribute the evaluation of a public function f on a secret input x among two servers, each receiving a secret share y or z , so that f ( x ) can easily be recovered from f ′ ( y ) and f ′ ( z ). Each of y and z computationally hides x . ‘Share’ and ‘Join’ are cheap. Ohad Klein (BIU) How to Synchronize Efficiently? Aug. 22, 2018 4 / 17

  13. HSS & Applications BGI constructed a group based HSS protocol. Security Relies only on DDH (Decisional-Diffie-Hellman) Hardness assumption. Low communication complexity . Applicable only for functions f inside the class of ‘ branching programs ’. Ohad Klein (BIU) How to Synchronize Efficiently? Aug. 22, 2018 5 / 17

  14. HSS & Applications BGI constructed a group based HSS protocol. Security Relies only on DDH (Decisional-Diffie-Hellman) Hardness assumption. Low communication complexity . Applicable only for functions f inside the class of ‘ branching programs ’. Applications PIR : Private information retrieval (with branching program predicate). SMPC : Secure multi-party computation in sublinear communication (leveled circuits). Ohad Klein (BIU) How to Synchronize Efficiently? Aug. 22, 2018 5 / 17

  15. HSS & Applications BGI constructed a group based HSS protocol. Security Relies only on DDH (Decisional-Diffie-Hellman) Hardness assumption. Low communication complexity . Applicable only for functions f inside the class of ‘ branching programs ’. Applications PIR : Private information retrieval (with branching program predicate). SMPC : Secure multi-party computation in sublinear communication (leveled circuits). Requires an algorithm solving the Distributed-Discrete-Log problem ( DDLOG ). Ohad Klein (BIU) How to Synchronize Efficiently? Aug. 22, 2018 5 / 17

  16. Overview of BGI’s HSS Protocol (1) Let x = ( x 1 , . . . , x n ) ∈ { 0 , 1 } n be a secret input. We wish to compute f ( x ) ∈ Z , where f contains instructions of the form: 1) v i ← v j ± v k for variables v i , v j , v k ∈ Z . 2) v i ← v j · x k where x k is an input bit. 3) v i ← x k . Ohad Klein (BIU) How to Synchronize Efficiently? Aug. 22, 2018 6 / 17

  17. Overview of BGI’s HSS Protocol (1) Let x = ( x 1 , . . . , x n ) ∈ { 0 , 1 } n be a secret input. We wish to compute f ( x ) ∈ Z , where f contains instructions of the form: 1) v i ← v j ± v k for variables v i , v j , v k ∈ Z . 2) v i ← v j · x k where x k is an input bit. 3) v i ← x k . Share x : Let G be a cryptographic group generated by g . Choose random y i , z i with x i = y i + z i , and share y i , z i respectively. Also, publish g x i . (Actually, use something similar to El-Gamal.) Ohad Klein (BIU) How to Synchronize Efficiently? Aug. 22, 2018 6 / 17

  18. Overview of BGI’s HSS Protocol (1) Let x = ( x 1 , . . . , x n ) ∈ { 0 , 1 } n be a secret input. We wish to compute f ( x ) ∈ Z , where f contains instructions of the form: 1) v i ← v j ± v k for variables v i , v j , v k ∈ Z . 2) v i ← v j · x k where x k is an input bit. 3) v i ← x k . Share x : Let G be a cryptographic group generated by g . Choose random y i , z i with x i = y i + z i , and share y i , z i respectively. Also, publish g x i . (Actually, use something similar to El-Gamal.) Evaluation of f ′ almost identical to evaluation of f . We maintain that at any time t , v t i ( x ) = v t i ( y ) + v t i ( z ). Trivial for instructions 1 & 3. What about 2? Ohad Klein (BIU) How to Synchronize Efficiently? Aug. 22, 2018 6 / 17

  19. Overview of BGI’s HSS Protocol (2) How would we implement v i ← v j · x k ? We only have v j and g x k ! Ohad Klein (BIU) How to Synchronize Efficiently? Aug. 22, 2018 7 / 17

  20. Overview of BGI’s HSS Protocol (2) How would we implement v i ← v j · x k ? We only have v j and g x k ! We can compute g v i = g v j x k , but we do not have v i . We seek for an efficient probabilistic algorithm A : G → Z / | G | satisfying: Simplified DDLOG problem Let u , v ∈ { 0 , 1 } , then Pr [ A ( g u ) + A ( g v ) � = u + v ] ≤ δ, for a minimal δ > 0, depending on the complexity of A . Ohad Klein (BIU) How to Synchronize Efficiently? Aug. 22, 2018 7 / 17

  21. Overview of BGI’s HSS Protocol (2) How would we implement v i ← v j · x k ? We only have v j and g x k ! We can compute g v i = g v j x k , but we do not have v i . We seek for an efficient probabilistic algorithm A : G → Z / | G | satisfying: Simplified DDLOG problem Let u , v ∈ { 0 , 1 } , then Pr [ A ( g u ) + A ( g v ) � = u + v ] ≤ δ, for a minimal δ > 0, depending on the complexity of A . Can binary expand v j and assume v j ∈ { 0 , 1 } . Degenerate formulation due to usage t �→ g t , instead of El-Gamal. Ohad Klein (BIU) How to Synchronize Efficiently? Aug. 22, 2018 7 / 17

  22. DDLOG & Spaceships problems DDLOG problem Let G be a cyclic cryptographic group, with a generator g . Find probabilistic algorithms A , B : G → Z / | G | , so that A ( g x +1 ) − B ( g x ) � = 1 � � ∀ x ∈ Z : Pr ≤ δ, for a minimal δ > 0, depending on the time complexity of A , B . Ohad Klein (BIU) How to Synchronize Efficiently? Aug. 22, 2018 8 / 17

  23. DDLOG & Spaceships problems DDLOG problem Let G be a cyclic cryptographic group, with a generator g . Find probabilistic algorithms A , B : G → Z / | G | , so that A ( g x +1 ) − B ( g x ) � = 1 � � ∀ x ∈ Z : Pr ≤ δ, for a minimal δ > 0, depending on the time complexity of A , B . Apply a PRF on g t to randomize. BGI used ‘Basic’ algorithm, achieving δ = 1 / T for running time O ( T ). Ohad Klein (BIU) How to Synchronize Efficiently? Aug. 22, 2018 8 / 17

  24. Results (Optimal) Spaceships Algorithm There is an algorithm enabling Alice and Bob to synchronize except for probability O (1 / T 2 ), where T is the number of array-queries. Ohad Klein (BIU) How to Synchronize Efficiently? Aug. 22, 2018 9 / 17

  25. Results (Optimal) Spaceships Algorithm There is an algorithm enabling Alice and Bob to synchronize except for probability O (1 / T 2 ), where T is the number of array-queries. Corollary If Alice and Bob landed with initial distance M of each other, probability of failure would be O ( M / T 2 ). Ohad Klein (BIU) How to Synchronize Efficiently? Aug. 22, 2018 9 / 17

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