APN Permutations

From Boolean

Characterization of Permutations

Component Functions

An (n,n)-function F is a permutation if and only if all of its components Failed to parse (syntax error): {\displaystyle f_Ξ»} for Ξ»βˆˆπ”½2nβˆ— are balanced.

Autocorrelation Functions of the Directional Derivatives

For any boolean function f, we denote by β„±(f) the following value related to the Fourier (or Walsh) transform of f:

β„±(f)=βˆ‘xβˆˆπ”½2n(βˆ’1)f(x)=2nβˆ’2wt(f).

The characterization in terms of the component functions given above can be equivalently expressed as

βˆ‘aβˆˆπ”½2nβˆ—β„±(DafΞ»)=βˆ’2n

for any Failed to parse (syntax error): {\displaystyle Ξ»\in\mathbb{F}^*_{2^n}} .

Equivalently [1], F is a permutation if and only if

βˆ‘Ξ»βˆˆπ”½2nβˆ—β„±(DafΞ»)=βˆ’2n

for any aβˆˆπ”½2nβˆ—.

Characterization of APN Permutations

Up to CCZ-equivalence, all of the APN permutations known so far belong to a few families, namely:[2]

1. APN monomial functions in odd dimension.

2. One infinite family of quadratic polynomials in dimension 3n, with n odd and gcd(n,3)=1.[3]

3. Dillon's permutation in dimension 6.[4]

4. Two sporadic quadratic APN permutations in dimension 9.[5]

On the component functions

Clearly we have that no component function can be of degree 1. (This result is true for general APN maps)

For n even we have also that no component can be partially-bent[6]. This implies that, in even dimension, no component can be of degree 2.

Autocorrelation Functions of the Directional Derivatives

An (n,n)-function F is an APN permutation if and only if [1]

βˆ‘Ξ»βˆˆπ”½2nβˆ—β„±(DafΞ»)=βˆ’2n

and

βˆ‘Ξ»βˆˆπ”½2nβˆ—β„±2(DafΞ»)=22n

for any aβˆˆπ”½2nβˆ—.

On APN Power Functions

For n odd, all power APN functions and the known APN binomials are permutations. When n is even, no APN function exists in a class of permutations including power permutations.

Specifically:

If a power function F(x)=xd over 𝔽2n is APN, then for every xβˆˆπ”½2n we have xd=1 if and only if x3=1, that is, Fβˆ’1(1)=𝔽4βˆ©π”½2nβˆ—.

If n is odd, then gcd(d,2nβˆ’1)=1 and, if n is even, then gcd(d,2nβˆ’1)=3.

Consequently, APN power functions are permutations if n is odd, and are three-to-one over 𝔽2nβˆ— if n is even.[7]

APN Permutations and Codes

Any linear subspace C of 𝔽2n of dimension k is called a binary linear code of length n and dimension k and is denoted by [n,k,d], where d is the minimum Hamming distance of C.

Any linear [n,k,d]βˆ’code C is associated with its dual [n,nβˆ’k,dβŠ₯]βˆ’code, denoted by CβŠ₯ and defined as CβŠ₯={xβˆˆπ”½2n|cβ‹…x=0,βˆ€c∈C}.

Let β„‹ be a binary (rΓ—n) matrix. We say that a linear binary code C of length n is defined by the parity check matrix β„‹ if C={cβˆˆπ”½2n|cβ„‹t=0}, where β„‹t is the transposed matrix of β„‹.

APN (and AB) properties were expressed in terms of codes in [8]. In particular, we mention the following result:


Theorem. Let F be a function on 𝔽2m such that F(0)=0 and let CF be the Failed to parse (syntax error): {\displaystyle [2^m βˆ’ 1,k,d]-} code defined by the parity check matrix

β„‹F=(1Ξ±Ξ±2β‹―Ξ±2mβˆ’2F(1)F(Ξ±)F(Ξ±2)β‹―F(Ξ±2mβˆ’2))

where each entry is viewed as a binary vector and Ξ± is the primitive element of 𝔽2m. Then:

1. The code CF is such that 3≀d≀5.

2. F is APN if and only if d=5.

3. F is AB if and only if the weight of every codeword in CFβŠ₯ lies in {0,2mβˆ’1,2mβˆ’1Β±2mβˆ’1/2}.


A binary linear [2kβˆ’1,k,2kβˆ’1]βˆ’code C in 𝔽2n is called simplex. Simplex codes constitute a family of linear error-correcting or error-detecting block codes, easily implemented as polynomial codes (i.e. codes whose encoding and decoding algorithms may be conveniently expressed in terms of polynomials over a base field).

A 2kβˆ’dimensional code C is called a double simplex code if it can be written as a direct sum of two simplex [2kβˆ’1,k,2kβˆ’1]βˆ’codes. The following result provides a connection between APN permutations and double simplex codes:

Theorem.[9] Let F:𝔽2n→𝔽2n be APN, with F(0)=0.

F is CCZ-equivalent to an APN permutation if and only if CFβŠ₯ is a double simplex code, i.e. CFβŠ₯=C1βŠ•C2, where C1,C2 are simplex [2nβˆ’1,n,2nβˆ’1]βˆ’codes.

An APN Permutation in Dimension 6

