Symmetric Key Cryptography
PQCRYPTO Summer School on Post-Quantum Cryptography 2017
Stefan Kölbl June 19th, 2017
DTU Compute, Technical University of Denmark
Symmetric Key Cryptography Introduction to Symmetric Key - - PowerPoint PPT Presentation
PQCRYPTO Summer School on Post-Quantum Cryptography 2017 Stefan Klbl June 19th, 2017 DTU Compute, Technical University of Denmark Symmetric Key Cryptography Introduction to Symmetric Key Cryptography Myth Where does security fail?
DTU Compute, Technical University of Denmark
1
1
1
1
1
2
3
4
5
6
7
8
9
10
11
12
12
12
13
14
15
16
16
17
1,2 a a a a a 1,1 a a a 2,1 a a a a a a 0,0 a 0,1 0,2 0,3 1,0 1,3 2,0 2,2 2,3 3,0 a 3,1 3,2 3,3 b 2,1 1,2 b b b b b b b b b b b b b b b 0,0 0,1 0,2 0,3 1,0 1,1 1,3 2,0 2,2 2,3 3,0 3,1 3,2 3,3 SubBytes S
18
ShiftRows a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a No change Shift 1 Shift 2 Shift 3 0,0 0,1 0,2 0,3 1,0 1,1 1,2 1,3 1,1 1,2 1,3 1,0 0,0 0,1 0,2 0,3 2,0 2,1 2,2 2,3 2,0 2,1 2,2 2,3 3,0 3,1 3,2 3,3 3,0 3,1 3,2 3,3
18
1,2 a a a a a 1,1 a a a 2,1 a a a a a a 0,0 a 0,1 0,2 0,3 1,0 1,3 2,0 2,2 2,3 3,0 a 3,1 3,2 3,3 b 1,2 b b b b b b b 2,1 b b b b b 0,0 b0,1 0,2 0,3 1,0 b 1,1 1,3 2,0 2,2 2,3 3,0 b 3,1 3,2 3,3 MixColumns
18
2,1 1,2 1,1 a a a a a a a a a a a a a a a a 0,0 0,1 0,2 0,3 1,0 1,3 2,0 2,2 2,3 3,0 3,1 3,2 3,3 k k k k k k k k k k 2,1 k k k k k k 0,0 0,1 0,2 0,3 1,0 1,1 1,2 1,3 2,0 2,2 2,3 3,0 3,1 3,2 3,3 b 2,1 1,2 b b b b b b b b b b b b b b b 0,0 0,1 0,2 0,3 1,0 1,1 1,3 2,0 2,2 2,3 3,0 3,1 3,2 3,3 AddRoundKey
18
19
20
21
22
23
24
25
26
”There was of course no way of knowing whether you were being watched at any given moment. How often, or
individual wire was guesswork. It was even conceivable that they watched everybody all the time. But at any rate they could plug in your wire whenever they wanted
instinct – in the assumption that every sound you made was overheard, and, except in darkness, every movement scrutinized.”
27
”There was of course no way of knowing whether you were being watched at any given moment. How often, or
individual wire was guesswork. It was even conceivable that they watched everybody all the time. But at any rate they could plug in your wire whenever they wanted
instinct – in the assumption that every noise you made was overheard, and, except in darkness, every movement scrutinized.”
28
29
30
31
32
33
33
34
35
35
35
36
36
37
38
Ai Bi Ci Di Ei ≪ 5 ≪ 30 Fi Ei+1 Di+1 Ci+1 Bi+1 Ai+1 Wi Ki
39
Ai Bi Ci Di Ei Fi Gi Hi
If Σ1 Maj Σ0
Hi+1 Gi+1 Fi+1 Ei+1 Di+1 Ci+1 Bi+1 Ai+1 Wt Kt
40
41
42
42
42
43
1http://keccak.noekeon.org/crunchy_contest.html
44
2https://www.imperialviolet.org/2017/05/31/skipsha3.html 3http://keccak.noekeon.org/is_sha3_slow.html 4https://tools.ietf.org/html/draft-viguier-kangarootwelve-00
45
46
46
47
48
49
50