Next Article in Journal
Self-Consistency Equations for Composite Operators in Models of Quantum Field Theory
Next Article in Special Issue
Implication of Lightweight and Robust Hash Function to Support Key Exchange in Health Sensor Networks
Previous Article in Journal
Analysis of the Melting Time of Phase Change Material in a Heat Exchanger with Sinusoidal Inner Duct
Previous Article in Special Issue
Application of DNA Coding, the Lorenz Differential Equations and a Variation of the Logistic Map in a Multi-Stage Cryptosystem
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

New Differentially 4-Uniform Piecewise Permutations over F22k from the Inverse Function

School of Information Engineering, Ningxia University, Yinchuan 750021, China
*
Author to whom correspondence should be addressed.
Symmetry 2023, 15(1), 131; https://doi.org/10.3390/sym15010131
Submission received: 15 November 2022 / Revised: 1 December 2022 / Accepted: 20 December 2022 / Published: 2 January 2023
(This article belongs to the Special Issue Symmetry and Asymmetry in Cryptography)

Abstract

:
Permutations with low differential uniformity, high nonlinearity and high algebraic degree over F 2 2 k are preferred substitution boxes in modern block ciphers. In this paper, we study the bijectivity and the difference uniformity of piecewise function with the help of permutation group theory. Based on our results, We found many at least differentially 6-uniform and differentially 4-uniform permutations over F 2 2 k , which can be chosen as the substitution boxes.

1. Introduction

Modern block cipher is an important way to ensure information security in various environments [1,2]. The substitution boxes (S-boxes) with good cryptographic properties play a crucial role in modern block ciphers. S-boxes with good cryptographic properties must have low differential uniformity [3], high nonlinearity [4] and high algebraic degree [5] to resist differential attacks, linear attacks and higher-order differential attacks, respectively. In practice, permutations over F 2 n with even n are used as S-boxes.
A function f from F 2 n to itself is called differentially δ -uniform and δ is called the differential uniformity of f if the equation f ( x + a ) + f ( x ) = b has at most δ solutions for every nonzero a and every b in F 2 n . In particular, a differentially 2-uniform function is called almost perfect nonlinear (APN). APN functions have the theoretical lowest differential uniformity and the strongest resistance to differential attacks. However, finding APN permutations over F 2 n for even n 8 is a famous open problem, i.e., the big APN problem. Then, differentially 4-uniform permutations are often chosen as S-boxes.
A lot of work has been devoted to find new differentially 4-uniform permutations over F 2 n with even n. The switching method proposed by Claude Carlet [6] is an efficient way to construct differentially 4-uniform permutations. Several classes of differential 4-uniformity permutations have been constructed using the switching method [6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28]. Differential 4-uniformity permutations based on the switch method can be expressed as piecewise functions, i.e.,
f ( x ) = g 1 ( x ) , x U g 2 ( x ) , x U ,
where g 1 and g 2 are known permutations over F 2 n , and U is a specific subset of F 2 n . In most existing work, the subset U is either obtained from the subfield of F 2 n [6,7,8,9,10,11,12,13,14,15,16,17] or a small subset F 2 n [18,19,20,21,22]. In other words, the subset U has special properties, and is not general.
In this paper, we focus on the conditions of the subset U in Equation (1) such that f is a permutation with low differential uniformity. First, we study the bijectivity and the difference uniformity of f from known g 1 and g 2 based on permutation group theory. Then, we construct at least differentially 6-uniform and differentially 4-uniform piecewise permutations from the inverse function and a function that is affine equivalent to the inverse function, and present the algorithm for constructing differentially 4-uniform piecewise permutations over F 2 2 k from the inverse function. Finally, we discuss the number of at least differentially 6-uniform piecewise permutations, and calculate the differential spectrum and extend Walsh spectrum of some differentially 4-uniform piecewise permutations. The main contributions of this paper are as follows:
  • Based on permutation group theory, we determine the conditions for constructing piecewise permutations with low difference uniformity from known permutations.
  • Based on our results, we construct many at least differentially 6-uniform and differentially 4-uniform piecewise permutations over F 2 2 k from the inverse function.
The rest of this paper is as follows. Section 2 presents necessary notations and results. Section 3 studies the bijectivity and the difference uniformity of piecewise functions from known permutations. Section 4 constructs at least differentially 6-uniform and differentially 4-uniform piecewise permutations over F 2 2 k from the inverse function. Section 5 presents some numerical results on our construction. The last section is the conclusions of this paper.

2. Preliminaries

