30.01.2013 Views

Logical Analysis and Verification of Cryptographic Protocols - Loria

Logical Analysis and Verification of Cryptographic Protocols - Loria

Logical Analysis and Verification of Cryptographic Protocols - Loria

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

7.5. CASES STUDIES 189<br />

sdec(senc(x, y), y) = x<br />

open(commit(x, y), y) = x<br />

checksign(sign(x, y), x, P k(y)) = true<br />

unblind(blind(x, y), y) = x<br />

unblind(sign(blind(x, y), z), y) = sign(x, z)<br />

nth j<br />

i ((x1, . . . , xj)) = xi if i ≤ j.<br />

Applied pi formalism The voting specification <strong>of</strong> this protocol is represented<br />

by 〈voter, keying, ˜s, ˜t, ˜m〉 where ˜s = (r, r ′ ), ˜t = (skV ), ˜m = (a). The voter <strong>and</strong><br />

keying processes are defined below.<br />

voter � a(skV , pkA)<br />

let b = commit(u, r) in<br />

c〈P k(skV ), blind(b, r ′ ), sign(blind(b, r ′ ), skV )〉<br />

c(x)<br />

if checksign(x, blind(b, r ′ ), pkA) = true then<br />

let sb = unblind(x, r ′ ) in<br />

bb〈b, sb〉<br />

bb(l, y, z)<br />

if y = b ∧ z = sb then<br />

bb〈l, r〉<br />

keying � a〈skV , P k(skA)〉 | bb〈P k(skV ), P k(skA)〉<br />

<strong>Analysis</strong> Let tests R IV <strong>and</strong> R UV be given in Figure 7.2. R IV expects that x1 corresponds<br />

to the public keys published by the keying authority; x2 corresponds<br />

to the private/public keys sent to the voter by the keying authority using a private<br />

channel; <strong>and</strong> x3 is the voter’s signed blinded ballot. The variable x4 should<br />

correspond to the voter’s blinded ballot signed by the administrator; <strong>and</strong> x5 is<br />

the unblinded signed ballot. Finally, x7 is expected to refer to the commitment<br />

factor used during the protocol. The test R IV ensures that all values are provided<br />

as expected <strong>and</strong> R UV checks that opening the ballots reveals the votes<br />

corresponding to the published outcome.<br />

Suppose � V P (1, . . . , n)(−→ ∗ α −→−→ ∗ ) ∗ B such that B is irreducible, φ(B) = ν ñ.σ,<br />

dom(σ) = {x ′ 1, . . . , x ′ 7·n} <strong>and</strong> σ is as defined in Figure 7.2. Let f1, . . . , f7 be given<br />

by fi(j) = l(i−1)·n+j. It follows that:<br />

1. Individual verifiability. The result follows immediately since R IV Φ has a<br />

single solution for i1, . . . , i7, j, v ′ namely i1 = . . . = i7 = j <strong>and</strong> v ′ = ¯vj. The<br />

result <strong>of</strong> R IV Φ is provided in Figure 7.2.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!