or SoS Meets Program Obfuscation Ilan Komargodski Joint work with - - PowerPoint PPT Presentation

โ–ถ
or
SMART_READER_LITE
LIVE PREVIEW

or SoS Meets Program Obfuscation Ilan Komargodski Joint work with - - PowerPoint PPT Presentation

Limits on Low-Degree PRGs or SoS Meets Program Obfuscation Ilan Komargodski Joint work with Boaz Barak (Harvard) Zvika Brakerski (Weizmann Institute) Pravesh K. Kothari (Princeton) Pseudorandom Generators (PRGs) : {0,1} {0,1}


slide-1
SLIDE 1

Limits on Low-Degree PRGs

  • r

SoS Meets Program Obfuscation

Ilan Komargodski

Joint work with Boaz Barak (Harvard) Zvika Brakerski (Weizmann Institute) Pravesh K. Kothari (Princeton)

slide-2
SLIDE 2

2

Pseudorandom Generators (PRGs)

๐ป: {0,1}๐‘œ โ†’ {0,1}๐‘› ๐‘ฆ1 ๐‘ฆ2 ๐‘ฆ๐‘œ ๐‘ง1 ๐‘ง2 ๐‘ง๐‘› ๐ป ๐‘‰๐‘œ โ‰ˆc.i ๐‘‰๐‘› Fundamental primitive in cryptography How simple can it be? ๐ป๐‘—: {0,1}๐‘œ โ†’ {0,1} ๐ป๐‘— ๐‘ฆ = ๐ป ๐‘ฆ ๐‘— Assuming OWFs, โˆƒ ๐ป: {0,1}๐‘œ โ†’ {0,1}poly(๐‘œ)

slide-3
SLIDE 3

3

Local Pseudorandom Generators

Locality ๐‘’ โ€“ every output bit depends on ๐‘’ input bits

Do such PRGs exist and if so, how much they can stretch?

๐ป: {0,1}๐‘œ โ†’ {0,1}๐‘› ๐‘ฆ1 ๐‘ฆ2 ๐‘ฆ๐‘œ ๐‘ง1 ๐‘ง2 ๐‘ง๐‘› ๐ป ๐‘‰๐‘œ โ‰ˆc.i ๐‘‰๐‘› ๐ป๐‘—: {0,1}๐‘œ โ†’ {0,1} ๐ป๐‘— ๐‘ฆ = ๐ป ๐‘ฆ ๐‘— ๐ป๐‘—: {0,1}d โ†’ {0,1} ๐ป๐‘— ๐‘ฆ|๐ฝ๐‘— = ๐ป ๐‘ฆ ๐‘—

slide-4
SLIDE 4

4

Local Pseudorandom Generators

Positive:

  • OWF โˆˆ NC1

โ‡’ โˆƒ ๐‘ฏ: ๐Ÿ, ๐Ÿ ๐’ โ†’ ๐Ÿ, ๐Ÿ ๐’+๐’๐‘, ๐’† = ๐‘ท(๐Ÿ) [AIK06]

  • Candidate for ๐‘ฏ: ๐Ÿ, ๐Ÿ ๐’ โ†’ ๐Ÿ, ๐Ÿ ๐ช๐ฉ๐ฆ๐ณ(๐’),

, ๐’† = ๐‘ท(๐Ÿ) [Gol00,โ€ฆ,App13,โ€ฆ,AR16,โ€ฆ] Negative:

  • For ๐‘’ = 2, ๐‘› โ‰ค ๐‘œ

[CM01]

  • For ๐‘’ = 3, ๐‘› = ๐‘ƒ(๐‘œ)

[CM01]

  • For ๐‘’ = 4,

๐‘› = ๐‘ƒ(๐‘œ) [MST06]

  • For general ๐‘’, ๐‘› = ๐‘ƒ 2๐‘’ โ‹… ๐‘œ ๐‘’/2

[MST06] Many applications:

  • New PKE schemes [ABW10]
  • Efficient MPC [IKO+11]
  • Reducing assumptions for indistinguishability obfuscation [AJS15,Lin16,โ€ฆ]
slide-5
SLIDE 5

5

iO from Local PRGs

Theorem: [Lin16,AnanthSahai16] โˆƒ iO based on:

  • ๐ป: 0,1 ๐‘œ โ†’ 0,1 ๐‘œ1+๐œ— with locality ๐‘’
  • Degree ๐‘’ multilinear maps
  • ๐‘’ = 2
  • Bilinear maps (well studied, โˆƒ candidates)
  • No such PRG
  • ๐‘’ โˆˆ {3,4}
  • No satisfying candidate of mutlilinear maps
  • No such PRG
  • ๐‘’ โ‰ฅ 5
  • No satisfying candidate of mutlilinear maps
  • โˆƒ candidates for PRG