Given a positive integer n, let F 2 n denote the finite field of order 2 n ; and let F 2 n denote the set of nonzero elements in F 2 n . We will use a + b and a b to denote the sum and the product of a and b in F 2 n , respectively.
The finite field F 2 n can be identified with the vector space F 2 n . The elements of F 2 n can be written as the integers in the range from 0 to 2 n 1 with the element ( x 1 , , x n ) in F 2 n corresponding to the integer i = 1 n x i 2 n i . In this sense, F 2 n = { 0 , 1 , , 2 n 1 } .
Let F F 2 n denote the set of all functions from F 2 n to itself; and let S F 2 n denote the set of all permutations of F 2 n . For f , g F F 2 n , let f g denote the composition of f and g, i.e., f g ( x ) = f ( g ( x ) ) for every x F 2 n . The set F F 2 n with composition forms a monoid, and S F 2 n with composition forms a group, which is called the symmetric group on F 2 n [29].
For f F F 2 n , we can identify a polynomial of degree 2 n 1 over F 2 n with f, i.e.,
f ( x ) = i = 0 2 n 1 a i x i for every x F 2 n .
Definition 1. 
For f F F 2 n , the differential uniformity of f is defined by
δ ( f ) = max a F 2 n , b F 2 n | Δ f ( a , b ) | ,
where
Δ f ( a , b ) = { x F 2 n : f ( x + a ) + f ( x ) = b } .
The multi-set { | Δ f ( a , b ) | : a F 2 n , b F 2 n } is called the differential spectrum of f.
Definition 2. 
For f F F 2 n , the nonlinearity of f is defined by
n l ( f ) = 2 n 1 1 2 max a F 2 n , b F 2 n | W f ( a , b ) | ,
where
W f ( a , b ) = x F 2 n ( 1 ) a · x + b · f ( x ) .
The multi-set { | W f ( a , b ) | : a F 2 n , b F 2 n } is called the extended Walsh spectrum of f.
For f , g F F 2 n , we say that they are affine equivalent if there exist affine permutations h 1 , h 2 such that g ( x ) = h 1 ( f ( h 2 ( x ) ) ) for every x F 2 n ; we say that they are extended affine (EA) equivalent if there exist affine permutations h 1 , h 2 and an affine function h 3 such that g ( x ) = h 1 ( f ( h 2 ( x ) ) ) + h 3 ( x ) for every x F 2 n ; and we say that they are Carlet–Charpin–Zinoviev (CCZ) equivalent [30] if the graphs { ( x , y ) F 2 n × F 2 n : y = f ( x ) } and { ( x , y ) F 2 n × F 2 n : y = g ( x ) } are affine equivalent.
It is known that differential uniformity and nonlinearity are affine, EA and CCZ invariant, the algebraic degree is affine and EA invariant but not CCZ invariant, and the bijectivity is affine invariant but neither EA nor CCZ invariant. In addition, a permutation and its inverse are CCZ equivalent [31].
If G S F 2 n , i.e., G is a permutation group, then G acts on F 2 n [29].
For x F 2 n and G S F 2 n , the orbit of x under G is denoted by x G = { g ( x ) : g G } .
For X F 2 n and G S F 2 n , denote X G = { g ( x ) : x X , g G } ; and X is called to be invariant under G if X G = X . It is known that any invariant subset of F 2 n under G is a union of orbits of G.
For X F 2 n and f S F 2 n , denote X f = { f ( x ) : x X } . If X f = X , then X f k = X for all integer k. In other words, X is invariant under the cyclic group generated by f. Then, X is a union of orbits of the cyclic group generated by f.
We will use i d to denote the identity function i d ( x ) = x , x F 2 n .
We will use p to denote the inverse function p ( x ) = x 2 n 2 , x F 2 n . It is obvious that p S F 2 n and p 2 = i d . We will also use 1 x to denote p ( x ) when x 0 .
We will use t r to denote the trace function
t r ( x ) = i = 0 n 1 x 2 i , x F 2 n .
For a F 2 n , we will use m a to denote the linear function m a ( x ) = a x , x F 2 n . It is obvious that m a S F 2 n , m a 1 = m 1 a , m a p m a = p for all a F 2 n , m a 1 m a 2 = m a 2 m a 1 = m a 1 a 2 for all a 1 , a 2 F 2 n ,
For b F 2 n , we will use t b to denote the affine function t b ( x ) = x + b , x F 2 n . It is obvious that t b S F 2 n , t b 1 = t b , h t b h 1 = t h ( b ) for all b F 2 n and linear permutation h, t b 1 t b 2 = t b 2 t b 1 = t b 1 + b 2 for all b 1 , b 2 F 2 n .
For X F 2 n , we will use X ¯ to denote the complement of X in F 2 n .
We will use ω to denote the solution of equation x 2 + x + 1 = 0 in F 2 n with even n.

3. Piecewise Permutations

