Linear Cryptanalysis of Stream Ciphers
T-79.514 Special Course on Cryptology Seminar talk Emilia K¨ asper
1
Linear Cryptanalysis of Stream Ciphers T-79.514 Special Course on - - PowerPoint PPT Presentation
Linear Cryptanalysis of Stream Ciphers T-79.514 Special Course on Cryptology Seminar talk Emilia K asper 1 Overview Basic concept of correlation attacks on stream ciphers A correlation attack on the GSM cipher A5/1 A correlation
1
2
3
Correlated?
LFSR3 LFSR1 LFSR2 LFSR1
1
s t s t
2
s t
3 t
z 4
N
N
5
6
10 7 20 22 10 21 20 8 13 16 17 18
Clocking tap C1 Clocking tap C2
21
Clocking tap C3 Keystream
7
t = 64
itki + 22
itfi
t = ˆ
t + ˆ
t .
0 , ˆ
1 , . . . are unknown, but remain the same for
0 , ˆ
1 , . . . can be derived for each frame. 8
76 + s2 76 + s3 76 = z1,
76 + ˆ
76 + ˆ
76 = ˆ
76 + ˆ
76 + ˆ
76 + z1
(76,76,76,1)
76 + ˆ
76 + ˆ
76 = Oj (76,76,76,1)) =
9
cl1,cl2,cl3 = P(ˆ
cl1 + ˆ
cl2 + ˆ
cl3 = 0) =
cl1,cl2,cl3,v−100 = 0] +
10
v−cl1
v−cl2
v−cl3
m
cl1,cl2,cl3
cl1,cl2,cl3
cl1 + ˆ
cl2 + ˆ
cl3. 11
cli is the ith output bit of the LFSR R, when
cli, we can load them
12
13
14
LFSR1 LFSR2 LFSR3 LFSR4
xor
Keystream
1 2 2 2 2 2 3 3 2
31 33 39 25 Total: 128 bits
xor
x1
t
x2
t
x3
t
x4
t
c0
t
ct ct+1 zt z−1 z−1 T1 T2 yt st+1
15
s t
s t
2
s t
n
1
16
t.
t ⊕ c0 t−5 = 0) = 1
17
2 + ǫ.
18
19
20
l k−1 , where l is the number of rows in the matrix.
21
2 + 2k−1ǫk
2, i.e. the correlation gets weaker.
22