slide-6
SLIDE 6

6

iO from Local PRGs

Theorem: [LinTessaro17] โˆƒ iO based on:

  • ๐ป: 0,1 ๐‘œ โ†’ 0,1 ๐‘œ1+๐œ— with block locality ๐‘’
  • Degree ๐‘’ multilinear maps

๐ป: ฮฃ๐‘œ โ†’ {0,1}๐‘› ๐‘ฆ1 ๐‘ฆ2 ๐‘ฆ๐‘œ ๐‘ง1 ๐‘ง2 ๐‘ง๐‘› ๐ป ๐‘‰๐‘œ โ‰ˆc.i ๐‘‰๐‘› ๐ป๐‘—: ฮฃ๐‘œ โ†’ {0,1} ๐ป๐‘— ๐‘ฆ = ๐ป ๐‘ฆ ๐‘— ฮฃ = 2๐‘: ๐ป: 0,1 ๐‘œ๐‘ โ†’ 0,1 ๐‘› [LinTessaro17] need ๐ป: 0,1 ๐‘œ๐‘ โ†’ 0,1 23๐‘๐‘œ1+๐œ— Attacks of [CM,MST] do not apply so might exist even for ๐’† = ๐Ÿ‘ !

slide-7
SLIDE 7

7

Our Results in a Nutshell

slide-8
SLIDE 8

8

Our Results

๐ป: ฮฃ๐‘œ โ†’ {0,1}๐‘› ๐‘ฆ1 ๐‘ฆ2 ๐‘ฆ๐‘œ ๐‘ง1 ๐‘ง2 ๐‘ง๐‘›

๐ป ๐‘‰๐‘œ โ‰ˆc.i ๐‘‰๐‘›

๐ป๐‘—: ฮฃ๐‘œ โ†’ {0,1} ๐ป๐‘— ๐‘ฆ = ๐ป ๐‘ฆ ๐‘—

Stretch Predicate Worst-case

  • vs. random

Graph Worst-case

  • vs. random

Predicate Different

  • vs. Same

Remark ๐‘› = เทจ ๐‘ƒ(22๐‘๐‘œ) Worst case Worst case Different ๐‘› = เทจ ๐‘ƒ(2๐‘๐‘œ) Worst case Worst case Same Also in [LV17] ๐‘› = เทจ ๐‘ƒ(2๐‘๐‘œ) Random Random Different

Bonus: Simple candidate 3- block-local PRG with O(1)-block size and poly stretch

slide-9
SLIDE 9

9

Image Refutation

G(r) ๐‘Ž A A does image-refutation w.r.t ๐‘Ž: Pr

๐‘จโ†G r A ๐‘จ = 1 = 1

Pr

๐‘จโ†๐‘Ž A ๐‘จ = 1 < 0.5

A break pseudo-randomness:

Pr

๐‘จโ†๐‘Ž A ๐‘จ = 1 โˆ’

Pr

๐‘จโ†G r A ๐‘จ = 1

> ๐‘œ๐‘“๐‘• Refutation => distinguishing

  • ๐‘Ž=uniform

Refutation handles preprocessing on ๐‘ 

slide-10
SLIDE 10

10

Proof Idea

Step 1: Reduce โ€œblock-localityโ€ to โ€œsparse algebraic degreeโ€œ. Let าง ๐‘ž = ๐‘ž1, โ€ฆ , ๐‘ž๐‘› is a tuple of degree 2 polynomials with ๐‘ก monomials าง ๐‘ž: ๐’๐‘œ โ†’ ๐’๐‘› Step 2: On input ๐‘จ โˆˆ ยฑ1 ๐‘› (output of PRG or random), compute ๐‘ค๐‘๐‘š = max

๐‘ฆโˆˆ{ยฑ1}๐‘œ เท ๐‘—=1 ๐‘›

๐‘จ๐‘— โ‹… ๐‘ž๐‘— ๐‘ฆ

Theorem: 1) If ๐‘จ is in the image of าง ๐‘ž, then ๐‘ค๐‘๐‘š is large 2) Otherwise ๐‘ค๐‘๐‘š is small

slide-11
SLIDE 11

11

Step 2

On input ๐‘จ โˆˆ ยฑ1 ๐‘› (output of PRG or random), compute ๐‘ค๐‘๐‘š = max

๐‘ฆโˆˆ{ยฑ1}๐‘œ เท ๐‘—=1 ๐‘›