In this section, we study the bijectivity and the difference uniformity of piecewise functions from known permutations.
First, we consider the bijectivity of f in Equation (1).
Proposition 1. 
For g 1 , g 2 S F 2 n and U F 2 n , let f is defined by
f ( x ) = g 1 ( x ) , x U g 2 ( x ) , x U ¯ .
Then, f S F 2 n if U g 2 1 g 1 = U .
Proof. 
For g S F 2 n and U F 2 n , let g U is defined by
g U ( x ) = g ( x ) , x U x , x U ¯ .
It can be verified that g U S F 2 n if U g = U .
Denote g = g 2 1 g 1 , then f = g 2 g U S F 2 n . □
There is a conclusion similar to Proposition 1. In [27], f S F 2 n if U is a union of some cycle sets of g 1 related to g 2 . It can be seen that the so-called cyclic sets is actually the orbits of the cyclic group generated by g 2 1 g 1 .
It is difficult to determine the differential uniformity of f in Equation (1) if both g 1 and g 2 are arbitrary permutations. Next, we consider the case that g 1 and g 2 are affine equivalent.
Proposition 2. 
For g S F 2 n , c 0 , c 1 F 2 n , U F 2 n , U g 1 t c 1 g t c 0 = U , let f is defined by
f ( x ) = t c 1 g t c 0 ( x ) , x U g ( x ) , x U ¯ .
Then, f S F 2 n and
| Δ f ( a , b ) | | Δ g ( a , b ) | + | Δ g ( a + c 0 , b + c 1 ) |
for every a , b F 2 n if U t c 0 = U .
Proof. 
By Proposition 1, we have f S F 2 n .
When x + a U and x U , i.e., x U ¯ t a U ¯ , we have
Δ f ( a , b ) = { x F 2 n : g ( x + a ) + g ( x ) = b } = Δ g ( a , b ) ;
when x + a U and x U , i.e., x U t a U , we have
Δ f ( a , b ) = { x F 2 n : g ( x + c 0 + a ) + c 1 + g ( x + c 0 ) + c 1 = b } = Δ g t c 0 ( a , b ) ;
when x + a U and x U , i.e., x U t a U ¯ , we have
Δ f ( a , b ) = { x F 2 n : g ( x + c 0 + a ) + c 1 + g ( x ) = b } = Δ g ( a + c 0 , b + c 1 ) ;
when x + a U and x U , i.e., x U ¯ t a U , we have
Δ f ( a , b ) = { x F 2 n : g ( x + a ) + g ( x + c 0 ) + c 1 = b } = Δ g t c 0 ( a + c 0 , b + c 1 ) .
Denote
Q f ( a , b ) = ( U ¯ t a U ¯ Δ g ( a , b ) ) ( U t a U Δ g t c 0 ( a , b ) ) , R f ( a , b ) = ( U t a U ¯ Δ g ( a + c 0 , b + c 1 ) ) ( U ¯ t a U Δ g t c 0 ( a + c 0 , b + c 1 ) ) ,
then
Q f ( a , b ) R f ( a , b ) = , Q f ( a , b ) R f ( a , b ) = Δ f ( a , b ) ,
for every a , b F 2 n .
Given a , b F 2 n , if a = 0 or c 0 , then Δ g t c 0 ( a , b ) = Δ g ( a , b ) and Δ g t c 0 ( a + c 0 , b + c 1 ) = Δ p ( a + c 0 , b + c 1 ) , thus Q f ( a , b ) Δ g ( a , b ) and R f ( a , b ) Δ g ( a + c 0 , b + c 1 ) . It is obvious that Equation (3) holds.
Given a , b F 2 n , if a 0 and c 0 , then U t c 0 = U implies that U ¯ t c 0 = U ¯ , ( U t a ) t c 0 = U t a , and ( U ¯ t a ) t c 0 = U ¯ t a . If we show that x Q f ( a , b ) implies that x + c 0 Q f ( a , b ) and x R f ( a , b ) implies that x + c 0 R f ( a , b ) , then
| Q f ( a , b ) | 1 2 | Δ g ( a , b ) Δ g t c 0 ( a , b ) | | Δ g ( a , b ) | , | R f ( a , b ) | 1 2 | Δ g ( a + c 0 , b + c 1 ) Δ g t c 0 ( a + c 0 , b + c 1 ) | | Δ g ( a + c 0 , b + c 1 ) | ,
it means that Equation (3) holds.
If x Q f ( a , b ) , then either x U ¯ t a U ¯ Δ g ( a , b ) or x U t a U Δ g t c 0 ( a , b ) .
For x U ¯ t a U ¯ Δ g ( a , b ) , x U ¯ t a U ¯ implies that x + c 0 U ¯ t a U ¯ , i.e., x + c 0 U t a U Δ p t c 0 ( a , b ) ; and x Δ g ( a , b ) and a 0 , c 0 implies that x + c 0 Δ g ( a , b ) , i.e., x + c 0 U ¯ t a U ¯ Δ g ( a , b ) , thus x + c 0 Q f ( a , b ) .
For x U t a U Δ p t c 0 ( a , b ) , x U t a U implies that x + c 0 U t a U , i.e., x + c 0 U ¯ t a U ¯ Δ g ( a , b ) ; and x Δ g t c 0 ( a , b ) and a 0 , c 0 implies that x + c 0 Δ g t c 0 ( a , b ) , i.e., x + c 0 U t a U Δ g t c 0 ( a , b ) , thus x + c 0 Q f ( a , b ) .
In both cases, x Q f ( a , b ) implies that x + c 0 Q f ( a , b ) .
Similarity, x R f ( a , b ) implies that x + c 0 R f ( a , b ) .
In summary, this theorem holds. □
By Proposition 2, f in Equation (2) is at least differentially 2 δ -uniform if g is differentially δ -uniform. Specifically, we can obtain differentially 4-uniform permutations from APN permutations.

4. Differentially 4-Uniform Piecewise Permutations from the Inverse Function

