33
Short Transitive Signatures for Directed Trees Philippe Camacho and Alejandro Hevia University of Chile San Francisco, Feb 27-Mar 2 2012

Short Transitive Signatures For Directed Trees

Embed Size (px)

DESCRIPTION

Slides

Citation preview

Page 1: Short Transitive Signatures For Directed Trees

Short Transitive Signatures for Directed Trees

Philippe Camacho and Alejandro HeviaUniversity of Chile

San Francisco, Feb 27-Mar 2 2012

Page 2: Short Transitive Signatures For Directed Trees

How do we sign a graph?

a

b

Is there a path from to ?

𝑮

Page 3: Short Transitive Signatures For Directed Trees

Trivial solutions

Let , security parameter

When adding a new node…

• Sign each edge– Time to sign: – Size of signature: bits

• Sign each path– Time to sign (new paths): – Size of signature: bits

Page 4: Short Transitive Signatures For Directed Trees

Transitive signature schemes [MR02,BN05,SMJ05]

𝜎 𝐴𝐵 𝜎 𝐵𝐶𝐴 𝐵 𝐶

)

Combiner

,, ) )

𝜎 𝐴𝐶

Page 5: Short Transitive Signatures For Directed Trees

Landscape

• [MR02,BN05,SMJ05] for UNDIRECTED graphs

• Transitive Signatures for Directed Graphs (DTS) still OPEN

• [Hoh03] DTS Trapdoor Groups with

Infeasible Inversion

Page 6: Short Transitive Signatures For Directed Trees

Transitive Signatures for Directed Trees

Page 7: Short Transitive Signatures For Directed Trees

Previous Work

• [Yi07]• Signature size: bits

• Better than bits for the trivial solution

• RSA related assumption

• [Neven08]• Signature size: bits• Standard Digital Signatures

bits still impractical

Page 8: Short Transitive Signatures For Directed Trees

Our Results

ExamplesTime to sign edge / verify path signatureTime to compute a path signatureSize of path signature

• For

• Time to sign edge / verify path signature: • Time to compute a path signature:• Size of path signature: bits

Page 9: Short Transitive Signatures For Directed Trees

Security [MR02](𝐴 ,𝐵)

𝜎 𝐴𝐵(𝐵 ,𝐶 )

σBC

(𝐵 ,𝐷)𝜎 𝐵𝐷

(𝐴 ,𝐸)𝜎 𝐴𝐸

𝐴

𝐵

𝐶 𝐷

E

) andThere is no path from to

Page 10: Short Transitive Signatures For Directed Trees

BASIC CONSTRUCTION

Page 11: Short Transitive Signatures For Directed Trees

Pre/Post Order Tree Traversal

a

hb

c

d

i j k

e f g

Pre order: a b c d e f g h i j k

Post order: c e f g d b i j k h a

Page 12: Short Transitive Signatures For Directed Trees

Property of Pre/Post order Traversal

• Proposition [Dietz82]

a

hb

c

d

i j k

e f g

Pre order: a b c d e f g h i j k

Post order: c e f g d b i j k h a

There   is   a   path  ⇔

Page 13: Short Transitive Signatures For Directed Trees

Idea

a

hb

c i j k

e f

d

g

Signature of path :• Signature of • Signature of

• Check signatures• Check

• Compute in and

• Sign and resign valuesthat have changed

Position 1 2 3 4 5 6 7 8 9 10 11

Pre a b c d e f g h i j k

Post c e f g d b i j k h a

How do we avoid recomputing a lot of signatures when an element is inserted?

Position 1 2 3 4 5 6 7 8 9 10

Pre a b c d e f h i j k

Post c e f d b i j k h a

Is there a path from to ?

𝑮

Page 14: Short Transitive Signatures For Directed Trees

Order Data Structure

• Enables to – Insert elements dynamically – Compare them efficiently

• Definition [Dietz82, MR+02]

Page 15: Short Transitive Signatures For Directed Trees

Trivial Order Data Structure A Toy Example

0 1000

a

500 750

bd

250

c

875

For insertions we need to handle bits