๐‘จ๐‘— โ‹… ๐‘ž๐‘— ๐‘ฆ

1) If ๐‘จ is in the image

  • f าง

๐‘ž, then ๐‘ค๐‘๐‘š โ‰ฅ ๐‘› 2) Otherwise ๐‘ค๐‘๐‘š โ‰ค ๐‘œ๐‘ก๐‘›

1) โˆƒ๐‘ฆ: เท

๐‘—=1 ๐‘›

๐‘จ๐‘— โ‹… ๐‘ž๐‘— ๐‘ฆ = เท

๐‘—=1 ๐‘›

๐‘จ๐‘—

2 = ๐‘›

2) Define ๐‘› independent R.V Yi = ๐‘จ๐‘— โ‹… ๐‘ž๐‘— (โ‹…) where each ๐‘

๐‘— โ‰ค ๐‘ก.

By Chernoff w.h.p เท

๐‘—=1 ๐‘›

๐‘

๐‘— โ‰ค ๐‘ƒ

๐‘œ๐‘ก๐‘› .

Distinguish if ๐‘› โ‰ฅ ฮฉ(๐‘œ๐‘ก)

slide-12
SLIDE 12

12

Step 2

On input ๐‘จ โˆˆ ยฑ1 ๐‘› (output of PRG or random), compute ๐‘ค๐‘๐‘š = max

๐‘ฆโˆˆ{ยฑ1}๐‘œ เท ๐‘—=1 ๐‘›

๐‘จ๐‘— โ‹… ๐‘ž๐‘— ๐‘ฆ

Theorem ]Charikar-Wirth via Grothendieck Inequality[: For every degree-2 polynomial ๐‘ž: ๐’๐‘œ โ†’ ๐’ ๐‘ค๐‘๐‘š = max

๐‘ฆโˆˆ ยฑ1 ๐‘œ ๐‘ž(๐‘ฆ)

can be approximated to within ๐‘ท(๐ฆ๐ฉ๐ก ๐’) factor.

slide-13
SLIDE 13

13

Step 1

Reduce โ€œblock-localityโ€ to โ€œsparse algebraic degreeโ€œ. A-priori unrelated:

  • 2-block-local with |block|=๐‘ could have degree 2๐‘

Idea: Preprocess ๐‘ฆ โˆˆ ยฑ1 ๐‘๐‘œ to ๐‘ฆโ€ฒ โˆˆ ยฑ1 ๐‘œโ€ฒ for ๐‘œโ€ฒ = 2๐‘๐‘œ

๐‘ ๐‘œ 2๐‘ 2๐‘ 2๐‘ 2๐‘ ๐‘œ

๐‘ฆ ๐‘ฆโ€ฒ

slide-14
SLIDE 14

14

Step 1

The ๐‘—-th block of ๐‘ฆโ€ฒ consists of all 2๐‘ monomials on the ๐‘—-th block

  • f ๐‘ฆ.

๐ป: ยฑ1 ๐‘๐‘œ โ†’ ยฑ1 ๐‘› โ‡’ ๐ปโ€ฒ: ยฑ1 2๐‘๐‘œ โ†’ ๐’๐‘› Properties:

  • If ๐ป has block-locality โ„“, then ๐ปโ€ฒ has degree โ„“
  • # of monomials in ๐ปโ€ฒ is 22๐‘
  • ๐ปโ€ฒ is not necessarily a PRG even if ๐ป is a PRG
  • Yet, the image of ๐ปโ€ฒ contains the image of ๐ป
  • Solving image-refutation on ๐ปโ€ฒ is enough

Rules out 2-block local generator with |block|=๐‘ with ๐‘› โ‰ฅ ฮฉ 22๐‘ โ‹… 2๐‘ โ‹… ๐‘œ = ฮฉ(23๐‘ โ‹… ๐‘œ).

Using preprocessing

slide-15
SLIDE 15

15

Summary & Questions

Stretch Predicate Worst- case vs. random Graph Worst- case vs. random Predicat e Different

  • vs. Same

Remark ๐‘› = เทจ ๐‘ƒ(22๐‘๐‘œ) Worst case Worst case Different ๐‘› = เทจ ๐‘ƒ(2๐‘๐‘œ) Worst case Worst case Same Also in [LV17] ๐‘› = เทจ ๐‘ƒ(2๐‘๐‘œ) Random Random Different

  • ๐‘› = เทจ

๐‘ƒ(2๐‘๐‘œ), worst-case, worst-case, different

  • Find a different way to get iO from bililnear maps