Based on Proposition 1 and 2, we construct differentially 4-uniform piecewise permutations over F 2 2 k from the inverse function in this section.
Definition 3. 
For c F 2 2 k , U F 2 2 k , U p t c p t 1 = U and 0 U , let f is defined by
f ( x ) = t c p t 1 ( x ) , x U p ( x ) , x U ¯ .
Proposition 3. 
For g S F 2 2 k , c 0 , c 1 F 2 2 k , c 0 and c 1 are not simultaneously equal to zero, U F 2 2 k , U g 1 t c 1 g t c 0 = U , let f g is defined by
f g ( x ) = t c 1 g t c 0 ( x ) , x U g ( x ) , x U ¯ .
Then, f g and f in Definition 3 are CCZ equivalent if g and p are affine equivalent.
Proof. 
If g and p are CCZ are affine equivalent, then there exist linear permutations h 0 , h 1 , and d 0 , d 1 F 2 2 k such that g = h 1 t d 1 p h 0 t d 0 , i.e., t d 1 h 1 1 g t d 0 h 0 1 = p . Thus,
t d 1 h 1 1 f g t d 0 h 0 1 ( x ) = t h 1 1 ( c 1 ) p t h 0 ( c 0 ) ( x ) , x U t d 0 h 0 1 p ( x ) , x U ¯ t d 0 h 0 1 .
It is trivial that f g = g if c 0 = 0 and c 1 = 0 .
When c 0 0 , we have h 0 ( c 0 ) 0 and
m h 0 ( c 0 ) t d 1 h 1 1 f g t d 0 h 0 1 m h 0 ( c 0 ) ( x ) = t c p t 1 ( x ) , x U m 1 h 0 ( c 0 ) t c 3 p ( x ) , x U ¯ m 1 h 0 ( c 0 ) t c 3 ;
and when c 1 0 , we have h 1 1 ( c 1 ) 0 and
m h 1 1 ( c 1 ) t d 1 h 1 1 f g t d 0 h 0 1 m h 1 1 ( c 1 ) ( x ) = t 1 p t c ( x ) , x U m 1 h 1 1 ( c 1 ) t c 3 p ( x ) , x U ¯ m 1 h 1 1 ( c 1 ) t c 3 ,
where c = h 0 ( c 0 ) h 1 1 ( c 1 ) .
Note that the inverse of f in Definition 3 is given by
f 1 ( x ) = t 1 p t c ( x ) , x U p p ( x ) , x U ¯ p .
In addition, if 0 U , i.e., 0 U ¯ , then
t c f t 1 ( x ) = p ( x ) , x U t 1 t c p t 1 ( x ) , x U ¯ t 1 .
Therefore, f g and f in Definition 3 are CCZ-equivalent because a permutation and its inverse are CCZ equivalent. □
By Proposition 3, f in Definition 3 and every non-trivial piecewise permutation from a permutation that is affine equivalent to the inverse function in Equation (2) are CCZ-equivalent. Then, we focus on permutations in Definition 3.
Theorem 1. 
Let f be defined by Definition 3. Then, f is at least differentially 6-uniform if U t 1 = U .
Proof. 
It can be verified that
Δ p ( a , b ) = F 2 2 k , a = 0 , b = 0 , , a = 0 , b 0 , , a 0 , b = 0 , { 0 , a , a ω , a ω 2 } , a 0 , b = 1 a , { λ , λ + a } , a 0 , b 0 , 1 a , t r ( 1 a b ) = 0 , , a 0 , b 0 , 1 a , t r ( 1 a b ) = 1 ,
for every a , b F 2 2 k .
Obviously, there are 6 cases for Δ p ( a , b ) .
By Equation (3), we need to consider 6 × 6 cases to determine the value of | Δ f ( a , b ) | for every a , b F 2 2 k .
Note that f is permutation. Then, we only need to consider 3 × 6 cases where a b 0 to determine the differential uniformity of f.
Additionally, U t 1 = U implies that U t 1 U ¯ = and U ¯ t 1 U = , it means that Δ f ( a , b ) = Q f ( a , b ) Δ p ( a , b ) for a = 1 . Then, we only need to consider 12 cases where a b 0 and a 1 to determine the differential uniformity of f.
Denote
H c = { x F 2 2 k : x 0 , 1 , p ( c ) , 1 x + 1 + 1 x c , t r ( 1 ( x + 1 ) ( 1 x + c ) ) = 0 } .
It can be verified that | Δ f ( a , b ) | 4 for all a b 0 and a 1 except for the following three cases:
Case 1. 
a 0 , b = 1 a , a + 1 0 , b + c 0 , 1 a + 1 , t r ( 1 ( a + 1 ) ( b + c ) ) = 0 , it means that a H c and b = 1 a ;
Case 2. 
a 0 , b 0 , 1 a , t r ( 1 a b ) = 0 , a + 1 0 , b + c = 1 a + 1 , it means that a H c t 1 and b = 1 a + 1 + c ;
Case 3. 
a 0 , b = 1 a , a + 1 0 , b + c = 1 a + 1 , it means that a 0 , 1 , p ( c ) , p ( c ) + 1 , 1 a + 1 + 1 a = c , and b = 1 a .
It can be seen that | Δ f ( a , b ) | 6 for Cases 1 and 2, and | Δ f ( a , b ) | 8 for Case 3. Then, we only need to show that | Δ f ( a , b ) | < 8 for Case 3 to prove that f is at least differentially 6-uniform.
As in Proposition 2, for Case 3, we have 0 Δ p ( a , b ) and 0 Δ p ( a + 1 , b + c ) ; then, 0 or 1 Q f ( a , b ) implies that 0 and 1 R f ( a , b ) , and 0 or 1 R f ( a , b ) implies that 0 and 1 Q f ( a , b ) ; thus, only one of 0 and 1 belongs to Δ f ( a , b ) ; therefore, | Δ f ( a , b ) | 4 + 4 2 + 4 + 4 2 1 < 8 .
In summary, this theorem holds. □
By Theorem 1, we can obtain different at least differentially 6-uniform permutation from the inverse function from different U for a given c. Next, we show how to construct U satisfying the condition of Theorem 1.
Remark 1 
(The construction of U). By Theorem 1, we have U p t c p t 1 and U t 1 . Then, U is invariant under the group generated by p t c p t 1 and t 1 . Thus, U is a union of orbits under G c , where G c is generated by p t c p t 1 and t 1 . Assume that the order of p t c p t 1 is o r d , i.e., ( p t c p t 1 ) o r d = i d . For x F 2 2 k , the orbit of x under G c is
x G c = { ( p t c p t 1 ) i ( x ) : 0 i < o r d } { ( p t c p t 1 ) i t 1 ( x ) : 0 i < o r d } .
In the proof of Theorem 1, it can be seen that f is differentially 4-uniform if | Δ f ( a , b ) | < 6 for Cases 1, 2, and 3. In fact, we can prove the following conclusions.
Proposition 4. 
Let f is defined by Definition 3. Then f is differentially 4-uniform if c = 1 and U t 1 = U .
Proof. 
By the proof of Theorem 1, we need to show that | Δ f ( a , b ) | < 6 for Cases 1, 2, and 3 to prove that f is differentially 4-uniform.
It can be seen that c = 1 implies that Case 1 means that a H c and b = 1 a , where
H c = { x F 2 2 k : x 0 , 1 , 1 x + 1 + 1 x 1 , t r ( x x 2 + 1 ) = 0 } .
Note that t r ( x x 2 + 1 ) = t r ( 1 x + 1 + 1 x 2 + 1 ) = 0 for every x F 2 2 k . Then, Case 1 means that a { 0 , 1 , ω , ω 2 } and b = 1 a .
As in Proposition 2, for case 1, it can be verified that a Δ p ( a , b ) and a Δ p ( a + 1 , b + 1 ) ; then, a or a + 1 Q f ( a , b ) implies that a and a + 1 R f ( a , b ) , and a or a + 1 R f ( a , b ) implies that a and a + 1 Q f ( a , b ) ; thus, only one of a and a + 1 belongs to Δ f ( a , b ) ; therefore, | Δ p ( a , b ) | 4 + 4 2 + 2 + 2 2 1 < 6 .
Similarly, | Δ p ( a , b ) | < 6 for Case 2.
It is obvious that c = 1 also implies that Case 3 means that a { ω , ω 2 } and b = 1 a . Note that Δ p ( ω , 1 ω ) = Δ p ( ω 2 , 1 ω 2 ) = { 0 , 1 , ω , ω 2 } . By the proof of Theorem 1, Δ f ( a , b ) = Δ p ( a , b ) for Case 3.
In summary, this theorem holds. □
Theorem 2. 
Let f be defined by Definition 3. Then, f is differentially 4-uniform if
1. 
c 1 and U t 1 = U ,
2. 
U Π a { λ a } , { λ a + a } , { a ω , a ω 2 , λ a } , and { a ω , a ω 2 , λ a + a } for every a U H ,
3. 
U Π a { a ω } , { a ω 2 } , { a ω , λ a , λ a + a } , and { a ω 2 , λ a , λ a + a } for every a U ¯ H ,
where λ a is the solution of the equation ( 1 a + c ) x 2 + ( 1 a + c ) ( a + 1 ) x + a + 1 = 0 in F 2 2 k and
Π a = { a ω , a ω 2 , λ a , λ a + a } , H = { x F 2 2 k : x 0 , 1 , p ( c ) , t r ( 1 ( x + 1 ) ( 1 x + c ) ) = 0 } .
Proof. 
By the proof of Theorem 1, we need to show that | Δ f ( a , b ) | < 6 for Cases 1, 2, and 3 to prove that f is differentially 4-uniform.
Note that Case 1 means that a H c and b = 1 a , and Case 2 means that a H c t 1 and b = 1 a + 1 + c , where
H c = { x F 2 2 k : x 0 , 1 , p ( c ) , 1 x + 1 + 1 x c , t r ( 1 ( x + 1 ) ( 1 x + c ) ) = 0 } .
Then, we need to show that | Δ f ( a , 1 a ) | < 6 for a H c and | Δ f ( a , 1 a + 1 + c ) | < 6 for a H c t 1 to prove that | Δ f ( a , b ) | < 6 for Cases 1 and 2.
In the proof of Proposition 2, we can verify that U t 1 = U implies that x or x + 1 Q f ( a , b ) if and only if U { x , x + a } = or { x , x + a } for x Δ p ( a , b ) , and x or x + 1 R f ( a , b ) if and only if U { x , x + a } = { x } or { x + a } for x Δ p ( a + 1 , b + c ) .
If there exists a H c such that | Δ f ( a , 1 a ) | = 6 , then x or x + 1 Q f ( a , 1 a ) for every x Δ p ( a , 1 a ) and y or y + 1 R f ( a , 1 a ) for every y Δ p ( a + 1 , 1 a + c ) , it implies that U { 0 , a } = { 0 , a } , U { a ω , a ω 2 } = or { a ω , a ω 2 } , and U { λ a , λ a + a } = { λ a } or { λ a + a } , it also means that there exists a U such that U Π a = { λ a } , { λ a + a } , { a ω , a ω 2 , λ a } , or { a ω , a ω 2 , λ a + a } . In other words, if U Π a { λ a } , { λ a + a } , { a ω , a ω 2 , λ a } , and { a ω , a ω 2 , λ a + a } for every a U H c then | Δ f ( a , 1 a ) | < 6 for every a H c .
If there exists a H c t 1 such that | Δ f ( a , 1 a + 1 + c ) | = 6 , then there exists a = a + 1 H c such that | Δ f ( a + 1 , 1 a + c ) | = 6 , thus x or x + 1 Q f ( a + 1 , 1 a + c ) for every x Δ p ( a + 1 , 1 a + c ) and y or y + 1 R f ( a + 1 , 1 a + c ) for every y Δ p ( a , 1 a ) , it implies that U { λ a , λ a + a } = or { λ a , λ a + a } , U { 0 , a } = { 0 } , and U { a ω , a ω 2 } = { a ω } or { a ω 2 } , it also means that there exists a U ¯ such that U Π a = { a ω } , { a ω 2 } , { a ω , λ a , λ a + a } , or { a ω 2 , λ a , λ a + a } . In other words, if U Π a { a ω } , { a ω 2 } , { a ω , λ a , λ a + a } , and { a ω 2 , λ a , λ a + a } for every a U ¯ H c , then | Δ f ( a , 1 a + 1 + c ) | < 6 for every a H c t 1 .
When c = 0 or t r ( 1 c ) = 1 , Case 3 does not occur and H = H c . When c 0 , 1 and t r ( 1 c ) = 0 , Case 3 means that a { χ c , χ c + 1 } and b = 1 a , and H = H c { χ c , χ c + 1 } , where χ c and χ c + 1 are the solution of the equation x 2 + x + 1 c = 0 in F 2 2 k . Then, we need to show that | Δ f ( χ c , 1 χ c ) | < 6 to prove that | Δ f ( a , b ) | < 6 for Case 3.
Note that λ χ c = ( χ c + 1 ) ω and λ χ c + 1 = χ c ω . If | Δ f ( χ c , 1 χ c ) ) | = 6 , then either { 0 , χ c , χ c ω , χ c ω 2 } Q f ( χ c , 1 χ c ) and { λ χ c , λ χ c + χ c } R f ( χ c , 1 χ c ) , or { λ χ c + 1 , λ χ c + 1 + χ c + 1 } Q f ( χ c , 1 χ c ) and { 0 , χ c + 1 , ( χ c + 1 ) ω , ( χ c + 1 ) ω 2 } R f ( χ c , 1 χ c ) . The former implies that U { 0 , χ c } = { 0 , χ c } , U { χ c ω , χ c ω 2 } = or { χ c ω , χ c ω 2 } , and U { λ χ c , λ χ c + χ c } = { λ χ c } or { λ χ c + χ c } , it means that χ c U and U Π χ c = { λ χ c } , { λ χ c + χ c } , { χ c ω , χ c ω 2 , λ χ c } , or { χ c ω , χ c ω 2 , λ χ c + χ c } . The latter implies that U { λ χ c + 1 , λ χ c + 1 + χ c + 1 } = or { λ χ c + 1 , λ χ c + 1 + χ c + 1 } , U { 0 , χ c + 1 } = { 0 } , and U { ( χ c + 1 ) ω , ( χ c + 1 ) ω 2 } = { ( χ c + 1 ) ω } or { ( χ c + 1 ) ω 2 } , it means that χ c + 1 U ¯ and U Π χ c + 1 = { ( χ c + 1 ) ω } , { ( χ c + 1 ) ω 2 } , { ( χ c + 1 ) ω , λ χ c + 1 , λ χ c + 1 + χ c + 1 } , and { ( χ c + 1 ) ω 2 , λ χ c + 1 , λ χ c + 1 + χ c + 1 } . In other words, if U Π a { λ a } , { λ a + a } , { a ω , a ω 2 , λ a } , and { a ω , a ω 2 , λ a + a } for every a U { χ c , χ c + 1 } , and U Π a { a ω } , { a ω 2 } , { a ω , λ a , λ a + a } , and { a ω 2 , λ a , λ a + a } for every a U ¯ { χ c , χ c + 1 } , then | Δ f ( χ c , 1 χ c ) | < 6 .
In summary, this theorem holds. □
There is a conclusion similar to Proposition 4. In [26], f is differentially 4-uniform permutation if U is the union of some non-trivial minimum stable sets of f S F 2 2 k . It can be seen that the so-called minimum stable subsets is actually the orbits of the group generated by p t c p t 1 and t 1 where c = 1 .
Deng Tang et al. [23] and Jie Peng et al. [28] have studied the case that c = 0 . However, the condition of U in [23,28] is a sufficient condition of U in Theorem 2. Then, Theorem 2 constructs more differentially 4-uniform permutations.
By Theorem 2, we have Algorithm 1 for constructing differentially 4-uniform piecewise permutations over F 2 2 k from the inverse function.
Algorithm 1. Constructing algorithm of differentially 4-uniform piecewise permutations over F 2 2 k
1: Select the parameter c F 2 2 k \ { 1 } ;
2: Calculate all orbits under the group generated by p t c p t 1 and t 1 using Equation (5);
3: Select some orbits to obtain an invariant subset U of F 2 2 k ;
4: if U satisfies the conditions 2 and 3 in Theorem 2
5:        Construct f by Definition 3;
6: else
7:         Back to step 3;
8: end if
9: return f.

