i
i
“main-v1” — 2012/4/28 — 9:15
i
i
i
i
i
i
Design of Stream Ciphers 131
For example, the coefficients of x
1
x
2
and x
1
x
4
, i.e., the RMT spectra, are
computed as
f
12
= f(0, 0, 0, 0, 0) + f(0, 1, 0, 0, 0) + f (0, 0, 1, 0, 0) + f(0, 1, 1, 0, 0) = 1
f
14
= f(0, 0, 0, 0, 0) + f(0, 1, 0, 0, 0) + f (0, 0, 0, 0, 1) + f(0, 1, 0, 0, 1) = 0.
3.7.2 RMT Spectrum Used in AIDA/Cube Attacks
For a stream cipher, a key stream bit can be considered as a boolean function
in n variables of IV, denoted as x = (x
0
, ··· , x
n−1
), x
i
∈ F
2
and key in m
variables, denoted as k = (k
0
, ··· , k
m−1
), k
i
∈ F
2
. In other words, we can
write a key stream bit s
i
as s
i
= F (x, k) for simplicity. The RMT of F is
given by
F (x, k) =
X
I,J
F
I,J
x
i
1
···x
i
t
k
j
1
···k
j
u
(3.5)
summing up for all I = {i
1
, ··· , i
t
} ⊂ Z
n
and