Outline Preliminaries Comprehend the TI Applying TI Conclusion
Threshold Implementations: Comprehend and Apply
Svetla Nikova, KU Leuven, Belgium June 8, 2013
1 / 112
Threshold Implementations: Comprehend and Apply Svetla Nikova, KU - - PowerPoint PPT Presentation
Outline Preliminaries Comprehend the TI Applying TI Conclusion Threshold Implementations: Comprehend and Apply Svetla Nikova, KU Leuven, Belgium June 8, 2013 1 / 112 Outline Preliminaries Comprehend the TI Applying TI Conclusion
Outline Preliminaries Comprehend the TI Applying TI Conclusion
1 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
2 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
3 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
4 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
5 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
(ref. ”Power Analysis Attacks”, S. Mangard, E. Oswald, T. Popp) 6 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
(ref. ”Power Analysis Attacks”, S. Mangard, E. Oswald, T. Popp) 7 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
8 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
9 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
10 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
11 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
12 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
13 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
14 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
15 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
16 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
17 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
18 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
19 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
20 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
21 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
22 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
23 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
24 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
25 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
26 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
27 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
28 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
29 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
30 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
31 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
32 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
33 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
x y a=x AND y 1 1 1 1 1 a (0,0,0) (0,0,1) (0,1,0) (0,1,1) (1,0,0) (1,0,1) (1,1,0) (1,1,1) 4 4 4 4 4 4 4 4 4 4 4 4 1 4 4 4 4 12 12 12 12 1 4 4 4 4 34 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
35 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
36 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
37 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
38 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
39 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
40 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
41 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
42 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
43 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
44 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
45 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
46 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
47 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
48 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
(a,b) 000 011 101 110 001 010 100 111 (0,0) 7 3 3 3 (0,1) 7 3 3 3 (1,0) 7 3 3 3 (1,1) 5 5 5 1
49 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
(a,b,d) 000 011 101 110 001 010 100 111 (0,0,0) 37 9 9 9 (0,0,1) 37 9 9 9 (0,1,0) 37 9 9 9 (0,1,1) 37 9 9 9 (1,0,0) 37 9 9 9 (1,0,1) 37 9 9 9 (1,1,0) 31 11 11 11 (1,1,1) 21 21 21 1
50 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
51 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
52 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
53 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
54 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
55 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
56 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
57 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
58 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
59 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
60 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
61 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
62 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
63 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
64 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
65 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
66 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
2))n
67 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
68 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
69 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
70 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
71 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
mKi,1 xi
2 + xi+2 2
+ ((xi+2
2
+ xi+2
3
+ xi+2
4
+ xi+2
5
)(xi+1
2
+ xi+1
3
+ xi+1
4
+ xi+1
5
)) mKi,2 xi
3 + xi+2 3
+ (xi+1
1
(xi+2
3
+ xi+2
4
+ xi+2
5
) + xi+2
1
(xi+1
3
+ xi+1
4
+ xi+1
5
) + xi+1
1
xi+2
1
) mKi,3 xi
4 + xi+2 4
+ (xi+1
1
xi+2
2
+ xi+2
1
xi+1
2
) mKi,4 xi
5 + xi+2 5
mKi,5 xi
1 + xi+2 1
for i = 0, 2 mK1,1 x1
2 + (x0 2 + x0 3 + x0 4 + x0 5 ) + ((x0 2 + x0 3 + x0 4 + x0 5 )(x2 2 + x2 3 + x2 4 + x2 5 ))
mK1,2 x1
3 + x0 1 + (x2 1 (x0 3 + x0 4 + x0 5 ) + x0 1 (x2 3 + x2 4 + x2 5 ) + x2 1 x0 1 )
mK1,3 x1
4 + (x2 1 x0 2 + x0 1 x2 2 )
mK1,4 x1
5
mK1,5 x1
1
72 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
73 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
74 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
75 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
F1
x2 y2 x1 xn . . . y1 . . . yn
F2 . . . Fn . . . G1 G2 Gn R1 R2 Rn . . .
76 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
F1
x2 y2 x1 xn . . . y1 . . . yn
F2 . . . Fn . . . G1 G2 Gn R1 R2 Rn . . .
Q12 × Q12 Q293 × Q300 Q294 × Q299 Q299 × Q294 Q299 × Q299 Q300 × Q293 Q300 × Q300 77 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
78 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
79 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
80 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
81 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
82 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
83 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
84 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
85 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
86 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
TSMC 0.18µm standard cell library
(x, y, . . .) (a, b, . . .)
(x, y, . . .) (a, b, . . .)
87 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
TSMC 0.18µm standard cell library
(x, y, . . .) (a, b, . . .)
(x, y, . . .) (a, b, . . .)
88 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
TSMC 0.18µm standard cell library
(x, y, . . .) (a, b, . . .)
F()
(x, y, . . .) (a, b, . . .)
G() H()
F()
(x, y, . . .) (a, b, . . .)
G() H() I() 89 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
1
2
3
TSMC 0.18µm standard cell library 90 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
4
12
293
294
299
300
TSMC 0.18µm standard cell library 91 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
1 ∈ S16 \ A16
3 ∈ S16 \ A16
13 ∈ S16 \ A16
301 ∈ S16 \ A16
150 ∈ A16
130 ∈ A16
24 ∈ A16
257 ∈ S16 \ A16
210 ∈ S16 \ A16
TSMC 0.18µm standart cell library 92 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
93 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
94 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
95 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
96 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
97 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
98 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
S-box % Total % cycles % Moradi et al. 4.2 1821 11.1 427 266 118 Version 1 4.2 1803 9.0 345 266 118 Version 2 3.0 1284 8.0 311 246 109
99 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
S-box % Total % cycles % Moradi et al. 4.2 1821 11.1 427 266 118 Version 1 4.2 1803 9.0 345 266 118 Version 2 3.0 1284 8.0 311 246 109
100 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
101 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
102 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
103 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
104 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
105 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
106 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
107 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
108 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
109 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
110 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
111 / 112
Outline Preliminaries Comprehend the TI Applying TI Conclusion
112 / 112