Jing et al. dealed with all possible Whiteman generalized cyclotomic binary sequences s(a,b,c) with period N=pq, where (a,b,c)∈{0,1}3 and p,q are distinct odd primes (Jing et al. arXiv:2105.10947v1, 2021). They have determined the autocorrelation distribution and the 2-adic complexity of these sequences in a unified way by using group ring language and a version of quadratic Gauss sums. In this paper, we determine the linear complexity and the 1-error linear complexity of s(a,b,c) in details by using the discrete Fourier transform (DFT). The results indicate that the linear complexity of s(a,b,c) is large enough and stable in most cases.
Citation: Tongjiang Yan, Pazilaiti Ainiwaer, Lianbo Du. On the 1-error linear complexity of two-prime generator[J]. AIMS Mathematics, 2022, 7(4): 5821-5829. doi: 10.3934/math.2022322
Related Papers:
[1]
Vladimir Edemskiy, Chenhuang Wu .
On the $ k $-error linear complexity of binary sequences of periods $ p^n $ from new cyclotomy. AIMS Mathematics, 2022, 7(5): 7997-8011.
doi: 10.3934/math.2022446
[2]
Sima Mashayekhi, Seyed Nourollah Mousavi .
A robust numerical method for single and multi-asset option pricing. AIMS Mathematics, 2022, 7(3): 3771-3787.
doi: 10.3934/math.2022209
[3]
Zongcheng Li, Jin Li .
Linear barycentric rational collocation method for solving a class of generalized Boussinesq equations. AIMS Mathematics, 2023, 8(8): 18141-18162.
doi: 10.3934/math.2023921
[4]
Kenan Doğan, Murat Şahin, Oğuz Yayla .
Families of sequences with good family complexity and cross-correlation measure. AIMS Mathematics, 2025, 10(1): 38-55.
doi: 10.3934/math.2025003
[5]
Adisorn Kittisopaporn, Pattrawut Chansangiam .
Approximate solutions of the $ 2 $D space-time fractional diffusion equation via a gradient-descent iterative algorithm with Grünwald-Letnikov approximation. AIMS Mathematics, 2022, 7(5): 8471-8490.
doi: 10.3934/math.2022472
[6]
Yan Wang, Ying Cao, Ziling Heng, Weiqiong Wang .
Linear complexity and 2-adic complexity of binary interleaved sequences with optimal autocorrelation magnitude. AIMS Mathematics, 2022, 7(8): 13790-13802.
doi: 10.3934/math.2022760
[7]
Ruiyuan Chang, Xiuli Wang, Mingqiu Wang .
Corrected optimal subsampling for a class of generalized linear measurement error models. AIMS Mathematics, 2025, 10(2): 4412-4440.
doi: 10.3934/math.2025203
[8]
Yannan Sun, Wenchao Qian .
Fast algorithms for nonuniform Chirp-Fourier transform. AIMS Mathematics, 2024, 9(7): 18968-18983.
doi: 10.3934/math.2024923
[9]
Anumanthappa Ganesh, Swaminathan Deepa, Dumitru Baleanu, Shyam Sundar Santra, Osama Moaaz, Vediyappan Govindan, Rifaqat Ali .
Hyers-Ulam-Mittag-Leffler stability of fractional differential equations with two caputo derivative using fractional fourier transform. AIMS Mathematics, 2022, 7(2): 1791-1810.
doi: 10.3934/math.2022103
[10]
Li-Tao Zhang, Xian-Yu Zuo, Shi-Liang Wu, Tong-Xiang Gu, Yi-Fan Zhang, Yan-Ping Wang .
A two-sweep shift-splitting iterative method for complex symmetric linear systems. AIMS Mathematics, 2020, 5(3): 1913-1925.
doi: 10.3934/math.2020127
Abstract
Jing et al. dealed with all possible Whiteman generalized cyclotomic binary sequences s(a,b,c) with period N=pq, where (a,b,c)∈{0,1}3 and p,q are distinct odd primes (Jing et al. arXiv:2105.10947v1, 2021). They have determined the autocorrelation distribution and the 2-adic complexity of these sequences in a unified way by using group ring language and a version of quadratic Gauss sums. In this paper, we determine the linear complexity and the 1-error linear complexity of s(a,b,c) in details by using the discrete Fourier transform (DFT). The results indicate that the linear complexity of s(a,b,c) is large enough and stable in most cases.
1.
Introduction
The linear complexity and the k-error linear complexity are important cryptographic characteristics of stream cipher sequences. The linear complexity of an N-periodic sequence s={su}∞u=0, denoted by LC(s), is defined as the length of the shortest linear feedback shift register (LFSR) that generates it [1]. With the Berlekamp-Massey (B-M) algorithm [2], if LC(s)≥N/2, then s is regarded as a good sequence with respect to its linear complexity. For an integer k≥0, the k-error linear complexity LCk(s) is the smallest linear complexity that can be obtained by changing at most k terms of s in the first period and periodically continued [3]. The cryptographic background of the k-error linear complexity is that some key streams with large linear complexity can be approximated by some sequences with much lower linear complexity [2]. For a sequence to be cryptographically strong, its linear complexity should be large enough, and its k-error linear complexity should be close to the linear complexity.
The relationship between the linear complexity and the DFT of the sequence was given by Blahut in [4]. Let m be the order of 2 modulo an odd number N. For a primitive N-th root β∈F2m of unity, the DFT of s is defined by
ρi=N−1∑u=0suβ−iu, 0≤i≤N−1.
(1.1)
Then
LC(s)=WH(ρ0,ρ1,⋯,ρN−1),
(1.2)
where WH(A) is the hamming weight of the sequence A. The polynomial
G(X)=N−1∑i=0ρiXi∈F2m[X]
(1.3)
is called the Mattson-Solomon polynomial (M-S polynomial) of s[5]. It can be deduced from Eqs (1.2)and (1.3) that the linear complexity of s is equal to the number of the nonzero terms of G(X), namely
LC(s)=|G(X)|.
(1.4)
By the inverse DFT,
su=N−1∑i=0ρiβiu=G(βu), 0≤u≤N−1.
(1.5)
There are many studies about two-prime generators. In 1997–1998, Ding calculated the linear complexity and the autocorrelation values of binary Whiteman generalized cyclotomic sequences of order two [6,7]. In 2013, Li defined a new generalized cyclotomic sequence of order two of length pq, which is based on Whiteman generalized cyclotomic classes, and calculated its linear complexity [8]. In 2015, Wei determined the k-error linear complexity of Legendre sequences for k=1,2[9]. In 2018, Hofer and Winterhof studied the 2-adic complexity of the two-prime generator of period pq[10]. Alecu and Sălăgean transformed the optimisation problem of finding the k-error linear complexity of a sequence into an optimisation problem in the DFT domain, by using Blahut's theorem in the same year [11]. In 2019, in terms of the DFT, Chen and Wu discussed the k-error linear complexity for Legendre, Ding-Helleseth-Lam, and Hall's sextic residue sequences of odd prime period p[12]. In 2020, Zhou and Liu presented a type of binary sequences based on a general two-prime generalized cyclotomy, and derived their minimal polynomial and linear complexity [13]. In 2021, the autocorrelation distribution and the 2-adic complexity of generalized cyclotomic binary sequences of order 2 with period pq were determined by Jing [14].
This paper is organized as follows. Firstly, we present some preliminaries about Whiteman generalized cyclotomic classes and the linear complexity in Section 2. In Section 3, we give main results about the linear complexity of Whiteman generalized cyclotomic sequences of order two. In Section 4, we give the 1-error linear complexity of these sequences. At last, we conclude this paper in Section 5.
2.
Preliminaries
Let p and q be two distinct odd primes with gcd(p−1,q−1)=2, and N=pq, e=(p−1)(q−1)/2. By the Chinese Remainder Theorem, there is a fixed common primitive root g of both p and q such that ordN(g)=e. Let x be an integer satisfying
x=g(modp), x=1(modq).
Then the set
Di={gsximodN:s=0,1,⋯,e−1}
for i=0,1 is called a Whiteman generalized cyclotomic class of order two [15].
As pointed out in [14], the unit group of the ring ZN is
Actually, if p≡−1(mod8) or p≡3(mod8), then (p−1)/2=1; if p≡1(mod8) or p≡−3(mod8), then (p−1)/2=0. By symmetry, if q≡−1(mod8) or q≡3(mod8), then (q−1)/2=1; if q≡1(mod8) or q≡−3(mod8), then (q−1)/2=0.
Lemma 2.5.Define
Di(X)=∑u∈DiXu∈F2[X],i=0,1.
Then for β, we have D0(β)=0 and D1(β)=1 if 2∈D0; D0(β)=ω and D1(β)=1+ω if 2∈D1, where ω∈F4∖F2.
And by Eq (2.1), we have D0(β)≠D1(β) and D0(β)+D1(β)=1. Assume that D0(β)=0, D1(β)=1 for 2∈D0, and D0(β)=ω, D1(β)=1+ω for 2∈D1, where ω∈F4∖F2.
3.
The linear complexity of s(a,b,c)
Let LC(s(a,b,c)) be the linear complexity of s(a,b,c), and the other symbols be the same as before.
Theorem 3.1.Let p≡v(mod8) and q≡w(mod8), where v,w=±1,±3. Then the linear complexity of s(a,b,c) respect to different values of p and q is as shown as Table 1.
By Eq (1.4) we can get the linear complexity of s(0,0,0) as
LC(s(0,0,0))=|G(X)|=pq−p.
Actually, the linear complexity of s(1,0,0) was studied by Ding in [6] with its minimal polynomial.
4.
The 1-error linear complexity of s(a,b,c)
Let LCk(s(a,b,c)) be the k-error linear complexity of s(a,b,c), ˜s={˜su}∞u=0 be the new sequence obtained by changing at most k terms of s, that ˜s=s+e, where e={eu}∞u=0 is an error sequence of period N. Ding has provided in [2] that, the k-error linear complexity of a sequence can be expressed as
LCk(s)=minWH(e)≤k{LC(s+e)}.
(4.1)
It is clearly that LC0(s)=LC(s) and
N≥LC0(s)≥LC1(s)≥⋯≥LCl(s)=0,
where l=WH(s).
Let G(X), Gk(X) and ˜G(X) be the M-S polynomials of s, e and ˜s respectively. Note that
where ρi, ηi and ξi are the DFTs of s, e and ˜s respectively. By Eqs (1.5), (4.1) and (4.2), we have ˜G(X)=G(X)+Gk(X), then
ξi=ρi+ηi.
(4.3)
Assume that eu0=1 for 0≤u0≤N−1 and eu=0 for u≠u0 in the first period of e. Then the DFT of e is
ηi=N−1∑u=0euβ−iu=β−iu0, 0≤i≤N−1.
Specially, if u0=0, then ηi=1 for all 0≤i≤N−1; otherwise, η0=1 and the order of ηi is N for 1≤i≤N−1.
Theorem 4.1.Let p≡v(mod8) and q≡w(mod8), where v,w=±1,±3, and the other symbols be the same as before. Then the 1-error linear complexity of s(a,b,c) is as shown as Table 2.
Table 2.
The 1-error linear complexity of s(a,b,c).
Compare the results of Cases (1)–(3) with LC(s(0,0,0))=pq−p. If p>q, then pq−p<pq−q+1<pq; if p<q, then pq−q+1<pq−p<pq. Hence
LC1(s(0,0,0))={pq−p,if p>q,pq−q+1,if p<q.
Similarly we can prove the other cases for LC1(s(a,b,c)).
All results of LC(s(a,b,c)) and LC1(s(a,b,c)) in Sections 3 and 4 have been tested by MAGMA program.
5.
Conclusions
The purpose of this paper is to determine the linear complexity and the 1-error linear complexity of s(a,b,c). In most of the cases, s(a,b,c) possesses high linear complexity, namely LC(s(a,b,c))>N/2, consequently has decent stability against 1-bit error. Notice that the linear complexity of some of the sequences above is close to N/2. Then the sequences can be selected to construct cyclic codes by their minimal generating polynomials with the method introduced by Ding [16].
Acknowledgments
This work was supported by Fundamental Research Funds for the Central Universities (No. 20CX05012A), the Major Scientific and Technological Projects of CNPC under Grant (No. ZD2019-183-008), the National Natural Science Foundation of China (Nos. 61902429, 11775306) and Shandong Provincial Natural Science Foundation of China (ZR2019MF070).
Conflict of interest
The authors declare that they have no conflicts of interest.
References
[1]
T. Cusick, C. Ding, A. Renvall, Stream ciphers and number theory, Amsterdam: Elsevier, 2004.
M. Stamp, C. Martin, An algorithm for the k-error linear complexity of binary sequences with period 2n, IEEE Trans. Inform. Theory, 39 (1993), 1398–1401. http://dx.doi.org/10.1109/18.243455 doi: 10.1109/18.243455
[4]
R. Blahut, Transform techniques for error control codes, IBM J. Res. Dev., 23 (1979), 299–315. http://dx.doi.org/10.1147/rd.233.0299 doi: 10.1147/rd.233.0299
[5]
F. MacWilliams, N. Sloane, The theory of error-correcting codes, Amsterdam: Elsevier, 1977.
[6]
C. Ding, Linear complexity of generalized cyclotomic binary sequences of order 2, Finite Fields Th. Appl., 3 (1997), 159–174. http://dx.doi.org/10.1006/ffta.1997.0181 doi: 10.1006/ffta.1997.0181
[7]
C. Ding, Autocorrelation values of generalized cyclotomic sequences of order two, IEEE Trans. Inform. Theory, 44 (1998), 1699–1702. http://dx.doi.org/10.1109/18.681354 doi: 10.1109/18.681354
[8]
X. Li, W. Ma, T. Yan, X. Zhao, Linear complexity of a new generalized cyclotomic sequence of order two of length pq, IEICE Trans. Fund. Elect., 96 (2013), 1001–1005. http://dx.doi.org/10.1587/transfun.E96.A.1001 doi: 10.1587/transfun.E96.A.1001
[9]
Y. Wei, 1, 2-error linear complexity of Legendre sequences (Chinese), Master's Thesis, Hubei University, 2015.
[10]
R. Hofer, A. Winterhof, On the 2-adic complexity of the two-prime generator, IEEE Trans. Inform. Theory, 64 (2018), 5957–5960. http://dx.doi.org/10.1109/TIT.2018.2811507 doi: 10.1109/TIT.2018.2811507
[11]
A. Alecu, A. Sălăgean, An approximation algorithm for computing the k-error linear complexity of sequences using the discrete fourier transform, Proceedings of IEEE International Symposium on Information Theory, 2008, 2414–2418. http://dx.doi.org/10.1109/ISIT.2008.4595424
[12]
Z. Chen, C. Wu, K-error linear complexity of binary cyclotomic generators, Journal on Communications, 40 (2019), 197–206. http://dx.doi.org/10.11959/j.issn.1000-436x.2019034 doi: 10.11959/j.issn.1000-436x.2019034
[13]
X. Zhou, Cyclic codes via the general two-prime generalized cyclotomic sequence of order two, J. Math., 2020 (2020), 6625652. http://dx.doi.org/10.1155/2020/6625652 doi: 10.1155/2020/6625652
[14]
X. Jing, S. Qing, M. Yang, K. Feng, Determination of the autocorrelation distribution and 2-adic complexity of generalized cyclotomic binary sequences of order 2 with period pq, arXiv: 2105.10947.
[15]
A. Whiteman, A family of defference sets, Illinois J. Math., 6 (1962), 107–121. http://dx.doi.org/10.1215/ijm/1255631810 doi: 10.1215/ijm/1255631810
[16]
C. Ding, Cyclotomic constructions of cyclic codes with length being the product of two primes, IEEE Trans. Inform. Theory, 58 (2012), 2231–2236. http://dx.doi.org/10.1109/TIT.2011.2176915 doi: 10.1109/TIT.2011.2176915
This article has been cited by:
1.
Chi Yan, Chengliang Tian,
On the Stability of the Linear Complexity of Some Generalized Cyclotomic Sequences of Order Two,
2024,
12,
2227-7390,
2483,
10.3390/math12162483
2.
Chi Yan,
On the Error Linear Complexity of Some Generalized Cyclotomic Sequences of Order Two of Period pq
,
2024,
12,
2169-3536,
109210,
10.1109/ACCESS.2024.3438869
Tongjiang Yan, Pazilaiti Ainiwaer, Lianbo Du. On the 1-error linear complexity of two-prime generator[J]. AIMS Mathematics, 2022, 7(4): 5821-5829. doi: 10.3934/math.2022322
Tongjiang Yan, Pazilaiti Ainiwaer, Lianbo Du. On the 1-error linear complexity of two-prime generator[J]. AIMS Mathematics, 2022, 7(4): 5821-5829. doi: 10.3934/math.2022322