The lemma Piling-Up is a statistical result introduced by Mitsuru Matsui in 1993 within the framework of the linear Cryptanalyse. This lemma makes it possible to quantify statistical skew present in a linear approximation of a symmetrical encryption algorithm per block.

Mathematical formulation

A linear equation within the framework of the linear cryptanalyse is appeared as exclusive-OR binary variables:

X_1 \ oplus X_2 \ oplus… \ oplus X_N = 0

Either N~ random variable, independent and binary (the result of the event is or 0, or 1), X_1, X_2,…, X_N~, probability that this equation or correct is:

P (X_1 \ oplus X_2 \ oplus… \ oplus X_N = 0) = 1/2 + 2^ {N-1} \ prod_ {i=1} ^ {NR} \ epsilon_i

with \ epsilon_i~, the linear skew of the random variable X_i~. This skew can be positive or negative and quantifies the variation compared to a uniform Distribution where the hope of a binary random variable is 1/2. The more important skew is, the more one encryption algorithm is likely to be attacked via the linear cryptanalyse.

Reasoning

Either P (A)~, the probability that the event has arrives. With a probability of 1, the event will occur. Conversely, a probability of 0 indicates the impossibility of this event. Within the framework of the Piling-Up lemma, we thus have business with random variables, binary and considered as independent.

Let us consider initially the lemma for two random variables:

P (X_1 = I) = \ left \ lbrace \ begin {matrix} p_1 & \ hbox {for} i=0 \ \ 1-p_1 & \ hbox {for} i=1 \ end {matrix} \ right.

P (X_2 = J) = \ left \ lbrace \ begin {matrix} p_2 & \ hbox {for} j=0 \ \ 1-p_2 & \ hbox {for} j=1 \ end {matrix} \ right.

Now let us consider the probability of a linear equation with these two variables:

P (X_1 \ oplus X_2 = 0)

Thanks to the properties of XOR, this is equivalent to:

P (X_1=X_2) ~

X 1 = X 2 = 0 and X 1 = X 2 = 1 is events mutually excluded and from this fact:

P (X_1=X_2) =P (X_1=X_2=0) + P (X_1=X_2=1) =P (X_1=0, X_2=0) + P (X_1=1, X_2=1) ~

We leave consequently the principle which the variables are independent. I.e. the state of a variable will not influence the state of another. One can thus extend the probability to the following result:

We express now the probabilities p 1 and p 2 like ½ + ε1 and ½ + ε2, where the ε are skews of probabilities - the quantity of deviation of the probability compared to ½.

Thus, skew ε1,2 for the sum of XOR above is of 2ε1ε2.

This formula can extend for an infinite number of variables as follows:

P (X_1 \ oplus X_2 \ oplus \ cdots \ oplus X_n=0) =1/2+2^ {n-1} \ prod_ {i=1} ^n \ epsilon_i

If a ε is to zero, i.e. one of the variables not-is skewed, then the whole of the function will not be skewed and equalizes with ½.

See too

  • Cryptanalyse differential

Random links:Dražan Jerković | Ceridwen (first name) | Roll | Saola | Ivvavik national park

© 2007-2008 speedlook.com; article text available under the terms of GFDL, from fr.wikipedia.org