In his paper [10], Hou conjectured that APN permutations did not exist in even dimension. He proved the following theorem that covers the case of n=4:

Let Fβˆˆπ”½2n[x] be a permutation polynomial with n=2m. Then:

1. If n=4, then F is not APN.

2. If Fβˆˆπ”½2m[x], then F is not APN.

The question of whether APN permutations exist in even dimension was a long-standing problem until, in 2009, Dillon presented an APN permutation (of algebraic degree nβˆ’2 and nonlinearity 2nβˆ’1βˆ’2n/2) in dimension 6.

This function is CCZ-equivalent to the Kim function ΞΊ(x)=x3+x10+ux24 (where u is a primitive element of 𝔽26) and it is given by the polynomial

g(x)=w45x60+w41x58+w43x57+w4x56+w50x54+w20x53+w45x52+w20x51+w23x50+w36x49+w56x48+w21x46+w5x45+w21x44
+w28x43+w3x42+w59x41+w58x40+w57x39+w53x38+w37x37+w40x36+w18x35+w41x34+w54x33+w3x32+w49x30+w41x29
+w42x28+w50x27+w53x26+w58x25+w9x24+x23+w28x22+w3x21+w21x20+w52x19+w60x17+w59x16+w10x15+w42x13
+w8x12+w35x11+w44x10+w45x8+w8x7+w61x6+w59x5+w20x4+w12x3+w37x2+w2x

where w=uβˆ’2.[4]

It was used later in the cryptosystem Fides[11], which has been subsequently broken due to its weaknesses in the linear component.

Dillon's function is also EA-equivalent to an involution and it is studied further in the introduction of the butterfly construction[12]. Unfortunately, this construction does not allow obtaining APN permutations in more than six variables[13].

The Big Open APN Problem

The question of existence of APN permutations in even dimension nβ‰₯8 remains open. There exist nonexistent results within the following classes:

1. Plateaued functions (when APN, they have bent components);

2. A class of functions including power functions;

3. Functions whose univariate representation coefficients lie in 𝔽2n/2, or in 𝔽24 for n divisible by 4; [10]

4. Functions whose univariate representation coefficients satisfy βˆ‘i=0(2nβˆ’1)/3a3i=0; [14]

5. Functions having at least one partially-bent component[6].

References

  1. ↑ 1.0 1.1 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
  2. ↑ Bartoli, D., Timpanella, M. On a conjecture on APN permutations. Cryptogr. Commun. 14, 925–931 (2022)
  3. ↑ Budaghyan, L., Carlet, C., Leander, G.: Two classes of quadratic APN binomials inequivalent to power functions. IEEE Trans. Inf. Theory 54(9), 4218–4229 (2008)
  4. ↑ 4.0 4.1 Browning, K., Dillon, J.F., McQuistan, M., Wolfe, A.J.: An APN permutation in dimension six. In: Post-proceedings of the 9-th International conference on Finite Fields and their applications, American Mathematical Society, vol. 518, pp. 33–42 (2010)
  5. ↑ Beierle, C., Leander, G.: New instances of quadratic APN functions, arXiv:2009.07204 (2020)
  6. ↑ 6.0 6.1 Marco Calderini, Massimiliano Sala, Irene Villa, A note on APN permutations in even dimension, Finite Fields and Their Applications, vol. 46, 1-16, 2017
  7. ↑ H. Dobbertin. Private Communication, 1998.
  8. ↑ Carlet, Claude & Charpin, Pascale & Zinoviev, Victor. (1998). Codes, Bent Functions and Permutations Suitable For DES-like Cryptosystems. Designs, Codes and Cryptography, vol. 15, p. 125-156.
  9. ↑ Browning, K.A. & Dillon, J.F. & Kibler, R.E. & McQuistan, M.T.. (2009). APN polynomials and related codes. Journal of Combinatorics, Information & System Sciences. 34.
  10. ↑ 10.0 10.1 X.-D. Hou. Affinity of Permutations of 𝔽2n. Proceedings of Workshop on Coding and Cryptography WCC 2003, pp. 273-280, 2003. Completed version in Discrete Applied Mathematics 154 (2), pp. 313-325, 2006.
  11. ↑ B. Bilgin, A. Bogdanov, M. Knezevic, F. Mendel and Q. Wang. Fides: lightweight authenticated cipher with side-channel resistance for constrained hardware. Proceedings of International Workshop Cryptographic Hardware and Embedded Systems CHES 2013, Lecture Notes in Computer Science 8086, pp. 142-158, 2013.
  12. ↑ L. Perrin, A. Udovenko, A. Biryukov. Cryptanalysis of a theorem: decomposing the only known solution to the big APN problem. Proceedings of CRYPTO 2016, Lecture Notes in Computer Science 9815, part II, pp. 93-122, 2016.
  13. ↑ L. Perrin, A. Canteaut, S. Tian. If a generalized butterfly is APN then it operates on 6 bits. Special Issue on Boolean Functions and Their Applications 2018, Cryptography and Communications 11 (6), pp. 1147-1164, 2019.
  14. ↑ A. Canteaut. Differential cryptanalysis of Feistel ciphers and differentially uniform mappings. Proceedings of Selected Areas on Cryptography, SAC 1997, pp. 172-184, 1997.