Labels

Elements

e

675

+∞-∞

Page 16: Short Transitive Signatures For Directed Trees

a

b

cd

0

a

500 750

b c

875

Pre

0

a

500

b

250

Post

1000937

d

125

c

187

d

)

Is there a path from to ?

) )

1000

-∞

-∞

+∞

+∞

𝑮

Page 17: Short Transitive Signatures For Directed Trees

Trivial Order Data Structure

0 1000

a

500 750

bd

250

• Signature of size • Better than [Neven08], but still room for improvement.

c

875

New CRHF! It allows to: • compress the strings • efficiently compare them from their hashes

-∞ +∞

Page 18: Short Transitive Signatures For Directed Trees

HASHING WITH COMMON PREFIX PROOFS

Page 19: Short Transitive Signatures For Directed Trees

The Idea

We want: collision resistant hash function + proofs

𝐻 (𝐴) ,𝐻 (𝐵) ,𝜋

Do and share a common prefix until position ?

Page 20: Short Transitive Signatures For Directed Trees

Security

𝑯𝑮𝒆𝒏(𝟏𝜿 ,𝒏)→𝑷𝑲 (𝑨 ,𝑩 , 𝒊 ,𝝅)

𝑨𝒅𝒗 ( 𝑨)=𝐏𝐫 [𝑯𝑪𝒉𝒆𝒄𝒌 (𝑯 ( 𝑨) ,𝑯 ( 𝑩) ,𝝅 ,𝒊 ,𝑷𝑲 )=𝑻𝒓𝒖𝒆∧

𝑨 [𝟏 .. 𝒊 ] ≠𝑩 [𝟏 .. 𝒊 ] ]

Page 21: Short Transitive Signatures For Directed Trees

n-BDHI assumption [BB04]

𝒆 (𝒈 ,𝒈)𝟏 /𝒔

Page 22: Short Transitive Signatures For Directed Trees

The hash function

return

Toy example:

Page 23: Short Transitive Signatures For Directed Trees

Generating & Verifying Proofs

Page 24: Short Transitive Signatures For Directed Trees

Generating & Verifying Proofs

• “Remove” factor +1 in the exponent without knowing

• Check the proof : ,

Page 25: Short Transitive Signatures For Directed Trees

Security

• Proposition: If the n-BDHI assumption holds then the previous construction is a secure HCPP family.

• Proof (idea)

Page 26: Short Transitive Signatures For Directed Trees

CRHF is incremental

It’s fast to compute from (we don’t need the preimage )

Page 27: Short Transitive Signatures For Directed Trees

Comparing strings

• E.g:

• Check: // is a prefix of // is a prefix of

// is a prefix of // is a prefix of

𝐶=100

Page 28: Short Transitive Signatures For Directed Trees

FULL CONSTRUCTION

Page 29: Short Transitive Signatures For Directed Trees

Trivial Order Data Structure

0 1000

a

500 750

bd

250

Signer has to compute new labels before hashing them Time to sign an edge still .

c

875

New Order Data Structure: s.t. new label shares every bit except one with or

+∞−∞

Page 30: Short Transitive Signatures For Directed Trees

New Order Data Structure

a bd c

b1

c

1

Use a binary tree to obtain an «incremental» order data structure

d

0

e

1

e

a

+∞−∞

Page 31: Short Transitive Signatures For Directed Trees

ab

cd

ODPre ODPost

)

Is there a path from to ?

• Use with

a

b

1

c

1

d

1

c

a

b

d

1

0

0

𝑮

Page 32: Short Transitive Signatures For Directed Trees

Trade off

𝒏=𝟓𝟒 ,𝜿=𝟐 ,𝚺= {𝒂 ,𝒃 ,𝒄 ,𝒅 }

Page 33: Short Transitive Signatures For Directed Trees

Conclusion and Open Problems

• Efficient transitive signature scheme for directed trees

• Possible to balance the time to compute and to verify the proof

• Based on a general new primitive HCPP• New constructions / applications for HCPP• Can we improve the trade off?• Stateless transitive signatures for directed trees

Thank you!