bivariate polynomials modulo composites and their
play

Bivariate Polynomials Modulo Composites and Their Applications Dan - PowerPoint PPT Presentation

Bivariate Polynomials Modulo Composites and Their Applications Dan Boneh and Henry Corrigan-Gibbs Stanford University ASIACRYPT 8 December 2014 Cryptos Bread and Butter Let N = pq be an RSA modulus of unknown factorization. 2/27


  1. Bivariate Polynomials Modulo Composites and Their Applications Dan Boneh and Henry Corrigan-Gibbs Stanford University ASIACRYPT — 8 December 2014

  2. Crypto’s Bread and Butter Let N = pq be an RSA modulus of unknown factorization. 2/27

  3. Crypto’s Bread and Butter Let N = pq be an RSA modulus of unknown factorization. i.e., p and q are large distinct random primes 2/27

  4. Crypto’s Bread and Butter Let N = pq be an RSA modulus of unknown factorization. 2/27

  5. Crypto’s Bread and Butter Let N = pq be an RSA modulus of unknown factorization. Question Given a fixed polynomial f ∈ Z [ x ] and c ← R Z N How hard is it to solve: f ( x ) = c mod N ? 2/27

  6. Crypto’s Bread and Butter When f ( x ) = x 2 , solving x 2 = c mod N is as hard as factoring N [Rabin ’79] 3/27

  7. Crypto’s Bread and Butter When f ( x ) = x 2 , solving x 2 = c mod N is as hard as factoring N [Rabin ’79] When f ( x ) = x 3 , solving x 3 = c mod N is the RSA problem [Rivest-Shamir-Adleman ’78] 3/27

  8. Crypto’s Bread and Butter When f ( x ) = x 2 , solving x 2 = c mod N is as hard as factoring N [Rabin ’79] When f ( x ) = x 3 , solving x 3 = c mod N is the RSA problem [Rivest-Shamir-Adleman ’78] When f ∈ Z N [ x ] is random (of fixed degree), solving: f ( x ) = 0 mod N is as hard as factoring N [Schwenk-Eisfeld ’96] 3/27

  9. A Natural Extension: Bivariates Question Fix a bivariate polynomial f ∈ Z [ x, y ] , choose c ← R Z N For which f is it hard to solve: f ( x, y ) = c mod N ? 4/27

  10. A Natural Extension: Bivariates Question Fix a bivariate polynomial f ∈ Z [ x, y ] , choose c ← R Z N For which f is it hard to solve: f ( x, y ) = c mod N ? When does f ( x, y ) mod N have interesting cryptographic properties? 4/27

  11. A Natural Extension: Bivariates Question Fix a bivariate polynomial f ∈ Z [ x, y ] , choose c ← R Z N For which f is it hard to solve: f ( x, y ) = c mod N ? When does f ( x, y ) mod N have interesting cryptographic properties? Subject of this talk 4/27

  12. Immediate Application From the discrete log problem . . . M = g m 5/27

  13. Immediate Application From the discrete log problem . . . M = g m . . . we get a commit- ment scheme: C ( m ; r ) = g m h r [Pedersen ’91] 5/27

  14. Immediate Application From the From the RSA problem . . . discrete log problem . . . M = m 3 mod N M = g m . . . we get a commit- ment scheme: C ( m ; r ) = g m h r [Pedersen ’91] 5/27

  15. Immediate Application From the From the RSA problem . . . discrete log problem . . . M = m 3 mod N M = g m . . . we get a commit- . . . do we get a ment scheme: commitment scheme? C ( m ; r ) = g m h r C ( m ; r ) = m 3 + 2 r 3 mod N [Pedersen ’91] 5/27

  16. Immediate Application From the From the RSA problem . . . discrete log problem . . . M = m 3 mod N M = g m . . . we get a commit- . . . do we get a ment scheme: commitment scheme? Or maybe m 4 ? m 5 ? C ( m ; r ) = g m h r C ( m ; r ) = m 3 + 2 r 3 mod N [Pedersen ’91] 5/27

  17. Immediate Application From the From the RSA problem . . . discrete log problem . . . M = m 3 mod N M = g m . . . we get a commit- . . . do we get a ment scheme: commitment scheme? C ( m ; r ) = g m h r C ( m ; r ) = m 3 + 2 r 3 mod N [Pedersen ’91] 5/27

  18. Immediate Application From the From the RSA problem . . . discrete log problem . . . M = m 3 mod N M = g m . . . we get a commit- . . . do we get a ment scheme: commitment scheme? X C ( m ; r ) = g m h r C ( m ; r ) = m 3 + 2 r 3 mod N [Pedersen ’91] 5/27

  19. Overview Motivation Classifying Polynomials One way functions Second preimage resistance Collision Resistance Applications Conclusion 6/27

  20. Classifying Polynomials Useful cryptographic properties of f ( x, y ) mod N : ▶ one-wayness ▶ second preimage resistance ▶ collision resistance 7/27

  21. Classifying Polynomials Useful cryptographic properties of f ( x, y ) mod N : ▶ one-wayness ▶ second preimage resistance ▶ collision resistance Question Which polynomials f ∈ Z [ x, y ] define functions mod N with these properties? 7/27

  22. To understand properties of c ← f ( x, y ) mod N , look at the properties of f ( x, y ) = c ∈ Q . 8/27

  23. Our Approach Fact If it’s easy to find rational solutions to f ( x, y ) = c ∈ Q then , for random RSA moduli N , it’s easy find solutions to f ( x, y ) = c mod N. 9/27

  24. Our Approach Find solution Fact and reduce it mod N . If it’s easy to find rational solutions to f ( x, y ) = c ∈ Q then , for random RSA moduli N , it’s easy find solutions to f ( x, y ) = c mod N. 9/27

  25. Our Approach Fact If it’s easy to find rational solutions to f ( x, y ) = c ∈ Q then , for random RSA moduli N , it’s easy find solutions to f ( x, y ) = c mod N. 9/27

  26. Our Approach Fact If it’s easy to find rational solutions to f ( x, y ) = c ∈ Q then , for random RSA moduli N , it’s easy find solutions to f ( x, y ) = c mod N. Question Is this the only way to find solutions mod N ? 9/27

  27. Our Approach Fact If it’s easy to find rational solutions to f ( x, y ) = c ∈ Q then , for random RSA moduli N , it’s easy find solutions to f ( x, y ) = c Can compute + , − , ∗ , / . mod N. Not √ x . Question Is this the only way to find solutions mod N ? 9/27

  28. Our Approach Fact If it’s easy to find rational solutions to f ( x, y ) = c ∈ Q then , for random RSA moduli N , it’s easy find solutions to f ( x, y ) = c mod N. Question Is this the only way to find solutions mod N ? 9/27

  29. Our Approach Fact If it’s easy to find rational solutions to f ( x, y ) = c ∈ Q then , for random RSA moduli N , it’s easy find solutions to f ( x, y ) = c mod N. Question Is this the only way to find solutions mod N ? More generally: Are rational properties of f sufficient to get cryptographic properties mod N ? 9/27

  30. One Wayness Example You want this to be a OWF. Is it? f ( x, y ) = x 2 − 5 y 2 + 3 xy mod N 10/27

  31. One Wayness Example You want this to be a OWF. Is it? f ( x, y ) = x 2 − 5 y 2 + 3 xy mod N No! The curve f ( x, y ) = c is of genus zero over Q , so can efficiently invert the OWF. [Pollard-Schnorr ’87] 10/27

  32. One Wayness Example You want this to be a OWF. Is it? f ( x, y ) = x 2 − 5 y 2 + 3 xy mod N No! The curve f ( x, y ) = c is of genus zero over Q , so can efficiently invert the OWF. [Pollard-Schnorr ’87] OSS’84 sigs (broken) relied on the hardness of a related problem. 10/27

  33. One Wayness Classify polynomials f ∈ Z [ x, y ] according to the genus of f ( x, y ) − c = 0 for most c ∈ Z N 11/27

  34. One Wayness Classify polynomials f ∈ Z [ x, y ] according to the genus of f ( x, y ) − c = 0 for most c ∈ Z N Genus Type Easy to invert mod N ? 0 “rational” Yes 1 “elliptic” ? ≥ 2 ? 11/27

  35. One Wayness Classify polynomials f ∈ Z [ x, y ] according to the genus of f ( x, y ) − c = 0 for most c ∈ Z N Genus Type Easy to invert mod N ? 0 “rational” Yes 1 “elliptic” ? ≥ 2 ? Necessary Condition: For f to give rise to OWF, curve f ( x, y ) − c = 0 must have genus > 0 for almost all c . 11/27

  36. Second Preimage Resistance Definition: Given a point ( x, y ) ← R Z 2 N , should be hard to find a second point ( x ′ , y ′ ) such that: f ( x, y ) = f ( x ′ , y ′ ) mod N 12/27

  37. Second Preimage Resistance Definition: Given a point ( x, y ) ← R Z 2 N , should be hard to find a second point ( x ′ , y ′ ) such that: f ( x, y ) = f ( x ′ , y ′ ) mod N Breaking SPR is only as hard as finding a second rational point on the curve f ( x, y ) = c . 12/27

  38. Second Preimage Resistance Definition: Given a point ( x, y ) ← R Z 2 N , should be hard to find a second point ( x ′ , y ′ ) such that: f ( x, y ) = f ( x ′ , y ′ ) mod N Breaking SPR is only as hard as finding a second rational point on the curve f ( x, y ) = c . Necessary Condition: For f to be SPR, curve f ( x, y ) = c must have no non-trivial rational mapping ( x, y ) �→ ( x ′ , y ′ ) for almost all c . 12/27

  39. Second Preimage Resistance Definition: Given a point ( x, y ) ← R Z 2 N , should be hard to find a second point ( x ′ , y ′ ) such that: f ( x, y ) = f ( x ′ , y ′ ) mod N Details are in Breaking SPR is only as hard as finding a second rational the paper point on the curve f ( x, y ) = c . Necessary Condition: For f to be SPR, curve f ( x, y ) = c must have no non-trivial rational mapping ( x, y ) �→ ( x ′ , y ′ ) for almost all c . 12/27

  40. Collision Resistance Definition: f is collision resistant if it is computationally hard to find ( x, y ) ̸ = ( x ′ , y ′ ) ∈ Z 2 N such that f ( x, y ) = f ( x ′ , y ′ ) mod N. 13/27

  41. Collision Resistance Definition: f is collision resistant if it is computationally hard to find ( x, y ) ̸ = ( x ′ , y ′ ) ∈ Z 2 N such that f ( x, y ) = f ( x ′ , y ′ ) mod N. Definition: A function f : Q × Q �→ Q is injective if f ( x, y ) = f ( x ′ , y ′ ) = ⇒ ( x, y ) = ( x ′ , y ′ ) . 13/27

  42. Collision Resistance Fact f ( x, y ) is NOT = ⇒ f ( x, y ) is NOT an injective map CR mod N 14/27

  43. Collision Resistance Find “collision” in Q and reduce it mod N . Fact f ( x, y ) is NOT = ⇒ f ( x, y ) is NOT an injective map CR mod N 14/27

  44. Collision Resistance Fact f ( x, y ) is NOT = ⇒ f ( x, y ) is NOT an injective map CR mod N 14/27

Recommend


More recommend