Efficient Algorithm for the Linear Complexity of Sequences and Some Related Consequences

The linear complexity of a sequence s is one of the measures of its predictability. It represents the smallest degree of a linear recursion which the sequence satisfies. There are several algorithms to find the linear complexity of a periodic sequence s of length N (where N is of some given form) over a finite field ${\mathbb{F}_q}$ in O(N) symbol field operations. The first such algorithm is The Games-Chan Algorithm which considers binary sequences of period 2n, and is known for its extreme simplicity. We generalize this algorithm and apply it efficiently for several families of binary sequences. Our algorithm is very simple, it requires βN bit operations for a small constant β, where N is the period of the sequence. We make an analysis on the number of bit operations required by the algorithm and compare it with previous algorithms. In the process, the algorithm also finds the recursion for the shortest linear feedback shift-register which generates the sequence. Some other interesting properties related to shift-register sequences, which might not be too surprising but generally unnoted, are also consequences of our exposition.

[1]  Tuvi Etzion,et al.  Construction of de Bruijn sequences of minimal complexity , 1984, IEEE Trans. Inf. Theory.

[2]  Hao Chen,et al.  Fast algorithms for determining the linear complexity of sequences over GF(p/sup m/) with period 2/sup t/n , 2005, IEEE Transactions on Information Theory.

[3]  Hao Chen,et al.  Fast Algorithms for Determining the Linear Complexity of Sequences Over GF With Period , 2005 .

[4]  Kenneth G. Paterson,et al.  Properties of the Error Linear Complexity Spectrum , 2009, IEEE Transactions on Information Theory.

[5]  Hao Chen,et al.  Reducing the Computation of Linear Complexities of Periodic Sequences Over ${\hbox {GF}}(p^m)$ , 2006, IEEE Transactions on Information Theory.

[6]  Guozhen Xiao,et al.  A fast algorithm for determining the minimal polynomial where of a sequence with period 2pn over GF(q) , 2002, IEEE Trans. Inf. Theory.

[7]  Wilfried Meidl,et al.  Reducing the calculation of the linear complexity of u2v-periodic binary sequences to Games–Chan algorithm , 2008, Des. Codes Cryptogr..

[8]  H. Fredricksen A Survey of Full Length Nonlinear Shift Register Cycle Algorithms , 1982 .

[9]  Belingeri Carlo,et al.  A generalization of the discrete fourier transform , 1995 .

[10]  de Ng Dick Bruijn A combinatorial problem , 1946 .

[11]  Simon R. Blackburn,et al.  Fast rational interpolation, Reed-Solomon decoding, and the linear complexity profiles of sequences , 1997, IEEE Trans. Inf. Theory.

[12]  Guozhen Xiao,et al.  A Fast Algorithm for Determining the Linear Complexity of a Sequence with Period Over GF , 2000 .

[13]  Richard A. Games,et al.  A fast algorithm for determining the complexity of a binary sequence with period 2n , 1983, IEEE Trans. Inf. Theory.

[14]  Allan O. Steinhardt,et al.  Fast algorithms for digital signal processing , 1986, Proceedings of the IEEE.

[15]  Tuvi Etzion,et al.  Algorithms for the generation of full-length shift-register sequences , 1984, IEEE Trans. Inf. Theory.

[16]  Patrick Fitzpatrick On the key equation , 1995, IEEE Trans. Inf. Theory.

[17]  Elwyn R. Berlekamp,et al.  Algebraic coding theory , 1984, McGraw-Hill series in systems science.

[18]  Richard A. Games,et al.  On the Complexities of de Bruijn Sequences , 1982, J. Comb. Theory, Ser. A.

[19]  James L. Massey,et al.  Shift-register synthesis and BCH decoding , 1969, IEEE Trans. Inf. Theory.

[20]  Hao Chen Reducing the Computation of Linear Complexities of Periodic Sequences over GF(pm) , 2006, ArXiv.

[21]  Moshe Schwartz,et al.  The structure of single-track Gray codes , 1999, IEEE Trans. Inf. Theory.

[22]  Harald Niederreiter,et al.  Introduction to finite fields and their applications: List of Symbols , 1986 .

[23]  R. A. Rueppel Analysis and Design of Stream Ciphers , 2012 .

[24]  Hu Chuan-Gan,et al.  On The Shift Register Sequences , 2004 .

[25]  Brochero MartínezFabio Enrique,et al.  Explicit factorization of xn – 1 ∈ Fq[x] , 2015 .

[26]  J.L. Massey,et al.  Theory and practice of error control codes , 1986, Proceedings of the IEEE.

[27]  Mark Stamp,et al.  An algorithm for the k-error linear complexity of binary sequences with period 2n , 1993, IEEE Trans. Inf. Theory.

[28]  Wilfried Meidl,et al.  On the calculation of the linear complexity of periodic sequences , 2009 .