Arithmetic of pairings, performance and weakness toward side channel attacks
Nadia El Mrabet
GREYC - LMNO Universit´ e de Caen
Darmstadt 29th of April 2010
1 / 59
Arithmetic of pairings, performance and weakness toward side channel - - PowerPoint PPT Presentation
Arithmetic of pairings, performance and weakness toward side channel attacks Nadia El Mrabet GREYC - LMNO Universit e de Caen Darmstadt 29th of April 2010 1 / 59 Outline Pairing over elliptic curves 1 Definition and properties of
GREYC - LMNO Universit´ e de Caen
1 / 59
1
2
3
4
2 / 59
1
2
3
4
3 / 59
1
2
3
4
4 / 59
5 / 59
5 / 59
5 / 59
6 / 59
6 / 59
7 / 59
7 / 59
8 / 59
8 / 59
8 / 59
8 / 59
9 / 59
9 / 59
1
2
3
4
10 / 59
11 / 59
12 / 59
12 / 59
12 / 59
13 / 59
13 / 59
13 / 59
14 / 59
14 / 59
14 / 59
14 / 59
15 / 59
pk
pk −1 r 15 / 59
1
2
3
4
16 / 59
17 / 59
18 / 59
18 / 59
18 / 59
v[2]P
v[2]P
19 / 59
v[2]P
v[2]P
l[2]P,[2]P v[4]P
2,P × l[2]P,[2]P v[4]P
l[4]P,P v[5]P
19 / 59
v[2]P
v[2]P
l[2]P,[2]P v[4]P
2,P × l[2]P,[2]P v[4]P
l[4]P,P v[5]P
19 / 59
20 / 59
pk
f1 f2
21 / 59
pk
f1 f2
21 / 59
pk
f1 f2
21 / 59
pk
f1 f2
21 / 59
1
2
3
4
22 / 59
23 / 59
24 / 59
24 / 59
1
2
3
4
25 / 59
n−1
26 / 59
1
2
3
4
27 / 59
28 / 59
n−1
28 / 59
n−1
n−1
28 / 59
n−1
29 / 59
30 / 59
30 / 59
30 / 59
30 / 59
30 / 59
30 / 59
31 / 59
1
2
3
4
32 / 59
1 Polynomial multiplication W (X) = U(X) × V (X), using
2 Modular reduction using a polynomial of degree k in Fp. 33 / 59
34 / 59
1 Evaluation : Let U(X) and V (X) of degree k − 1. We compute
1
2
l
34 / 59
1 Evaluation : Let U(X) and V (X) of degree k − 1. We compute
1
2
l
2 Multiplication :
34 / 59
1 Evaluation : Let U(X) and V (X) of degree k − 1. We compute
1
2
l
2 Multiplication :
3 Interpolation : reconstruction of coefficients of W (X). 34 / 59
35 / 59
35 / 59
35 / 59
36 / 59
36 / 59
37 / 59
37 / 59
i=0 aiti)tj
i=0 −an−j+iti) + (n−1 i=j ai−jti).
37 / 59
1
2
3
4
38 / 59
39 / 59
Mp Ap
40 / 59
41 / 59
1
2
3
4
42 / 59
1
2
3
4
43 / 59
44 / 59
44 / 59
45 / 59
45 / 59
1
2
3
4
46 / 59
47 / 59
48 / 59
48 / 59
48 / 59
1
2
3
4
49 / 59
50 / 59
50 / 59
51 / 59
51 / 59
51 / 59
52 / 59
52 / 59
Fτ,P(Q)2 gives us information about the secret.
53 / 59
Fτ,P(Q)2 gives us information about the secret.
53 / 59
Fτ,P(Q)2 gives us information about the secret.
53 / 59
j
j (X 2 j − Z 4 j )
j − Z 4 j ) + 2Y 2 j
54 / 59
j
j (X 2 j − Z 4 j )
j − Z 4 j ) + 2Y 2 j
54 / 59
j
j (X 2 j − Z 4 j )
j − Z 4 j ) + 2Y 2 j
0 − 9λ2 1)Z 12 − (4λ0λ2 2 + 9λ3 1)Z 6 + 4λ4 1 ≡ 0
54 / 59
pk −1 r
55 / 59
1
2
3
4
56 / 59
57 / 59
58 / 59
58 / 59
59 / 59