zero-knowledge argument for polynomial evaluation with applications to blacklists stephanie bayer...

16
Zero-Knowledge Argument for Polynomial Evaluation with Applications to Blacklists Stephanie Bayer Jens Groth University College London

Upload: austen-johns

Post on 13-Dec-2015

216 views

Category:

Documents


0 download

TRANSCRIPT

Zero-Knowledge Argument for Polynomial Evaluation with Applications to Blacklists

Stephanie Bayer

Jens Groth

University College London

Polynomial

𝑣

𝑒

(𝑒 ,𝑣 )

Zero-knowledge argument for correct polynomial evaluation

Statement:

such that

Prover Verifier

Witness

SoundnessStatement is true

Zero-knowledgeNothing else revealed remains secret

𝑣𝑒

Membership and non-membership proofs

β€’ List andβ€’ Define

β€’ If then – Prove where committed trivially

β€’ If then – Prove where and prove

𝑒

𝑒0

𝑒𝑣

Zero-knowledge argument for correct polynomial evaluation

Statement:

such that

Prover Verifier

Witness Special honest-verifier zero-knowledgeGiven any challenge possible to simulate the argument

𝑣𝑒

3-move argument

Public coinVerifier picks challenge

Argument of knowledgeCan extract such that

Easy to convert to full zero-knowledge

Commitment properties

β€’ Additively homomorphic

β€’ SHVZK argument for multiplicative relationship

β€’ Examples– Pedersen commitments – ElGamal-style commitments

π‘Ž 𝑏⋅ ΒΏ π‘Ž+𝑏

π‘Ž 𝑏 π‘Žπ‘

Simple SHVZK argument for correct polynomial evaluation

Horner’s rule gives us

Commit to the intermediate values and prove correct

𝑣

𝑒

π‘Žπ·βˆ’ 1+π‘’π‘Žπ·

𝑒(π‘Žπ·βˆ’1+π‘’π‘Žπ·))

π‘Ž1+𝑒…

πœ‹multπœ‹mult

Efficiency – using Pedersen commitments

Degree D polynomial Rounds Prover Verifier Comm.

Chaum and Ped. 1992 3 expo. expo. group

Brands et al. 2007 3 . expo. group

Degree D polynomial Rounds Prover Verifier Comm.

This work 3 expo. mul.

expo. mult.

group field

Rewriting the polynomial

Prover wants to demonstrate

Without loss of generality

Write in binary to get

Commit to powers of

𝑒 𝑒2 𝑒4 𝑒2𝑑

πœ‹mult πœ‹mult πœ‹mult

…

…

commitments and arguments

Zero-knowledge argument of knowledge of power of

Statement:

Accept if opens to

Witness 𝑒2

𝑗

𝑓 𝑗

𝑓 𝑗←𝒁 𝑝 π‘₯←𝒁𝑝π‘₯

𝑓 𝑗=π‘₯𝑒2𝑗

+ 𝑓 𝑗

𝑒2𝑗 𝑓 𝑗

π‘₯β‹…

KnowledgeAnswers to 2 challenges

would reveal

Zero-knowledge is uniformly random regardless of

Masked powers of

𝑒 𝑒2 𝑒4 𝑒2𝑑

…

𝑓 0=π‘₯𝑒20

+ 𝑓 0

𝑓 1=π‘₯𝑒21

+ 𝑓 1

𝑓 2=π‘₯𝑒22+ 𝑓 2

𝑓 𝑑=π‘₯𝑒2𝑑

+ 𝑓 𝑑

A helpful polynomial

𝛿𝑑 𝛿1 𝛿0…𝑣

CompletenessIf prover okSoundnessIf prover fails

commitments

SHVZK argument for point on polynomial

βˆ‘π‘–π‘‘ ,… ,𝑖0=0

1

π‘Žπ‘–π‘‘β€¦ 𝑖0βˆπ‘—=0

𝑑

𝑓 𝑗𝑖 𝑗 π‘₯1βˆ’ 𝑖 𝑗Accept if is inside

π‘₯←𝒁𝑝

𝑓 𝑗=π‘₯𝑒2𝑗

+ 𝑓 𝑗

Statement: such that 𝑣𝑒

𝛿𝑑 𝛿1 𝛿0…

𝑣 𝛿𝑑 𝛿1 𝛿0…π‘₯𝑑+1

β‹…π‘₯𝑑

β‹…π‘₯β‹…β‹…

Soundness

SHVZK argument for polynomial evaluation

β€’ 3-move public coin argumentβ€’ Simple setup with commitment key β€’ Perfect completenessβ€’ Comp. soundness based on discrete log. problemβ€’ Perfect special honest verifier zero-knowledge

Statement: such that 𝑣𝑒

Efficiency – using Pedersen commitments

Degree D polynomial Rounds Prover Verifier Comm.

This work 3 expo. mul.

expo. mult.

group field

Degree D Rounds Prover Verifier Comm.

10 3 13 ms 17 ms 8 KB

100 3 24 ms 30 ms 15 KB

1000 3 41 ms 45 ms 21 KB

10000 3 182 ms 81 ms 29 KB

100000 3 1,420 ms 217 ms 35 KB

1000000 3 15,512 ms 1,315 ms 41 KB

256-bit subgroup modulo 1536-bit prime on MacBook, 2.54 GHz