New MILP Modelings for Symmetric-Key Primitives
Christina Boura
(Joint-work with Daniel Coggia) University of Versailles and Inria de Paris
August 6, 2020
1 / 43
New MILP Modelings for Symmetric-Key Primitives Christina Boura - - PowerPoint PPT Presentation
New MILP Modelings for Symmetric-Key Primitives Christina Boura (Joint-work with Daniel Coggia) University of Versailles and Inria de Paris August 6, 2020 1 / 43 Symmetric-key encryption Alice and Bob share the same secret key for encryption
1 / 43
Decryption Encryption
1 Stream ciphers 2 Block ciphers 3 Hash functions 2 / 43
3 / 43
4 / 43
5 / 43
6 / 43
7 / 43
S S S S
m k1
S S S
k2
S S
k3
S S S S
k4 k5 c
S S S S
8 / 43
9 / 43
10 / 43
x0 x4 x8 x12 x1 x5 x9 x13 x2 x3 x6 x10 x14 x7 x11 x15
R
x16 x20 x24 x28 x17 x21 x25 x29 x18 x19 x22 x26 x30 x23 x27 x31
R
11 / 43
12 / 43
13 / 43
13 / 43
13 / 43
13 / 43
1 Convex hull approach 2 Logical condition modeling 14 / 43
15 / 43
16 / 43
17 / 43
1 Find many good inequalities (the prime implicants in the QM
2 Keep among them a good representative set. 18 / 43
1 First interesting method for 8-bit Sboxes 2 Good results for some Sboxes (e.g. SKINNY-128)
19 / 43
20 / 43
21 / 43
1 Different new methods for efficiently modeling large Sboxes. 2 New better modelings for linear layers. 22 / 43
New Sbox Modelings
23 / 43
New Sbox Modelings Convex Hull Techniques
24 / 43
New Sbox Modelings Convex Hull Techniques
25 / 43
New Sbox Modelings Convex Hull Techniques
26 / 43
New Sbox Modelings Logical condition techniques for 8-bit SBoxes
27 / 43
New Sbox Modelings Logical condition techniques for 8-bit SBoxes
28 / 43
New Sbox Modelings Logical condition techniques for 8-bit SBoxes
1 Finding all prime implicants of the function. 2 Use a prime implicant chart to find the prime implicants that are
29 / 43
New Sbox Modelings Covering the space with balls
c = (1, 0, 0, 0)
b
(0, 0, 0, 0)
b
(1, 1, 0, 0)
b
(1, 0, 1, 0)
b
(1, 0, 0, 1)
b
c = (1, 0, 0, 0)
bc
(0, 0, 0, 0) (1, 1, 0, 0)
b
(1, 0, 1, 0)
b
(1, 0, 0, 1)
bc
30 / 43
New Sbox Modelings Covering the space with balls
b b b b b b b b b b b
31 / 43
New Sbox Modelings Covering the space with balls
32 / 43
New Sbox Modelings Covering the space with balls
33 / 43
New Sbox Modelings Covering the space with balls
34 / 43
New Sbox Modelings Covering the space with balls
35 / 43
New linear-layer modelings
36 / 43
New linear-layer modelings
37 / 43
New linear-layer modelings
38 / 43
New linear-layer modelings
39 / 43
New linear-layer modelings
40 / 43
New linear-layer modelings
41 / 43
Conclusion
42 / 43
Conclusion
r rounds
43 / 43
Conclusion
r rounds
43 / 43