5. Numerical Results

In this section, we show some numerical results. As Remark 1, let G c be the group generated by p t c p t 1 and t 1 .
For c F 2 2 k , if the number of orbits under G c equals r, then the number of invariant sets under G c equals 2 r . Note that it is trivial that f = p in Definition 3 if U = F 2 2 k . Thus, the number of non-trivial at least differentially 6-uniform permutations constructed by Theorem 1 equals 2 r 1 1 . It can be verified that, the number of orbits under G c equals 2 2 k 1 when c = 0 ; the number of orbits under G c equals 2 2 k 4 6 + 2 when c = 1 ; and the number of orbits under G c takes the maximum value when c = ω or ω + 1 for all c F 2 2 k \ { 0 , 1 } . Figure 1 and Figure 2 show the relation between c F 2 2 k \ { 0 , 1 } and the number of orbits under G c for k = 3 and 4, respectively. It can be seen that we can obtain a lot of at least differentially 6-uniform permutation from the inverse function.
Differentially 4-uniform piecewise permutations can be obtained by verifying whether the union of orbits under G c satisfies the conditions in Theorem 2. It can be seen that the number of invariant sets under G c is large for c { 0 , 1 } F 2 6 and c { 0 , 1 , ω , ω + 1 } F 2 8 . Table 1 shows the extended Walsh spectrum of differential 4-uniformity permutations over F 2 6 obtained from Theorem 2 for c F 2 6 \ { 0 , 1 } . Table 2 shows the differential spectrum of differential 4-uniformity permutations over F 2 8 obtained from Theorem 2 for c F 2 8 \ { 0 , 1 , ω , ω + 1 } . It is know that CCZ equivalent permutations possess the same differential spectrum and extended Walsh spectrum. Then, permutations with different differential spectrum and extended Walsh spectrum are CCZ inequivalent. Therefore, differential 4-uniformity permutations in Table 1 and Table 2 are CCZ inequivalent.

