domain extension for random oracles: beyond the birthday paradox bound arvind narayanan (ut austin)...

14
Domain Extension for Random Oracles: Beyond the Birthday Paradox Bound Arvind Narayanan (UT Austin) Ilya Mironov (Microsoft Research)

Upload: jerome-quinn

Post on 31-Dec-2015

215 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Domain Extension for Random Oracles: Beyond the Birthday Paradox Bound Arvind Narayanan (UT Austin) Ilya Mironov (Microsoft Research)

Domain Extension for Random Oracles: Beyond the Birthday Paradox Bound

Arvind Narayanan (UT Austin)Ilya Mironov (Microsoft Research)

Page 2: Domain Extension for Random Oracles: Beyond the Birthday Paradox Bound Arvind Narayanan (UT Austin) Ilya Mironov (Microsoft Research)

Notions of hash function security

TCR

Pre

Sec

RO

aSeceSec

CR

aPreePremulticoll

Nostradamus

? ?

?

Page 3: Domain Extension for Random Oracles: Beyond the Birthday Paradox Bound Arvind Narayanan (UT Austin) Ilya Mironov (Microsoft Research)

What’s wrong with MD?

C C C

M1 M2 M3

h0 h=h3h1 h2

•Multicollisions (Joux, Crypto’04)•Second preimage (Kelsey and Schneier, Eurocrypt’05)•Nostradamus (Kelsey and Kohno, Eurocrypt’06)

Birthday paradox

Page 4: Domain Extension for Random Oracles: Beyond the Birthday Paradox Bound Arvind Narayanan (UT Austin) Ilya Mironov (Microsoft Research)

What does indifferentiability mean?

S S S

M1

h0 h=h3h1 h2

M2

M3

Oracle

•Maurer at al.•[CDMP05]

Page 5: Domain Extension for Random Oracles: Beyond the Birthday Paradox Bound Arvind Narayanan (UT Austin) Ilya Mironov (Microsoft Research)

Lucks (Asiacrypt 2005)M1

M1

M2

M2

M3

M3

h0

h1

• Internal state must be wide (2 x output length)• Optimal security

Compression function

“Finalizing function”

Rate = 0.25

Not exactly impossible

Page 6: Domain Extension for Random Oracles: Beyond the Birthday Paradox Bound Arvind Narayanan (UT Austin) Ilya Mironov (Microsoft Research)

Simple constructionM

α1 α2 β1 β2

(only one block shown)

Twice as much space for message bitsLinear algebra very fast

Lucks Double pipe

M

Page 7: Domain Extension for Random Oracles: Beyond the Birthday Paradox Bound Arvind Narayanan (UT Austin) Ilya Mironov (Microsoft Research)

Other possibilitiesM

(only one block shown)

Lucks Double pipe

No internal collisions!Collision resistance 2n on output length 2n

Page 8: Domain Extension for Random Oracles: Beyond the Birthday Paradox Bound Arvind Narayanan (UT Austin) Ilya Mironov (Microsoft Research)

Ugly constructionM1 M2

M1 M2

M3

Rate 3/8Provably behaves like a random oracle (2n)

Page 9: Domain Extension for Random Oracles: Beyond the Birthday Paradox Bound Arvind Narayanan (UT Austin) Ilya Mironov (Microsoft Research)

Proof technique

M1 M2

M1 M2

M3

NOT a random oracle!

•Hybrid argument fails•Inductive “global” proof

Collision counting

Page 10: Domain Extension for Random Oracles: Beyond the Birthday Paradox Bound Arvind Narayanan (UT Austin) Ilya Mironov (Microsoft Research)

Does not seem to lead to attack

But necessary for using indifferentiability framework

Collision

Unsupported query

The adversary wins if…Goal: distinguish construction from random oracle

Page 11: Domain Extension for Random Oracles: Beyond the Birthday Paradox Bound Arvind Narayanan (UT Austin) Ilya Mironov (Microsoft Research)

Results

•Rate ½ (always)•Collision resistant (2n)•Almost behaves like random oracle (2n)Simple

Ugly

•Rate 3/8 (for SHA-256)•Provably behaves like random oracle (2n)

Page 12: Domain Extension for Random Oracles: Beyond the Birthday Paradox Bound Arvind Narayanan (UT Austin) Ilya Mironov (Microsoft Research)

Rate comparison

Overall rate

Compression ratio1 2 3 4 5

SHA-256

Merkle-Damgard

Simple

Ugly

Lucks double-pipe

Page 13: Domain Extension for Random Oracles: Beyond the Birthday Paradox Bound Arvind Narayanan (UT Austin) Ilya Mironov (Microsoft Research)

Why should you care?

• Gap between MD and double pipe is large– Factor of 4 for SHA-256, 3 for MD5

• New crop of proof techniques– Steinberger (Eurocrypt’07)– Current work– Shrimpton and Stam (next talk)

• Apply techniques to new constructions?

Page 14: Domain Extension for Random Oracles: Beyond the Birthday Paradox Bound Arvind Narayanan (UT Austin) Ilya Mironov (Microsoft Research)

Work in progress

• Constructions with better rate– Nontrivial lower bound?– Possibility of getting close to rate 1

• Domain separation• Understand model better, esp. role of

unsupported queries• Simpler constructions and proofs