37
Quantum Random Oracle Model, Part 1 Mark Zhandry (Princeton & NTT Research)

Quantum Random Oracle Model, Part 1 - BIU

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Quantum Random Oracle Model, Part 1 - BIU

QuantumRandomOracleModel,Part1

MarkZhandry (Princeton&NTTResearch)

Page 2: Quantum Random Oracle Model, Part 1 - BIU

(Classical)RandomOracleModel(ROM)[Bellare-Rogaway’93]

Cryptosystem

hashfunction

Examples:OAEP,Fujisaki-Okamoto,Full-DomainHash,…

Page 3: Quantum Random Oracle Model, Part 1 - BIU

(Classical)RandomOracleModel(ROM)[Bellare-Rogaway’93]

Cryptosystem

H

Page 4: Quantum Random Oracle Model, Part 1 - BIU

(Classical)RandomOracleModel(ROM)[Bellare-Rogaway’93]

Idea:If∃ROMsecurityproof,anyattackmustexploitstructureofhashfunction

Hopefullynotpossibleforwell-designedhash

Page 5: Quantum Random Oracle Model, Part 1 - BIU

TheQuantumRandomOracleModel(QROM)[Boneh-Dagdelen-Fischlin-Lehmann-Schaffner-Z’11]

H

Nowstandardinpost-quantumcrypto

Page 6: Quantum Random Oracle Model, Part 1 - BIU

Example:FullDomainHash

BuildingBlock:TrapdoorPermutations

P^pk

x P-1

^sk

y x

Security:∀PPT A, Pr[A(pk,y)=x] < negl

Page 7: Quantum Random Oracle Model, Part 1 - BIU

SigsfromTDPs

Example:FullDomainHash

P-1

^sk

σHm

Page 8: Quantum Random Oracle Model, Part 1 - BIU

Example:FullDomainHash

Proof:Assumetowardcontradiction

A

mi

σi

m*∉{mi}i

P-1

^

H

sk

σ*H

P^pk

=H

xi

yi

Page 9: Quantum Random Oracle Model, Part 1 - BIU

Example:FullDomainHash

Proof:

A

mi

σi

m*∉{mi}i

P-1

^

H

sk

σ*H

P^pk

=H

xi

yi

Step0:Assumem* queriestoRO

Page 10: Quantum Random Oracle Model, Part 1 - BIU

Example:FullDomainHash

Proof:

A

mi

σi

m*∉{mi}i

P-1

^

H

sk

σ*H

P^pk

=H

xi

yi

Step1:H à P∘H’

Page 11: Quantum Random Oracle Model, Part 1 - BIU

Example:FullDomainHash

Proof:

A

mi

σi

m*∉{mi}i

P-1

^

H

sk

σ*H

P^pk

=H’

xi

yi

Step1:H à P∘H’

P^pk

Page 12: Quantum Random Oracle Model, Part 1 - BIU

Example:FullDomainHash

Proof:

A

mi

σi

m*∉{mi}i

H’

σ*H

P^pk

=H’

xi

yi

Step1:H à P∘H’

P^pk

Page 13: Quantum Random Oracle Model, Part 1 - BIU

Example:FullDomainHash

Proof:

A

mi

σi

m*∉{mi}i

H’

σ*H’

=H’

xi

yi

Step1:H à P∘H’

P^pk

Page 14: Quantum Random Oracle Model, Part 1 - BIU

Example:FullDomainHash

Proof:

A

mi

σi

m*∉{mi}i

H’

σ*H’

=H’

xi

yiP^pk

Notice:AcomputesH’(m*), givenonlyP(pk,H’(m*))

Page 15: Quantum Random Oracle Model, Part 1 - BIU

Example:FullDomainHash

Proof:

A

mi

σi

m*∉{mi}i

H’

σ*H’

=H’

xi

yiP^pk

B(y): setH’(xi)=y forrandomqueryà advantageε/q

Page 16: Quantum Random Oracle Model, Part 1 - BIU

Example:FullDomainHash

QROMProof?

A

mi

σi

m*∉{mi}i

H’

σ*H’

=H’

∑x|x,y⟩

P^pk

HowdoesB insertchallenge?

Page 17: Quantum Random Oracle Model, Part 1 - BIU

Challenges

Take1:PerQUERY

A

∑αx,y|x,y⟩∑αx,y|x,y⊕V1⟩

B∑αx,y|x,y⟩

∑αx,y|x,y⊕V2⟩

Problem:repeatedqueries?

Problem:distinguishingattack∑|x,0⟩∑|x,V1⟩

∑|x,0⟩∑|x,O(x)⟩VS

Page 18: Quantum Random Oracle Model, Part 1 - BIU

SecurityProofChallenges

TypicalQROMreductionscommittoentirefunctionH atbeginning,remainconsistentthroughout

[Zhang-Yu-Feng-Fan-Zhang’19]:“Committedprogrammingreductions"

Page 19: Quantum Random Oracle Model, Part 1 - BIU

SecurityProofChallenges

Take2:PerVALUE

A∑αx,y|x,y⟩

∑αx,y|x,y⊕Vx⟩ BProblem:exp-manyvaluesà Pr[correctlyguessm*] =negl

