Almost Perfect Nonlinear (APN) Functions: Difference between revisions

From Boolean
No edit summary
No edit summary
Line 10: Line 10:


= Characterizations =
= Characterizations =
== Walsh transform<ref name="chavau1994">Florent Chabaud, Serge Vaudenay, ''Links between differential and linear cryptanalysis'', Workshop on the Theory and Application of Cryptographic Techniques, 1994 May 9, pp. 356-365, Springer, Berlin, Heidelberg</ref> ==
Any <math>(p,q)</math>-function <math>F</math> satisfies
<div><math>\sum_{a \in \mathbb{F}_{2^p}, b \in \mathbb{F}_{2^q}^*} W_F^4(a,b) \ge 2^{2p}(3 \cdot 2^{p+q} - 2^{q+1} - 2^{2p})</math></div>
with equality characterizing APN functions.


== Autocorrelation functions of the directional derivatives <ref name="bercanchalai2006"> Thierry Berger, Anne Canteaut, Pascale Charpin, Yann Laigle-Chapuy, ''On Almost Perfect Nonlinear Functions Over GF(2^n)'', IEEE Transactions on Information Theory, 2006 Sep,52(9),4160-70</ref> ==
== Autocorrelation functions of the directional derivatives <ref name="bercanchalai2006"> Thierry Berger, Anne Canteaut, Pascale Charpin, Yann Laigle-Chapuy, ''On Almost Perfect Nonlinear Functions Over GF(2^n)'', IEEE Transactions on Information Theory, 2006 Sep,52(9),4160-70</ref> ==

Revision as of 08:42, 18 January 2019

Background and definition

Almost perfect nonlinear (APN) functions are the class of (n,n) Vectorial Boolean Functions that provide optimum resistance to against differential attack. Intuitively, the differential attack against a given cipher incorporating a vectorial Boolean function F is efficient when fixing some difference δ and computing the output of F for all pairs of inputs (x1,x2) whose difference is δ produces output pairs with a difference distribution that is far away from uniform.

The formal definition of an APN function F:𝔽2n→𝔽2n is usually given through the values

ΔF(a,b)=|{x∈𝔽2n:F(x)+F(a+x)=b}|

which, for a≠0, express the number of input pairs with difference a that map to a given b. The existence of a pair (a,b)∈𝔽2n∗×𝔽2n with a high value of ΔF(a,b) makes the function F vulnerable to differential cryptanalysis. This motivates the definition of differential uniformity as

ΔF=max⁡{ΔF(a,b):a∈𝔽2n∗,b∈𝔽2n}

which clearly satisfies ΔF≥2 for any function F. The functions meeting this lower bound are called almost perfect nonlinear (APN).

Characterizations

Walsh transform[1]

Any (p,q)-function F satisfies

∑a∈𝔽2p,b∈𝔽2q∗WF4(a,b)≥22p(3⋅2p+q−2q+1−22p)

with equality characterizing APN functions.


Autocorrelation functions of the directional derivatives [2]

Given a Boolean function f:𝔽2n→𝔽2, the autocorrelation function of f is defined as

ℱ(f)=∑x∈𝔽2n(−1)f(x)=2n−2wt(f).

Any (n,n)-function F satisfies

∑λ∈𝔽2nℱ(Dafλ)=22n+1

for any a∈𝔽2n∗. Equality occurs if and only if F is APN.

This allows APN functions to be characterized in terms of the sum-of-square-indicator ν(f) defined as

ν(f)=∑a∈𝔽2nℱ2(DaF)=2−n∑a∈𝔽2nℱ4(f+φa)

for φa(x)=Tr(ax).

Then any (n,n) function F satisfies

∑λ∈𝔽2n∗ν(fλ)≥(2n−1)22n+1

and equality occurs if and only if F is APN.

Similar techniques can be used to characterize permutations and APN functions with plateaued components.

  1. ↑ Florent Chabaud, Serge Vaudenay, Links between differential and linear cryptanalysis, Workshop on the Theory and Application of Cryptographic Techniques, 1994 May 9, pp. 356-365, Springer, Berlin, Heidelberg
  2. ↑ Thierry Berger, Anne Canteaut, Pascale Charpin, Yann Laigle-Chapuy, On Almost Perfect Nonlinear Functions Over GF(2^n), IEEE Transactions on Information Theory, 2006 Sep,52(9),4160-70