6. Conclusions

In this paper, we study the bijectivity and the difference uniformity of f in Equation (2) from known g based on permutation group theory. We show that f in Equation (2) is at least differentially 2 δ -uniform if g is differentially δ -uniform. Then, we construct at least differentially 6-uniform and differentially 4-uniform piecewise permutations over F 2 2 k from the inverse function and a function that is affine equivalent to the inverse function in Theorems 1 and 2. Finally, numerical results shows that we obtain a lot of at least differentially 6-uniform and differentially 4-uniform permutations over F 2 2 k .

Author Contributions

Writing—original draft preparation, S.L.; writing—review and editing, L.M. All authors have read and agreed to the published version of the manuscript.

Funding

This work is supported by the Natural Science Foundation of Ningxia (2021AAC03068 and No.2021AAC03102) and the Key R&D Program of Ningxia (No.2021BEB04065 and No.2021BEG03071).

Data Availability Statement

Not applicable.

Acknowledgments

The authors would like to thank the editor and the anonymous reviewers for their valuable comments and suggestions that improved the quality of this paper.

Conflicts of Interest

The authors declare no conflict of interest. The founding sponsors had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript; or in the decision to publish the results.

References

  1. Kumar, R.; Kumar, P.; Tripathi, R.; Gupta, G.P.; Islam, A.N.; Shorfuzzaman, M. Permissioned blockchain and deep-learning for secure and efficient data sharing in industrial healthcare systems. IEEE Trans. Ind. Inform. 2022, 18, 8065–8073. [Google Scholar] [CrossRef]
  2. Kumar, P.; Kumar, R.; Gupta, G.P.; Tripathi, R.; Srivastava, G. P2tif: A blockchain and deep learning framework for privacy-preserved threat intelligence in industrial iot. IEEE Trans. Ind. Inform. 2022, 18, 6358–6367. [Google Scholar] [CrossRef]
  3. Biham, E.; Shamir, A. Differential cryptanalysis of DES-like cryptosystems. In Proceedings of the Advances in Cryptology-CRYPTO; Springer: Berlin/Heidelberg, Germany, 1991; Volume 90, pp. 2–21. [Google Scholar]
  4. Nyberg, K. Perfect nonlinear S-boxes. In Proceedings of the Advances in Cryptology—EUROCRYPT’91; Springer: Berlin/Heidelberg, Germany, 1991; pp. 378–386. [Google Scholar]
  5. Knudsen, L.R. Truncated and higher order differentials. In Proceedings of the Fast Software Encryption; Springer: Berlin/Heidelberg, Germany, 1994; pp. 196–211. [Google Scholar]
  6. Carlet, C. On known and new differentially uniform functions. In Proceedings of the Information Security and Privacy; Springer: Berlin/Heidelberg, Germany, 2011; pp. 1–15. [Google Scholar]
  7. Tan, Y.; Qu, L.; Tan, C.H.; Li, C. New Families of Differentially 4-Uniform Permutations over F22k. In Proceedings of the International Conference on Sequences and Their Applications; Springer: Berlin/Heidelberg, Germany, 2012; pp. 25–39. [Google Scholar]
  8. Qu, L.; Tan, Y.; Tan, C.H.; Li, C. Constructing Differentially 4-Uniform Permutations Over F22k via the Switching Method. IEEE Trans. Inf. Theory 2013, 59, 4675–4686. [Google Scholar]
  9. Li, Y.; Wang, M. Constructing differentially 4-uniform permutations over GF(22m) from quadratic APN permutations over GF(22m+1). Des. Codes Cryptogr. 2014, 72, 249–264. [Google Scholar] [CrossRef]
  10. Zha, Z.; Hu, L.; Sun, S. Constructing new differentially 4-uniform permutations from the inverse function. Finite Fields Appl. 2014, 25, 64–78. [Google Scholar] [CrossRef]
  11. Xu, G.; Cao, X. Constructing new piecewise differentially 4-uniform permutations from known APN functions. Int. J. Found. Comput. Sci. 2015, 26, 599–609. [Google Scholar] [CrossRef]
  12. Zha, Z.; Hu, L.; Sun, S.; Shan, J. Further results on differentially 4-uniform permutations over F22m. Sci. China Math. 2015, 58, 1577–1588. [Google Scholar] [CrossRef]
  13. Chen, X.; Deng, Y.; Zhu, M.; Qu, L. An equivalent condition on the switching construction of differentially 4-uniform permutations on from the inverse function. Int. J. Comput. Math. 2017, 94, 1252–1267. [Google Scholar] [CrossRef]
  14. Peng, J.; Tan, C.H. New differentially 4-uniform permutations by modifying the inverse function on subfields. Cryptogr. Commun. 2017, 9, 363–378. [Google Scholar] [CrossRef]
  15. Sin, Y.; Kim, K.; Kim, R.; Han, S. Constructing new differentially 4-uniform permutations from known ones. Finite Fields Appl. 2020, 63, 101646. [Google Scholar] [CrossRef]
  16. Xu, G.; Qu, L. Two classes of differentially 4-uniform permutations over F2n with n even. Adv. Math. Commun. 2020, 14, 97–110. [Google Scholar] [CrossRef]
  17. Calderini, M. Differentially low uniform permutations from known 4-uniform functions. Des. Codes Cryptogr. 2021, 89, 33–52. [Google Scholar] [CrossRef]
  18. Li, Y.; Wang, M.; Yu, Y. Constructing Differentially 4-uniform Permutations over GF(22k) from the Inverse Function Revisited. IACR Cryptol. ePrint Arch. 2013, 2013, 731. [Google Scholar]
  19. Yu, Y.; Wang, M.; Li, Y. Constructing differentially 4 uniform permutations from known ones. Chin. J. Electron. 2013, 22, 495–499. [Google Scholar]
  20. Shuai, L.; Li, M. A method to calculate differential uniformity for permutations. Des. Codes Cryptogr. 2018, 86, 1553–1563. [Google Scholar] [CrossRef]
  21. Shuai, L.; Wang, L.; Miao, L.; Zhou, X. Differential uniformity of the composition of two functions. Cryptogr. Commun. 2020, 12, 205–220. [Google Scholar] [CrossRef]
  22. Jeong, J.; Koo, N.; Kwon, S. New differentially 4-uniform permutations from modifications of the inverse function. Finite Fields Appl. 2022, 77, 101931. [Google Scholar] [CrossRef]
  23. Tang, D.; Carlet, C.; Tang, X. Differentially 4-uniform bijections by permuting the inverse function. Des. Codes Cryptogr. 2015, 77, 117–141. [Google Scholar] [CrossRef] [Green Version]
  24. Peng, J.; Tan, C.H.; Wang, Q. A new family of differentially 4-uniform permutations over F22k for odd k. Sci. China Math. 2016, 59, 1221–1234. [Google Scholar] [CrossRef]
  25. Peng, J.; Tan, C.H. New explicit constructions of differentially 4-uniform permutations via special partitions of F22k. Finite Fields Appl. 2016, 40, 73–89. [Google Scholar] [CrossRef]
  26. Xu, Y.; Li, Y.; Wu, C.; Liu, F. On the construction of differentially 4-uniform involutions. Finite Fields Appl. 2017, 47, 309–329. [Google Scholar] [CrossRef]
  27. Peng, J.; Tan, C.H.; Wang, Q. New secondary constructions of differentially 4-uniform permutations over F22k. Int. J. Comput. Math. 2017, 94, 1670–1693. [Google Scholar] [CrossRef]
  28. Peng, J.; Tan, C.H.; Wang, Q.; Gao, J.; Kan, H. More new classes of differentially 4-uniform permutations with good cryptographic properties. IEICE Trans. Fundam. Electron. Commun. Comput. Sci. 2018, 101, 945–952. [Google Scholar] [CrossRef]
  29. Jacobson, N. Basic Algebra I; Courier Corporation: Mineola, NY, USA, 2012. [Google Scholar]
  30. Carlet, C.; Charpin, P.; Zinoviev, V. Codes, bent functions and permutations suitable for DES-like cryptosystems. Des. Codes Cryptogr. 1998, 15, 125–156. [Google Scholar] [CrossRef]
  31. Budaghyan, L.; Carlet, C.; Pott, A. New classes of almost bent and almost perfect nonlinear polynomials. IEEE Trans. Inf. Theory 2006, 52, 1141–1152. [Google Scholar] [CrossRef]