Page 20: Quantum Random Oracle Model, Part 1 - BIU

SmallRangeDistributions

Domain Range

Sizer

Random Random

Page 21: Quantum Random Oracle Model, Part 1 - BIU

SmallRangeDistributions

Thm [Z’12b]:Noq quantumqueryalg candistinguishSRr fromrandom,exceptwithprobabilityO(q3/r).

Quantumcollisionfindingboundtight

Page 22: Quantum Random Oracle Model, Part 1 - BIU

FinishingTheProof

Pr[A wins | H’ random] ≥ ε

Pr[A wins | H’ = SRr] ≥ ε – O(q3/r)

B(y) insertsy intorandomoutputPr[B inverts y] ≥ ε/r–O(q3/r2) = O(ε2/q3)

r=O(q3/ε)

Page 23: Quantum Random Oracle Model, Part 1 - BIU

Example:FullDomainHash,Take2

BuildingBlock:Pre-imageSampleable Funcs

sk

y

pk

x y

Security:(1)Collisionresistant(2)randomy à ≈randomx

P-1 P

[Gentry-Peikert-Vaikuntanathan’08]:constructionfromLWE

Page 24: Quantum Random Oracle Model, Part 1 - BIU

SigsfromPSFs

Example:FullDomainHash,Take2

sk

σHm P-1

Page 25: Quantum Random Oracle Model, Part 1 - BIU

Example:FullDomainHash,Take2

Proof:Assumetowardcontradiction

A

mi

σi

m*∉{mi}i

H

sk

σ*H

pk

=H

xi

yi

P-1

P

Page 26: Quantum Random Oracle Model, Part 1 - BIU

Example:FullDomainHash,Take2

Proof:

A

mi

σi

m*∉{mi}i

H’

σ*H

pk

=

Step1:P-1∘H à H’

P

H’

xi

yi

pk

P P

Page 27: Quantum Random Oracle Model, Part 1 - BIU

Example:FullDomainHash,Take2

Proof:

A

mi

σi

m*∉{mi}i

H’

σ*H

=

Notice:H(m*), σ* formcollisionà advantageε

P

H’

xi

yi

pk

P P

Page 28: Quantum Random Oracle Model, Part 1 - BIU

Example:FullDomainHash,Take2

QROMProof?

A

mi

σi

m*∉{mi}i

H

sk

σ*H

pk

=H

xi

yi

P-1

P

Page 29: Quantum Random Oracle Model, Part 1 - BIU

Example:FullDomainHash,Take2

Main*QROMissue:simulatingH’ efficiently

Asbefore,candousing2q-wiseindependence

*someissueshavingtodowithP-1(y) beingonlyapproximatelyuniform

Page 30: Quantum Random Oracle Model, Part 1 - BIU

RuleofThumb

RuleofThumb:Iflossofclassicalreductionisindependentofq,goodchancewecan

upgradetoquantumsecurity

Iflossinreductiondependsonq,newreductionlikelyneeded,maybeimpossible

Noperqueryhybrid

Page 31: Quantum Random Oracle Model, Part 1 - BIU

CanAllROMProofsbeUpgraded?

Thm [Yamakawa-Z’20]:No,assumingLWEorrelativetoanoracle

Page 32: Quantum Random Oracle Model, Part 1 - BIU

Recall:ImpossibilityofQuantumRewinding

Coinflipping/commitmentgame

A

y

xbß{0,1} Winif

•Hash(x)=y•x1 = b

Devisedquantum A andcol.res.Hash wherePr[A wins] ≈ 1

[Ambainis-Rosmanis-Unruh’14]

Page 33: Quantum Random Oracle Model, Part 1 - BIU

NewGame

Coinflipping/commitmentgame

A

y

xbß{0,1} Winif

•Hash(x)=y•H(x) = b

EssentiallysameA,Hash workhere

(1-bitRO)

Page 34: Quantum Random Oracle Model, Part 1 - BIU

QuantumAlg

Idea:

Vf Diff Vf Diff ∑x∈D,H(x)=b│x⟩∑x:Hash(x)=y│x⟩

f(x)=H(x)

^

y

^ ^x:Hash(x)=y x:Hash(x)=y

y

Giveoutasoracle

Page 35: Quantum Random Oracle Model, Part 1 - BIU

NoClassical-QueryAlg

Suppose∃classicalqueryquantumA s.t. Pr[A wins]≥½+ε• ConsiderH queriesonx s.t. Hash(x)=y• Firstsuchqueryx0 hasprob ½ of H(x0)=b• IfA onlyeveroutputsx0,Pr[A wins]≤½• Therefore,Amustsometimesoutputx1≠x0• Butthenx0,x1 formcollisionforHash

Page 36: Quantum Random Oracle Model, Part 1 - BIU

QROMImpossibility

[Yamakawa-Z’20]:Moregenerally,upgradeproofsofquantumness toproofsofquantumaccesstoRO

Page 37: Quantum Random Oracle Model, Part 1 - BIU

UpNext

Tomorrow,willlookatfurtherexamples

Inparticular,wewillseebarriers/impossibilitiesforcommittedprogrammingreductions,andhowtoovercomethem