Overview of Countermeasures against Implementation Attacks
Design and Security of Cryptographic Algorithms and Devices 1 Albena, May 2011
Overview of Countermeasures against Implementation Attacks Marcel - - PowerPoint PPT Presentation
Overview of Countermeasures against Implementation Attacks Marcel Medwed UCL Crypto Group Marcel.medwed@uclouvain.be Design and Security of Cryptographic Algorithms and Devices 1 Albena, May 2011 Outline 1. Motivation & general
Design and Security of Cryptographic Algorithms and Devices 1 Albena, May 2011
Design and Security of Cryptographic Algorithms and Devices 2 Albena, May 2011
Design and Security of Cryptographic Algorithms and Devices 3 Albena, May 2011
Design and Security of Cryptographic Algorithms and Devices 4 Albena, May 2011
m1 m2 ... ... mn
Design and Security of Cryptographic Algorithms and Devices 5 Albena, May 2011
Design and Security of Cryptographic Algorithms and Devices 6 Albena, May 2011
Design and Security of Cryptographic Algorithms and Devices 7 Albena, May 2011
Design and Security of Cryptographic Algorithms and Devices 8 Albena, May 2011
S4 S1 S2
Design and Security of Cryptographic Algorithms and Devices 9 Albena, May 2011
S2 S3 S4
D S4 S1 D D S2
S2 S3 S4
S2 S3 S4
S2 S3 S4 D D S2 S4
S4 D S1 D D S2
D S4
S4 S1 D D S2
D time
Design and Security of Cryptographic Algorithms and Devices 10 Albena, May 2011
Design and Security of Cryptographic Algorithms and Devices 11 Albena, May 2011
Design and Security of Cryptographic Algorithms and Devices 12 Albena, May 2011
Design and Security of Cryptographic Algorithms and Devices 13 Albena, May 2011
Design and Security of Cryptographic Algorithms and Devices 14 Albena, May 2011
Trans. l 00 01 1 10 1 11 Trans. l 1000 1 0100 1 0010 1 0001 1
Single Rail
a b q
Dual Rail
a ¬a b ¬b q ¬q
Design and Security of Cryptographic Algorithms and Devices 15 Albena, May 2011
Design and Security of Cryptographic Algorithms and Devices 16 Albena, May 2011
17 Albena, May 2011
Design and Security of Cryptographic Algorithms and Devices 18 Albena, May 2011
WH(v1) WH(v2) WH(v1) WH(v2)
Design and Security of Cryptographic Algorithms and Devices 19 Albena, May 2011
Only masking Only shuffling Combined
Design and Security of Cryptographic Algorithms and Devices 20 Albena, May 2011
Design and Security of Cryptographic Algorithms and Devices 21 Albena, May 2011
Masking order AES cycles w/o masking 2 000 1 10 000 2 271 000 3 470 000
Design and Security of Cryptographic Algorithms and Devices 22 Albena, May 2011
Masked S-box
vm m S(v)m‘ m‘
Design and Security of Cryptographic Algorithms and Devices 23 Albena, May 2011
f1
v1 v2 v3
f2 f3 f4
y1 y2 y3
f5 f6
z1 z2 z3
Design and Security of Cryptographic Algorithms and Devices 24 Albena, May 2011
SR MAJ
am bm m q
SR MAJ
¬am ¬bm ¬m ¬q am bm m ¬am ¬bm ¬m q ¬q 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
Design and Security of Cryptographic Algorithms and Devices 25 Albena, May 2011
Design and Security of Cryptographic Algorithms and Devices 26 Albena, May 2011
Design and Security of Cryptographic Algorithms and Devices 27 Albena, May 2011
Design and Security of Cryptographic Algorithms and Devices 28 Albena, May 2011
Design and Security of Cryptographic Algorithms and Devices 29 Albena, May 2011
Design and Security of Cryptographic Algorithms and Devices 30 Albena, May 2011
www.coders4fun.com
C = f(A,B) D = f(A,B) If (C != D) then errorHandling(); EndIf;
ADD XOR AND CMP
Design and Security of Cryptographic Algorithms and Devices 31 Albena, May 2011
Design and Security of Cryptographic Algorithms and Devices 32 Albena, May 2011
Design and Security of Cryptographic Algorithms and Devices 33 Albena, May 2011
Design and Security of Cryptographic Algorithms and Devices 34 Albena, May 2011
Design and Security of Cryptographic Algorithms and Devices 35 Albena, May 2011
Design and Security of Cryptographic Algorithms and Devices 36 Albena, May 2011
Design and Security of Cryptographic Algorithms and Devices 37 Albena, May 2011
Enc(v) V 10 1 01 00 X 11 X
Dual Rail
a ¬a b ¬b q ¬q
Design and Security of Cryptographic Algorithms and Devices 38 Albena, May 2011
Design and Security of Cryptographic Algorithms and Devices 39 Albena, May 2011
Design and Security of Cryptographic Algorithms and Devices 40 Albena, May 2011