The -differential properties of a class of power functions
Abstract
Power functions with low -differential uniformity have been widely studied not only because of their strong resistance to multiplicative differential attacks, but also low implementation cost in hardware. Furthermore, the -differential spectrum of a function gives a more precise characterization of its -differential properties. Let be a power function over the finite field , where is an odd prime and is a positive integer. In this paper, for all primes , by investigating certain character sums with regard to elliptic curves and computing the number of solutions of a system of equations over , we determine explicitly the -differential spectrum of with a unified approach. We show that if , then is a differentially -uniform function except for where is an APcN function, and if , the -differential uniformity of is equal to . In addition, an upper bound of the -differential uniformity of is also given.
Key words: power function, elliptic curve, -differential uniformity, -differential spectrum.
1 Introduction
Let be the finite field with elements, where is a prime and is a positive integer. The multiplicative cyclic group of the finite field is denoted by . Let denote the polynomial ring over . Any function can be uniquely represented as a univariate polynomial of degree less than . Therefore, can always be seen as a polynomial in . A polynomial is called a permutation polynomial of if the induced mapping is a permutation over . Permutation polynomials are a very important class of polynomials as they have applications in coding theory and cryptography. Nowadays, designing infinite classes of permutation polynomials over finite fields with good cryptographic properties remains an interesting research topic.
Substitution boxes (S-boxes for short) are important nonlinear building blocks in block ciphers, which can be seen as permutation functions over finite fields. To quantify the ability of S-boxes to resist the differential attack[1], one of the most powerful attacks on block ciphers, Nyberg[8] introduced the notion of differential uniformity. More importantly, to estimate the resistance against some variants of differential cryptanalysis, the differential spectrums[2] of S-boxes are also shown to be of great interest.
In [3], Borisov et al. proposed a new differential on block ciphers, called a multiplicative differential, it is an extension of differential cryptanalysis, which helps to identify the weakness of IDEA ciphers. Motivated by the concept of multiplicative differential, Ellingsen et al. in [4] first introduced the (multiplicative) -derivative.
In the same paper they presented a generalized notion of differential uniformity, the so-called -differential uniformity.
Definition 1.
[4] Let be the finite field with elements, where is a prime and is a positive integer. For a function , and . Let . The -differential uniformity of is defined as
If , then is called a differentially -uniform function. Especially, is called a perfect -nonlinear (PcN) function if , and an almost perfect -nonlinear (APcN) function if . It is clear that if and , the -differential uniformity becomes the usual differential uniformity and one use the corresponding notation by omit the symbol . The smaller the value is, the better resists against multiplicative differential attacks. Thus, the research on cryptographic functions with low -differential uniformity has been a hot issue in recent years, the readers can refer to [4, 7, 6, 9, 10, 15, 13, 12, 16, 20, 19, 17, 14] and the references therein.
For a power function with a positive integer , one can easily see that , for all and . For simplicity, denoted by with . More precisely, it was proved in [7, Lemma 1] that the -differential uniformity of is given by
(1) |
Moreover, as a generalization of the differential spectrum, the -differential spectrum of a power function is defined as follows.
Definition 2.
[13] Let with -differential uniformity . Denote , for each . Then the -differential spectrum of is defined as the multi-set
Generally speaking, it is difficult to determine the -differential spectrum of power functions. To the best of our knowledge, only a few classes of power functions over odd characteristic finite fields have a nontrivial -differential spectrum. The known results on power functions over , for which -differential spectrum has been determined are summarized in Table 1, where Tr is the absolute trace mapping from to .
Conditions | Ref. | ||
2 | [12] | ||
is odd, and is odd | 2 | [13] | |
is odd, , is even, | 2 | [13] | |
, TrTr | 2 | [19] | |
, Tr or Tr | 3 | [19] | |
is odd, | 2 or 3 | [19] | |
, any | 4 or 6 | [19] | |
is odd, , is even | [19] | ||
any , | 2,4, or | [10] | |
2 | [19] and [9] | ||
2 or 4 | [17] | ||
, , is even | 2 | [19] | |
, , | 4 | This paper | |
, , | 3 | This paper |
Throughout this paper, let , where is an odd prime and is a positive integer. We should mention that when , is PN if is odd, and is APN if is even [7] with its -differential spectrum being given in [19, Theorem 9]. When , the -differential uniformity of was discussed by Mesnager et al. in [7, Theorem 11] and they proved that if and if .
Inspired by the works above, in this paper, we mainly study the -differential spectrum of for all positive integer when . More precisely, we prove that if except for where is an APcN function, and if , that is, the upper bound of the -differential uniformity of given by Mesnager et al. can be achieved.
The rest of this paper is organized as follows. In Section 2, we introduce some basic notation about quadratic character and results on quadratic character sums, which will be employed in the sequel. In Section 3, we first determine the -differential spectrum of , and some examples are also presented. In Section 4, we give an upper bound of the -differential uniformity of . Section 5 concludes this paper.
2 Preliminaries
In this section, we mainly introduce some basic results on quadratic character sums over . Let be the quadratic character over , i.e., for any ,
It is well-known that , and (resp. ) if (resp. ), which are used extensively in the calculations of character sums.
We consider now sums involving the quadratic character of the form
with . Recall that for , the sums above is trivial, and for , the following explicit formula was established in [5] and [6], respectively.
Lemma 1.
Lemma 2.
[6] Let with odd and . Then the equation has two (resp. one) solutions in if and only if the discriminant is a nonzero (resp. zero) square in . That is to say, the number of solutions of is .
For , it is challenging to obtain an explicit formula for the character sum . However, when , such a sum can be computed by considering -rational points of elliptic curves over . More specifically, we denote as
To calculate , we will use some elementary concepts from the theory of elliptic curves [11]. Let be the elliptic curve over
and denote the number of -rational points (remember the extra point at infinity) on the curve . From the results in [11, P.139, P.142], we have, for all ,
with
where and are the two conjugate complex roots of the polynomial . We obtain an explicit and efficient formula of .
Define the following two specific character sums
(2) |
and
(3) |
which play a significant role in our main results. As we will see later, the determination of the -differential spectrum of over heavily depend on the computations of and .
In the following examples, we will give the exact values of and , respectively, for specific values of .
Example 1.
Let . We can obtain by Magma program. So we have . Hence .
Example 2.
Let . We can obtain by Magma program. So we have . Hence .
In addition, we have the following bound on for .
Lemma 3.
[11] With the notation as above, we have , for .
In the end of this section, we present the following results concerning the exact values specific character sums used in Section 3.
Lemma 4.
If and , then relevant consequences as follows,
,
,
,
,
.
Proof.
1) It is clear that is a permutation of . Set . The left side of equation 1) leads to
2) Set . The left side of equation 2) leads to
since .
3) First observe that the left side of equation 3) can be written as
(4) |
If we set , then and satisfy
When , it is a quadratic equation with connection on the variable , with discriminant . Therefore, according to Lemma 2 for all , it corresponds to ’s, and then
5) Set . The left side of equation 5) leads to
The proof of following lemma is very similar to that of [18, Lemma 5], we will no longer prove that.
Lemma 5.
Let and be defined as above. If and , then we have
,
,
,
,
,
.
3 The -differential properties of over
In this section, we are about to determine the -differential spectrum of explicitly.
We first introduce some properties of the -differential spectrum of power function presented by Yan and Zhang in [19], which will be used to examine the -differential spectrum of .
Lemma 6.
[19] Let be a power function over with -differential uniformity for some , where is a positive integer. Then we have
(5) |
Moreover,
(6) |
where
(7) |
3.1 and
In this subsection, we give the -differential spectrum of the power function over , and . Before that, we give some notions.
For any square , denotes either solution of the equation in . Let and denote the sets of squares and nonsquares in , respectively. The cyclotomic number is defined as the cardinality of the set , where .
Theorem 1.
Let over , where and . Then the -differential spectrum of is
Proof.
In order to determine the -differential spectrum of , the number of solutions of the equation
(8) |
needs to be determined.
Evidently, if , then , and if , then since is odd. Now we always assume , Eq.(8) can be written as
(9) |
Note that . The following four cases are discussed.
If , then , by Eq.(10), we get . So , i.e., , which means that .
If , we can acquire two solutions of Eq.(10) over , denote by , . Apparently, , and . Since , we assert that Eq.(9) has at most one solution in when , where
(2) , that is . Eq.(9) becomes , one can be deduced that , . Hence Eq.(9) has at most one solution when , where
If , then and . So , i.e., , which means that .
If , we can acquire two solutions of Eq.(11) over , denote by , . Obviously, , and . Since , we assert that Eq.(9) has at most one solution in when , where
We can get that , and , The discussion above can be summed up in Table 2.
solutions | |
---|---|
Now we calculate the cardinality of the sets , , to determine -differential spectrum of .
First, note that
By the definition of the -differential spectrum of , we have
where and denote by the two summations above respectively.
It can be easy to see that . Expanding the expression of , then we have that
after a calculation based on the fact in Lemmas 1, 2 and 4.
Therefore, .
In conclusion, which completes the proof.
Corollary 1.
Let over , where and is an odd prime. Then
Proof.
By Lemma 3, we obtain
when . Moreover, after calculation by Magma program, we find that the (resp. 3) for (resp. ).
Therefore, we get is an APcN power function when , and a differentially -uniform power function otherwise.
There are some examples as follows, which are consistent with that computed directly by Magma program.
Example 3.
Let . If , then over is APcN for with -differential spectrum
respectively.
Example 4.
Let and . Then over is differentially -uniform with -differential spectrum
3.2 and
In this subsection, we will focus on studying the -differential spectrum of the power function over , where , and . It is clear that
This subsection adopts the method from [18, P.11-13], and we only provide a sketch due to the process is quite complicated and miscellaneous.
Note that is a solution of if and only if is a solution of since is even. We assert that is even except for
In the following, we will investigate the value of . Since the proof of Lemma 7 is similar to that of [18, Lemma 8], we omit the proof here.
Lemma 7.
With the notation as above, we have
From the discussion above, one can immediately derive the values of and in the following corollary.
Corollary 2.
With the notation as above, we have if , or , and otherwise.
To determine the -differential spectrum of , it remains to calculate in Eq.(7), and this calculation method is similar to that of [18, Theorem 11].
Moreover, when , Eq.(7) can be rewritten as
so we use Lemma 5 to calculate that is
where and are defined in Eqs.EQ.(2) and Eq.(3), respectively.
Based on the previous preparation work, we are now in a position to determine of , where and are defined in Eqs.(2) and (3), respectively.
Theorem 2.
Let be defined as above. If 2 (resp. 4), then the -differential spectrum of is
(resp.
when , or , and is
(resp.
otherwise.
Corollary 3.
Let over , where and is an odd prime. Then .
Proof.
The case can be calculated by computing directly the -differential spectrum of over , which is
and hence due to .
Therefore, we conclude that the . This completes the proof.
Example 5.
Let and . Then over is differentially -uniform with -differential spectrum
Example 6.
Let and . Then over is differentially -uniform with -differential spectrum
The above two examples both are consistent with that computed directly by Magma program.
4 The -differential uniformity of over
In this section, we give the following result on the -differential uniformity of , and we omit the proof here since it is similar to that of [17, Theorem 12].
Theorem 3.
Let be a power function over , where is an odd prime and is a positive integer. For , we have .
5 Concluding remarks
In this paper, we first investigated the -differential spectrum of over , where is an odd prime. In fact, we prove that if , then except for where is an APcN function, and if , the -differential uniformity of is equal to 4. The results indicate that the -differential spectrum of has closely connection with two character sums and . Meanwhile, the character sums can be evaluated by employing the theory of elliptic curves over finite fields. Finally, we obtained an upper bound of the -differential uniformity of .
References
- [1] Eli Biham and Adi Shamir. Differential cryptanalysis of DES-like cryptosystems. J. Cryptology, 4(1):3–72, 1991.
- [2] Céline Blondeau, Anne Canteaut, and Pascale Charpin. Differential properties of power functions. Int. J. Inf. Coding Theory, 1(2):149–170, 2010.
- [3] Nikita Borisov, Monica Chew, Robert Johnson, and David Wagner. Multiplicative differentials. In Fast Software Encryption, 9th International Workshop, FSE 2002, Leuven, Belgium, February 4-6, 2002, Revised Papers, pages 17–33, 2002.
- [4] På l Ellingsen, Patrick Felke, Constanza Riera, Pantelimon Stănică, and Anton Tkachenko. -differentials, multiplicative uniformity, and (almost) perfect -nonlinearity. IEEE Trans. Inform. Theory, 66(9):5781–5789, 2020.
- [5] Rudolf Lidl and Harald Niederreiter. Finite fields, volume 20 of Encyclopedia of Mathematics and its Applications. Cambridge University Press, Cambridge, second edition, 1997. With a foreword by P. M. Cohn.
- [6] Sihem Mesnager, Bimal Mandal, and Mounira Msahli. Survey on recent trends towards generalized differential and boomerang uniformities. Cryptogr. Commun, 14(4):691–735, 2022.
- [7] Sihem Mesnager, Constanza Riera, Pantelimon Stănică, Haode Yan, and Zhengchun Zhou. Investigations on -(almost) perfect nonlinear functions. IEEE Trans. Inform. Theory, 67(10):6916–6925, 2021.
- [8] Kaisa Nyberg. Differentially uniform mappings for cryptography. In Advances in cryptology—EUROCRYPT ’93 (Lofthus, 1993), volume 765 of Lecture Notes in Comput. Sci., pages 55–64. Springer, Berlin, 1994.
- [9] Tingting Pang, Nian Li, Xiangyong Zeng, and Haiying Zhu. A note on the -differential spectrum of an function. Adv. Math. Commun, 16(4):935–945, 2022.
- [10] Constanza Riera, Pantelimon Stanica, and Haode Yan. The -differential spectrum of in finite fields of odd characteristics, 2022.
- [11] Joseph H. Silverman. The arithmetic of elliptic curves, volume 106 of Graduate Texts in Mathematics. Springer, Dordrecht, second edition, 2009.
- [12] Ziran Tu, Nian Li, Yanan Wu, Xiangyong Zeng, Xiaohu Tang, and Yupeng Jiang. On the differential spectrum and the property of a class of power functions over finite fields. IEEE Transactions on Information Theory, 69(1):582–597, 2023.
- [13] Xiaoqiang Wang, Dabin Zheng, and Lei Hu. Several classes of power functions over finite fields. Discrete Appl. Math, 322:171–182, 2022.
- [14] Zhexin Wang, Sihem Mesnager, Nian Li, and Xiangyong Zeng. On differential properties of a class of niho-type power function, 2023.
- [15] Yanan Wu, Nian Li, and Xiangyong Zeng. New and functions over finite fields. Des. Codes Cryptogr, 89(11):2637–2651, 2021.
- [16] Haode Yan. On (-1)-differential uniformity of ternary APN power functions. Cryptogr. Commun, 14(2):357–369, 2022.
- [17] Haode Yan, Sihem Mesnager, and Xiantong Tan. On the differential spectrum of a class of apn power functions over odd characteristic finite fields and their -differential properties, 2022.
- [18] Haode Yan, Sihem Mesnager, and Xiantong Tan. The complete differential spectrum of a class of power permutations over odd characteristic finite fields. IEEE Transactions on Information Theory, 69(11):7426–7438, 2023.
- [19] Haode Yan and Kun Zhang. On the -differential spectrum of power functions over finite fields. Des. Codes Cryptogr, 90(10):2385–2405, 2022.
- [20] Zhengbang Zha and Lei Hu. Some classes of power functions with low -differential uniformity over finite fields. Des. Codes Cryptogr, 89(6):1193–1210, 2021.