Figure 1. The relation c F 2 6 \ { 0 , 1 } and the number of orbits under G c .
Figure 1. The relation c F 2 6 \ { 0 , 1 } and the number of orbits under G c .
Symmetry 15 00131 g001
Figure 2. The relation c F 2 8 \ { 0 , 1 } and the number of orbits under G c .
Figure 2. The relation c F 2 8 \ { 0 , 1 } and the number of orbits under G c .
Symmetry 15 00131 g002
Table 1. Extended Walsh spectrum of differential 4-uniformity permutations over F 2 6 obtained from Theorem 2.
Table 1. Extended Walsh spectrum of differential 4-uniformity permutations over F 2 6 obtained from Theorem 2.
cNo.Extended Walsh Spectrum
61{*16[189],12[882],8[1008],4[1134],0[819]*}
141{*24[4],20[24],16[245],12[698],8[972],4[1294],0[795]*}
1{*28[4],24[0],20[28],16[197],12[742],8[1040],4[1242],0[779]*}
152{*20[52],16[209],12[694],8[992],4[1270],0[815]*}
3{*24[4],20[44],16[209],12[702],8[988],4[1270],0[815]*}
4{*20[48],16[213],12[690],8[1008],4[1278],0[795]*}
331{*24[2],20[34],16[197],12[748],8[1022],4[1234],0[795]*}
1{*20[24],16[167],12[834],8[1048],4[1158],0[801]*}
582{*24[2],20[44],16[193],12[718],8[1038],4[1254],0[783]*}
3{*20[42],16[213],12[708],8[1008],4[1266],0[795]*}
Table 2. Differential spectrum of differential 4-uniformity permutations over F 2 8 obtained from Theorem 2.
Table 2. Differential spectrum of differential 4-uniformity permutations over F 2 8 obtained from Theorem 2.
cNo.Differential Spectrum
21{*0[32895],2[32130],4[255]*}
1{*0[34317],2[29286],4[1677]*}
102{*0[36093],2[25734],4[3453]*}
3{*0[36129],2[25662],4[3489]*}
111{*0[34125],2[29670],4[1485]*}
2{*0[36231],2[25458],4[3591]*}
781{*0[34335],2[29250],4[1695]*}
2{*0[35649],2[26622],4[3009]*}
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Li, S.; Miao, L. New Differentially 4-Uniform Piecewise Permutations over F22k from the Inverse Function. Symmetry 2023, 15, 131. https://doi.org/10.3390/sym15010131

AMA Style

Li S, Miao L. New Differentially 4-Uniform Piecewise Permutations over F22k from the Inverse Function. Symmetry. 2023; 15(1):131. https://doi.org/10.3390/sym15010131

Chicago/Turabian Style

Li, Shuai, and Li Miao. 2023. "New Differentially 4-Uniform Piecewise Permutations over F22k from the Inverse Function" Symmetry 15, no. 1: 131. https://doi.org/10.3390/sym15010131

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop