09.03.2014 Views

Evaluation of Authentication Algorithms for Small Devices

Evaluation of Authentication Algorithms for Small Devices

Evaluation of Authentication Algorithms for Small Devices

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.

A<br />

B<br />

1 s : 1 ≤ s ≤ (n − 1)<br />

coprime(n, s)<br />

1 Public Key 3 : v = s 2 mod n<br />

1 r ∈ [1, (n − 1)]<br />

1<br />

2 (n2 + n) x = r 2 mod n −→<br />

+(2n − n)(n + 3)<br />

←− e ∈ [0, 1] 1<br />

0 e = 0 : y = r −→<br />

(n-1)(n-1) e = 1 : y = r · s mod n −→ y = 0: reject<br />

+(2n-n)(n+3) y 2 ≡ x· v e 1<br />

: accept<br />

2 (n2 + n)<br />

+(2n − n)(n + 3)<br />

Now again the number <strong>of</strong> simple multiplications can be summed up. Because <strong>of</strong> the<br />

probability getting a one or zero as repsonse causes the need <strong>of</strong> a probality b which<br />

is, because <strong>of</strong> the random out <strong>of</strong> two elements b= 1 2 .<br />

A: 3 + ( 1 2 (n2 + n) + (2n − n)(n + 3) + 1 [(n − 1)(n − 1) + (2n − n)(n + 3)]<br />

2<br />

= 3 + 1 2 (5n2 + 2n + 1)<br />

B:1 + 1 2 [(n − 1)(n − 1)] + 1 2 [(2n − n)(n + 3)] + ( 1 2 (n2 + n) = 1 + 1 2 (3n2 + 6n + 1)<br />

In every round the chance <strong>of</strong> being lucky with guessing the corresponding response<br />

r without the knowledge <strong>of</strong> s is 1 . This means that the probability to successful<br />

2<br />

guess in every round and to cheat the authentication is ( 1 2 )n . In order to satisfy the<br />

verifiers demands <strong>for</strong> a successful authentication, the algorithm works with multiple<br />

rounds. To achieve a equivalent confidence as <strong>for</strong> example we would get with SSH<br />

we assume that about 20 to 40 rounds are required. The hope in using this protocol<br />

is to be able to adapt the complexity to the actual needs.<br />

Running the protocol over x rounds does not mean that the number <strong>of</strong> messages is<br />

increased to: number <strong>of</strong> messages · x, as we will show later on.<br />

3 It’s only one calculation because it’s only done once

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

Saved successfully!

Ooh no, something went wrong!