Next Article in Journal
Mass-Preserving Approximation of a Chemotaxis Multi-Domain Transmission Model for Microfluidic Chips
Next Article in Special Issue
An Application of p-Fibonacci Error-Correcting Codes to Cryptography
Previous Article in Journal
Solving Regression Problems with Intelligent Machine Learner for Engineering Informatics
Previous Article in Special Issue
Ternary Menger Algebras: A Generalization of Ternary Semigroups
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Interleaving Shifted Versions of a PN-Sequence

by
Sara Díaz Cardell
1,
Amparo Fúster-Sabater
2,* and
Verónica Requena
3
1
Centro de Matemática, Computação e Cognição, Santo André 09210-580, SP, Brazil
2
Instituto de Tecnologías Físicas y de la Información, C.S.I.C., 28006 Madrid, Spain
3
Departamento de Matemáticas, Universidad de Alicante, 03690 Alicante, Spain
*
Author to whom correspondence should be addressed.
Mathematics 2021, 9(6), 687; https://doi.org/10.3390/math9060687
Submission received: 23 February 2021 / Revised: 17 March 2021 / Accepted: 19 March 2021 / Published: 23 March 2021
(This article belongs to the Special Issue Algebra and Number Theory)

Abstract

:
The output sequence of the shrinking generator can be considered as an interleaving of determined shifted versions of a single PN -sequence. In this paper, we present a study of the interleaving of a PN-sequence and shifted versions of itself. We analyze some important cryptographic properties as the period and the linear complexity in terms of the shifts. Furthermore, we determine the total number of the interleaving sequences that achieve each possible value of the linear complexity.

1. Introduction

Stream ciphers are fast encryption algorithms since they consist of applying a bit-wise XOR operation among the bits of the keystream sequence and the message to obtain the ciphertext. The same bit-wise XOR operation between the ciphertext and the keystream is done to recover the original message.
Many keystream generators are based on maximal-length Linear Feedback Shift Registers (LFSRs) [1] because they offer several advantages due to their performance. They also have an easy hardware and software implementation in cryptographic applications. For example, some widely used stream ciphers based on LFSRs are the cryptosystem E0 for Bluetooth [2], the A5/1 for GSM use [3], or the SNOW 2.0 used in UMTS 3G networks [4].
The output sequences of a maximal-length LFSR, whose characteristic polynomial is primitive, are called PN -sequences [5]. These sequences have the largest period and present good randomness properties as balancedness, large period, low correlation, excellent runs distribution, and so forth. However, they are easily predictable due to their inherent linearity. In order to break this linearity, but at the same time maintaining the pseudorandomness characteristics, different design techniques are applied—non-linear filtering, combinational generators, clock-controlled generators or the irregular decimation of PN-sequences, among others.
We focus our attention on a particular kind of stream ciphers based on LFSRs where an irregular decimation is applied: the class of shrinking generators [6,7,8,9,10]. The shrinking generator is a pseudorandom number generator based on a simple combination of two LFSRs which are clocked synchronously [7]. Its simplicity and efficiency of implementation, in addition to the generation of sequences with good cryptographic properties, make it suitable for its real use in stream cipher cryptosystems. For example, the shrinking generator is part of the internal structure of different stream ciphers as the EP0619659A2 [11], an European patent application; or the Decim v 2 , a hardware oriented stream cipher submitted to the ECRYPT Stream CipherProject (eSTREAM) [12], among other applications [6,13].
From the shrinking generator emerged a great family of decimation-based sequence generators, which are improved versions of this or themselves—the self-shrinking generator [10], the generalized self-shrinking generator [8], the modified self-shrinking generator [9] and the t-modified self-shrinking generator [14]; there exists a complete guide in [6] that offers a thorough study of all these generators, their fundamentals and applications. These generators are fast, easy and with low implementation costs to generate good cryptographic sequences. The authors of [15] presented a statistical and graphical study of the randomness of the sequences generated by the generalized self-shrinking generator that prove their suitability for cryptographic applications.
The output sequences of a shrinking generator, called shrunken sequences, have been widely studied in several mathematical fields in the last decades. For instance, they have been considered particular solutions of a kind of linear difference equations [16,17]; they have also been studied as the output sequences of linear elementary cellular automata (CA) [18]. Furthermore, the shrunken sequences can be expressed as the interleaving of shifted versions of a PN-sequence [19,20]. In [18], the authors determined how to compute the shifts of the interleaved sequences that compose the shrunken sequence. This fact can be used advantageously to design cryptanalytic attacks against this generator [18,21,22,23,24]. A natural way to deal with this vulnerability is to alter the shifts or interleave PN-sequences of different primitive polynomials. In this paper, we study the resultant sequences of interleaving shifted versions of the same PN-sequence with different shifts. We analyze the conditions that must satisfy these shifts to obtain interleaving sequences with high linear complexity and long period.
In Section 2, we introduce some preliminary concepts and results about the shrinking generator; we define the main concept of interleaving sequence and we check that the shrunken sequence can be expressed as an interleaving of PN-sequences. In Section 3, we analyze the period and the linear complexity of the resultant sequences of interleaving 2 t shifted versions of a given PN-sequence. We study, in depth, the cases of 2 and 4 interleaving sequences obtaining the amount of them which have certain values for linear complexity. In Section 4, we give some preliminary results about the case of interleaving t PN-sequences. In Section 6, we present the main conclusions of our research and the future work.

2. Interleaving Sequences in the Shrinking Generator

First of all, we recall the concept of decimation. The decimation of a sequence { v i } i 0 by d is a new sequence obtained by taking every d-th term of { v i } i 0 , that is, { v d · i } i 0 [25].
Let F 2 be the Galois field of two elements. In this section, we consider two maximal-length LFSRs, R 1 and R 2 , with characteristic polynomials p 1 ( x ) , p 2 ( x ) F 2 [ x ] , lengths L 1 and L 2 with L 1 < L 2 and gcd ( L 1 , L 2 ) = 1 , and T 1 = 2 L 1 1 and T 2 = 2 L 2 1 the periods of the corresponding PN-sequences, respectively. Besides, the PN-sequences generated by both registers are { a i } i 0 and { b i } i 0 , respectively, with a i , b i F 2 . From now on, we denote any sequence { v i } i 0 by { v i } , without loss of generality.
The shrinking generator [7] is composed of two maximal-length LFSRs, R 1 and R 2 , with the properties mentioned before. The PN-sequence { a i } generated by R 1 decimates the PN-sequence { b i } produced by R 2 . The decimation rule is very simple—given two bits a i and b i , for i = 0 , 1 , 2 , , of both PN-sequences, the output sequence { s j } is obtained as follows:
If a i = 1 , then s j = b i . If a i = 0 , then b i is discarded .
The sequence { s j } is called the shrunken sequence and its period is T = ( 2 L 2 1 ) 2 L 1 1 . The linear complexity of this sequence, denoted by L C , satisfies L 2 2 L 1 2 < L C L 2 2 L 1 1 and its characteristic polynomial has the form p ( x ) m , where 2 L 1 2 < m 2 L 1 1 and p ( x ) is a primitive polynomial of degree L 2 [26].
Notice that the shrunken sequence is obtained by irregular decimation of a PN-sequence, as we can see in the following example.
Example 1.
Consider R 1 the LFSR with characteristic polynomial p 1 ( x ) = 1 + x + x 2 and initial state { 11 } . Consider also R 2 the LFSR with characteristic polynomial p 2 ( x ) = 1 + x 2 + x 3 and initial state { 111 } . The shrunken sequence can be computed in the following way:
R 1 : 1 1 0 1 1 0 1 1 0 1 1 0 1 1 0 1 1 0 1 1 0 R 2 : 1 1 1 0 1 0 0 1 1 1 0 1 0 0 1 1 1 0 1 0 0 { s j } : 1 1 0 1 0 1 1 0 0 1 1 1 1 0 .
The sequence has period 14 and it is not difficult to check that its characteristic polynomial is p ( x ) 2 = ( 1 + x + x 3 ) 2 , consequently its linear complexity is 6.
It is worth mentioning that all the results that appear in this work are valid for large values of L, where L is the length of the LFSR that generates the corresponding PN-sequences in each case. We use small examples in order to illustrate the ideas. In practical applications, the recommended values in the shrinking case are L 1 , L 2 64 , so the key has at least 128 bits.
The following definition introduces one of the main concepts of this paper.
Definition 1.
We say that the sequence { s j } is obtained interleaving the sequences { u i ( 1 ) } , { u i ( 2 ) } , …, { u i ( t ) } , all of them of period T, if it has the following form:
{ s j } = u 0 ( 1 ) , u 0 ( 2 ) , , u 0 ( t ) , u 1 ( 1 ) , u 1 ( 2 ) , , u 1 ( t ) , , u T 1 ( 1 ) , u T 1 ( 2 ) , , u T 1 ( t ) .
We call this sequence a t-interleaving sequence.
From now on, we always consider that these t sequences { u i ( j ) } for j = 1 , 2 , , t , are (left circular) shifted versions of a given PN-sequence { u i } . Notice that, in this case, if the characteristic polynomial p ( x ) of { u i } is a primitive polynomial of degree L, then the resultant t-interleaving sequence is almost balanced as its number of 1s is t · 2 ( L 1 ) .
The following result shows us that the shrunken sequence is an ( 2 L 1 1 ) -interleaving sequence.
Theorem 1
([27] Theorem 3.1).The sequences obtained decimating by (distance) 2 L 1 1 the shrunken-sequence are PN-sequences with period T 2 . We call these sequences the interleaved PN-sequences of the shrunken sequence.
It is worth noticing that the 2 L 1 1 interleaved PN-sequences of the shrunken sequence correspond to shifted versions of the same PN-sequence. The following example illustrate the previous results.
Example 2.
Consider R 1 the LFSR with characteristic polynomial p 1 ( x ) = 1 + x 2 + x 3 , L 1 = 3 and initial state { 111 } . The corresponding PN-sequence has period T 1 = 7 . Consider also R 2 the LFSR with characteristic polynomial p 2 ( x ) = 1 + x 3 + x 4 , L 2 = 4 and initial state { 1111 } . The corresponding PN-sequence has period T 2 = 15 . The shrunken-sequence is given by:
{ s j } = { 111011010111011000111010000101011001101101001100001011111000 }
This sequence has period T = ( 2 L 2 1 ) 2 L 1 1 = 60 and it is possible to check that the characteristic polynomial is p ( x ) 16 = ( 1 + x + x 4 ) 4 , this is, L C = 16 . If we decimate the shrunken sequence by (distance) d = 2 L 1 1 = 4 , we obtain 4 PN-sequences:
{ s 4 · j } : 110001001101011 { s 4 · j + 1 } : 111100010011010 { s 4 · j + 2 } : 101111000100110 { s 4 · j + 3 } : 011010111100010
Notice that the characteristic polynomial of the four PN-sequences is p ( x ) = 1 + x + x 4 (the reciprocal polynomial of p 2 ( x ) ), that is, the four PN-sequences are shifted versions of the same sequence.
The next theorem shows us how to obtain the characteristic polynomial of the interleaved PN-sequences.
Theorem 2
([27] Theorem 3.3).The primitive polynomial p ( x ) that generates the interleaved PN-sequences of the shrunken sequence can be computed as
p ( x ) = x + α T 1 x + α 2 T 1 x + α 4 T 1 x + α 2 L 2 1 T 1 ,
where α F 2 L 2 is root of p 2 ( x ) . If L 2 = L 1 + 1 , then the polynomial p ( x ) is the reciprocal polynomial of p 2 ( x ) .
Note that the characteristic polynomial of the shrunken sequence is p ( x ) m , and p ( x ) only depends on p 2 ( x ) . The polynomial p 1 ( x ) only affects to the power m. In this way, given a fixed polynomial p 2 ( x ) , every primitive polynomial with degree L 1 would provide the same p ( x ) .
Example 3.
Consider again Example 2. Notice that
p ( x ) = x + α 7 x + α 14 x + α 28 x + α 56 = 1 + x + x 4 ,
where α F 2 4 is root of p 2 ( x ) = 1 + x 3 + x 4 . Observe that p ( x ) is the reciprocal polynomial of p 2 ( x ) .
It is worth noticing that if p ( x ) is the primitive polynomial that generates the interleaved PN-sequences of the shrunken sequence, then the polynomial p ( x ) 2 L 1 1 also generates the shrunken sequence. However, this polynomial might not be the characteristic polynomial. In some cases, the characteristic polynomial has the form p ( x ) m , with 2 L 1 2 < m < 2 L 1 1 .
The interleaved PN-sequences of the shrunken sequence are shifted versions of the same PN-sequence, and these shifts can be determined [18]. Denote each one of the 2 L 1 1 interleaved PN-sequences by:
{ v i } , v i + d 1 , v i + d 2 , , { v i + d 2 L 1 1 1 } .
The shifts d j , with j = 1 , 2 , 3 , , 2 L 1 1 1 , depend on the positions of the ones in the PN-sequence { a i } generated by p 1 ( x ) in the shrinking process. The following theorem gives us a way to compute these shifts.
Theorem 3
([18] Proposition 2).Let δ { 1 , 2 , 3 , , T 2 1 } , such that T 1 · δ = 1 mod T 2 . Denote by I = { 0 , i 1 , i 2 , , i 2 L 1 1 1 } the set of positions of the 1s in the PN-sequence { a i } generated by p 1 ( x ) in its first period. We have that
d j = δ · i j mod T 2 , j = 1 , 2 , , 2 L 1 1 1 .
Example 4.
Consider again Example 2. We have that the interleaved sequences of the shrunken sequence are:
{ s 4 · j } : 110001001101011 { s 4 · j + 1 } : 111100010011010 { s 4 · j + 2 } : 101111000100110 { s 4 · j + 3 } : 011010111100010
The four PN-sequences { s 4 · j + i } , for i = 0 , 1 , 2 , 3 , have the same characteristic polynomial p ( x ) = 1 + x + x 4 , thus all of them are shifted versions of the same PN-sequence. We can rename them as:
{ v i } : 1100010 0 ¯ 110 1 0 1 ̲ 1 { v i + d 1 } : 1 ̲ 11100010011010 { v i + d 2 } : 1 01111000100110 { v i + d 3 } : 0 ¯ 11010111100010
We consider, without loss of generality, that the last three PN-sequences are shifted versions of the first one. From Theorem 3, we know that these shifts d j , for j = 1 , 2 , 3 , depend on the ones in the PN-sequence { a i } generated by p 1 ( x ) = 1 + x 2 + x 3 in the shrinking process. In order to obtain these values, we have to find a value δ such that 7 · δ = 1 mod 15 . In this case, δ = 13 . Now, we know that the ones in { a i } are in the positions { 0 , 1 , 2 , 4 } , thus:
d 1 = 13 · 1 mod 15 d 1 = 13 d 2 = 13 · 2 mod 15 d 2 = 11 d 3 = 13 · 4 mod 15 d 3 = 7
and, therefore, { a i } = 1 1 1 0 1 0 0 .
It is easy to check (see Equation (1)) that the second PN-sequence { v i + d 1 } starts in the 13-th position of the first PN-sequence { v i } (underlined bit), the third { v i + d 2 } in the 11-th position (bit in bold) and the last one { v i + d 3 } in the 7-th position (overlined bit).
The weakness of the shrunken sequence lies in the fact that the shifts of the interleaved sequences can be determined. This means that, a shrunken sequence cannot be obtained from some random shifted versions of a given PN-sequence; on the contrary, the shifts are known as we saw before. In this fact our research begins.

3. Interleaving 2 t Shifted Versions of the Same PN-Sequence

In this section, we study the resultant sequences of interleaving any shifted versions of the same PN-sequence, that is, the so-called t-interleaving sequences. We determine certain conditions on the shifts in order to obtain interleaving sequences with high linear complexity, long period and good cryptographic properties.
In the following subsections, we analyze the cases of interleaving 2 and 4 shifted versions of a same PN-sequence with a view to establish general conditions for the 2 t PN-sequences case.

3.1. Analysis of 2-Interleaving Sequences

Consider a primitive polynomial p ( x ) of degree L. If we interleave two shifted versions of the same PN-sequence of period T = 2 L 1 , then the period of the resultant 2-interleaving sequence, denoted by T , must be a divisor of 2 T . Our main interest lies in the study of its linear complexity L C , since a large linear complexity it is an important cryptographic property in order to resist against cryptanalytic attacks.
By means of the following theorem we can narrow down the possible values of L C for the 2-interleaving sequences.
Lemma 1.
If we interleave two shifted versions of the same PN-sequence generated by the primitive polynomial p ( x ) , then the resultant 2-interleaving sequence can be generated by p ( x ) 2 .
Proof. 
Assume that we have the PN-sequence { a i } with characteristic polynomial
p ( x ) = p 0 + p 1 x + p 2 x 2 + + p L 1 x L 1 + x L ;
this means that the PN-sequence { a i } satisfies the linear recurrence relation:
a i + L = p 0 a i + p 1 a i + 1 + p 2 a i + 2 + + p L 1 a i + L 1 .
Consider now a shifted version of { a i } :
{ a i + k } = a k , a k + 1 , , a k + 2 L 2 .
We know that the PN-sequence { a i + k } also satisfies the linear recurrence relation (2) and the sequence obtained by interleaving { a i } and { a i + k } has the following form:
{ s j } = { a 0 , a k , a 1 , a k + 1 , a 2 , a k + 2 , } .
Denote the two PN-sequences as { u i } = { a i } and { v i } = { a i + k } , for i = 0 , 1 , , 2 L 2 . We know that
u i + L = p 0 u i + p 1 u i + 1 + p 2 u i + 2 + + p L 1 u i + L 1 v i + L = p 0 v i + p 1 v i + 1 + p 2 v i + 2 + + p L 1 v i + L 1
and
u i = a i = s 2 i v i = a i + k = s 2 i + 1 .
If we substitute the corresponding bits of { s j } in (3), we have that:
s 2 i + 2 L = p 0 s 2 i + p 1 s 2 i + 2 + p 2 s 2 i + 4 + + p L 1 s 2 i + 2 L 2 s 2 i + 2 L + 1 = p 0 s 2 i + 1 + p 1 s 2 i + 3 + p 2 s 2 i + 5 + + p L 1 s 2 i + 2 L 1 .
Now, if we substitute j = 2 i , we have that:
s j + 2 L = p 0 s j + p 1 s j + 2 + p 2 s j + 4 + + p L 1 s j + 2 L 2 s j + 2 L + 1 = p 0 s j + 1 + p 1 s j + 3 + p 2 s j + 5 + + p L 1 s j + 2 L 1 .
This means that { s j } satisfies the linear recurrence relation:
s j + 2 L = p 0 s j + p 1 s j + 2 + p 2 s j + 4 + + p L 1 s j + 2 L 2
and, thus,
p ( x ) 2 = p 0 + p 1 x 2 + p 2 x 4 + + p L 1 x 2 ( L 1 ) + x 2 L
generates the sequence { s j } .  □
Notice that if p ( x ) 2 generates the 2-interleaving sequence, then its characteristic polynomial must be p ( x ) 2 or p ( x ) . Thus, the linear complexity of the sequence must be L C = 2 L or L C = L , respectively. Moreover, the total number of 2-interleaving sequences, using different shifts, is T 2 .
The following theorem shows that, given a PN-sequence { a i } and a shifted version of itself with shift k 2 L 1 , the characteristic polynomial of the 2-interleaving sequence { s j } cannot be the same characteristic polynomial as that of { a i } . In other words, the shift k = 2 L 1 is the only shift that produces a 2-interleaving sequence with L C = L .
Theorem 4.
Consider the PN-sequence { a i } generated by a primitive polynomial p ( x ) of degree L and { a i + k } a version of { a i } shifted k positions. If k 2 L 1 , then the resultant 2-interleaving sequence { s j } cannot be the PN-sequence { a i } neither a shifted version of it.
Proof. 
Consider the PN-sequences:
{ a i } : a 0 a 1 a 2 a 3 a 2 L 2 { a i + k } : a k a k + 1 a k + 2 a k + 3 a k + 2 L 2
and the resultant 2-interleaving sequence
{ s j } = a 0 , a k , a 1 , a k + 1 , a 2 , a k + 2 , , a 2 L 2 , a k + 2 L 2 ,
with period divisor of 2 T , where T = 2 L 1 is the period of { a i } .
We proceed by contradiction. Assume that p ( x ) is the characteristic polynomial of { s j } , thus { s j } would be the PN-sequence { a i } or a shifted version. In this case, we would have that { s j } = { a i + D } with D { 0 , 1 , , 2 L 2 } , that is, the PN-sequence { a i } shifted D positions and concatenated with itself. Therefore, we can equal one by one the corresponding terms of both subsequences:
a 0 = a k + ( 2 L 1 1 ) a 1 = a k + ( 2 L 1 1 ) + 1 a 2 = a k + ( 2 L 1 1 ) + 2 a a a 2 L 1 1 = a k + ( 2 L 1 1 ) + ( 2 L 1 1 ) a k = a 2 L 1 a k + 1 = a 2 L 1 + 1 a k + 2 = a 2 L 1 + 2 a a a k + 2 L 1 2 = a 2 L 1 + 2 L 1 2 .
Rewriting these equalities, we have that:
a 0 = a k + ( 2 L 1 1 ) a 1 = a k + ( 2 L 1 1 ) + 1 a 2 = a k + ( 2 L 1 1 ) + 2 a a a 2 L 1 1 = a k + ( 2 L 1 1 ) + ( 2 L 1 1 ) a 2 L 1 = a k = a k + ( 2 L 1 1 ) + ( 2 L 1 ) a 2 L 1 + 1 = a k + 1 = a k + ( 2 L 1 1 ) + ( 2 L 1 ) + 1 a 2 L 1 + 2 = a k + 2 = a k + ( 2 L 1 1 ) + ( 2 L 1 ) + 2 a a a 2 L 1 + 2 L 1 2 = a k + 2 L 1 2 = a k + ( 2 L 1 1 ) + ( 2 L 1 ) + 2 L 1 2 .
In a succinct way, we can write:
a i = a k + ( 2 L 1 1 ) + i for i = 0 , 1 , , 2 L 2 ,
where the elements of the first member in the equalities are the terms of { a i } while the elements of the second member are the terms of a k + ( 2 L 1 1 ) + i , a shifted version of { a i } . If we write d = k + ( 2 L 1 1 ) , then Equation (4) can be expressed as:
a i + a d + i = 0 for i = 0 , 1 , , 2 L 2 .
Therefore, in sequential notation
{ a i } + { a d + i } = { 0 } ,
where { 0 } is the identically null sequence. In order to satisfy Equation (5) d must satisfy d = k + ( 2 L 1 1 ) = 0 ( mod T ) , that is, Equation (5) can be rewritten as:
{ a i } + { a 0 + i } = { 0 } ,
which is true since the bit-wise XOR of any sequence with itself is the identically null sequence.
If d = k + ( 2 L 1 1 ) = 0 mod T , then k + ( 2 L 1 1 ) = n · T , for some n Z . Since both k and n are integers, it is possible to check that the only possible solutions are k = 2 L 1 + n · T , n Z . Finally, we are working modulo T, therefore the only possible solution is k = 2 L 1 .  □
Next result proves that the interleaving of a PN-sequence with any shifted version of itself, except one, produces a new sequence with maximum period and L C = 2 L .
Corollary 1.
Consider the PN-sequence { a i } generated by a primitive polynomial p ( x ) of degree L and period T = 2 L 1 . If we interleave { a i } with the shifted version of itself given by { a i + k } , with k 2 L 1 , the resultant 2-interleaving sequence has p ( x ) 2 as characteristic polynomial and period T = 2 T .
Proof. 
We have that the PN-sequences
{ a i } : a 0 a 1 a 2 a 3 a 2 L 2 { a i + 2 L 1 } : a 2 L 1 a 2 L 1 + 1 a 2 L 1 + 2 a 2 L 1 + 3 a 2 L 1 + 2 L 2
produce the 2-interleaving sequence given by:
{ s j } = { a 0 , a k , a 1 , a k + 1 , a 2 , a k + 2 , } .
According to Lemma 1, { s j } can be generated by p ( x ) 2 . Now, according to Theorem 4, since k 2 L 1 , we have that { s j } cannot be the PN-sequence { a i } (or a shifted version); therefore, p ( x ) 2 is the characteristic polynomial of { s j } .  □

3.2. Analysis of 4-Interleaving Sequences

Consider a primitive polynomial p ( x ) of degree L. If we interleave four shifted versions of the same PN-sequence of period T = 2 L 1 , then the period of the 4-interleaving sequence must be a divisor of 4 T . However, in this subsection, we go in depth in the study of the linear complexity of these sequences by its importance in cryptography.
The following result is a generalization of Lemma 1 and narrows down the possible values of L C .
Lemma 2.
Consider a PN-sequence { a i } generated by a primitive polynomial p ( x ) of degree L and period T = 2 L 1 . If we interleave four shifted versions of { a i } , then the resultant 4-interleaving sequence can be generated by p ( x ) 4 .
Proof. 
Assume that we have the PN-sequence { a i } with characteristic polynomial:
p ( x ) = p 0 + p 1 x + p 2 x 2 + + p L 1 x L 1 + x L ;
this means that the PN-sequence { a i } satisfies the linear recurrence relation:
a i + L = p 0 a i + p 1 a i + 1 + p 2 a i + 2 + + p L 1 a i + L 1 .
Consider now { a i } and any three PN-sequences shifted versions of { a i } :
{ a i } : a 0 a 1 a 2 a 3 a 2 L 2 { a i + k 1 } : a k 1 a k 1 + 1 a k 1 + 2 a k 1 + 3 a k 1 + 2 L 2 { a i + k 2 } : a k 2 a k 2 + 1 a k 2 + 2 a k 2 + 3 a k 2 + 2 L 2 { a i + k 3 } : a k 3 a k 3 + 1 a k 3 + 2 a k 3 + 3 a k 3 + 2 L 2
The resultant 4-interleaving sequence has the following form:
{ s j } = { a 0 , a k 1 , a k 2 , a k 3 , a 1 , a k 1 + 1 , a k 2 + 1 , a k 3 + 1 , a 2 , a k 1 + 2 , a k 2 + 2 , a k 3 + 2 , } .
We know that all three shifted versions, { a i + k 1 } , { a i + k 2 } , and { a i + k 3 } , also satisfy the linear recurrence relation (6). If we denote by:
{ u i ( 0 ) } = { a i } { u i ( 1 ) } = { a i + k 1 } { u i ( 2 ) } = { a i + k 2 } { u i ( 3 ) } = { a i + k 3 }
for i = 0 , 1 , , 2 L 2 , we have that:
u i + L ( 0 ) = p 0 u i ( 0 ) + p 1 u i + 1 ( 0 ) + p 2 u i + 2 ( 0 ) + + p L 1 u i + L 1 ( 0 ) u i + L ( 1 ) = p 0 u i ( 1 ) + p 1 u i + 1 ( 1 ) + p 2 u i + 2 ( 1 ) + + p L 1 u i + L 1 ( 1 ) u i + L ( 2 ) = p 0 u i ( 2 ) + p 1 u i + 1 ( 2 ) + p 2 u i + 2 ( 2 ) + + p L 1 u i + L 1 ( 2 ) u i + L ( 3 ) = p 0 u i ( 3 ) + p 1 u i + 1 ( 3 ) + p 2 u i + 2 ( 3 ) + + p L 1 u i + L 1 ( 3 )
and
{ u i ( 0 ) } = { a i } = { s 4 i } { u i ( 1 ) } = { a i + k 1 } = { s 4 i + 1 } { u i ( 2 ) } = { a i + k 2 } = { s 4 i + 2 } { u i ( 3 ) } = { a i + k 3 } = { s 4 i + 3 } .
If we substitute the corresponding bits of { s j } in (7), we have that
s 4 i + 4 L = p 0 s 4 i + p 1 s 4 i + 4 + p 2 s 4 i + 8 + + p L 1 s 4 i + 4 L 4 s 4 i + 4 L + 1 = p 0 s 4 i + 1 + p 1 s 4 i + 5 + p 2 s 4 i + 9 + + p L 1 s 4 i + 4 L 3 s 4 i + 4 L + 2 = p 0 s 4 i + 2 + p 1 s 4 i + 6 + p 2 s 4 i + 10 + + p L 1 s 4 i + 4 L 2 s 4 i + 4 L + 3 = p 0 s 4 i + 3 + p 1 s 4 i + 7 + p 2 s 4 i + 11 + + p L 1 s 4 i + 4 L 1 .
Now, if we substitute j = 4 i , we have that:
s j + 4 L = p 0 s j + p 1 s j + 4 + p 2 s j + 8 + + p L 1 s j + 4 L 4 s j + 4 L + 1 = p 0 s j + 1 + p 1 s j + 5 + p 2 s j + 9 + + p L 1 s j + 4 L 3 s j + 4 L + 2 = p 0 s j + 2 + p 1 s j + 6 + p 2 s j + 10 + + p L 1 s j + 4 L 2 s j + 4 L + 3 = p 0 s j + 3 + p 1 s j + 7 + p 2 s j + 11 + + p L 1 s j + 4 L 1 .
This means that { s j } satisfies the linear recurrence relation:
s j + 4 L = p 0 s j + p 1 s j + 4 + p 2 s j + 8 + + p L 1 s j + 4 L 4
and, thus,
p ( x ) 4 = p 0 + p 1 x 4 + p 2 x 8 + + p L 1 x 4 ( L 1 ) + x 4 L
generates the sequence { s j } .  □
As a consequence of the previous lemma, the only possibilities for the characteristic polynomial of the 4-interleaving sequence are p ( x ) , p ( x ) 2 , p ( x ) 3 or p ( x ) 4 , that is, its linear complexity is L , 2 L , 3 L or 4 L , respectively. Moreover, the total number of 4-interleaving sequences, using different shifts, is T 4 .

3.2.1. Analysis of 4-Interleaving Sequences with L C = L

In this subsection, we do an exhaustive study on the linear complexity of the 4-interleaving sequences. Furthermore, we count the total number of 4-interleaving sequences for different values of L C .
The following theorem provides the shifts that produce 4-interleaving sequences with linear complexity L C = L .
Theorem 5.
Consider a PN-sequence { a i } generated by a primitive polynomial p ( x ) of degree L and period T = 2 L 1 . If we interleave 4 shifted versions of { a i } , with shifts k 1 = 2 L 2 , k 2 = 2 · 2 L 2 and k 3 = 3 · 2 L 2 , the resultant 4-interleaving sequence has L C = L and period T = 2 L 1 .
Proof. 
Consider the four PN-sequences:
{ a i } : a 0 a 1 a 2 a 3 a 2 L 2 { a i + 2 L 2 } : a 2 L 2 a 2 L 2 + 1 a 2 L 2 + 2 a 2 L 2 + 3 a 2 L 2 + 2 L 2 { a i + 2 · 2 L 2 } : a 2 · 2 L 2 a 2 · 2 L 2 + 1 a 2 · 2 L 2 + 2 a 2 · 2 L 2 + 3 a 2 · 2 L 2 + 2 L 2 { a i + 3 · 2 L 2 } : a 3 · 2 L 2 a 3 · 2 L 2 + 1 a 3 · 2 L 2 + 2 a 3 · 2 L 2 + 3 a 3 · 2 L 2 + 2 L 2 ,
where indices are considered modulo T. The resultant 4-interleaving sequence has the form:
{ s j } = { a 0 , a 2 L 2 , a 2 · 2 L 2 , a 3 · 2 L 2 , a 1 , a 2 L 2 + 1 , a 2 · 2 L 2 + 1 , a 3 · 2 L 2 + 1 , a 2 , a 2 L 2 + 2 , a 2 · 2 L 2 + 2 , a 3 · 2 L 2 + 2 , } .
Notice that:
4 · 2 L 2 mod T = 2 L mod T = 1 5 · 2 L 2 mod T = ( 2 L 2 + 4 · 2 L 2 ) mod T = 2 L 2 + 1 6 · 2 L 2 mod T = ( 2 · 2 L 2 + 4 · 2 L 2 ) mod T = 2 · 2 L 2 + 1 7 · 2 L 2 mod T = ( 3 · 2 L 2 + 4 · 2 L 2 ) mod T = 3 · 2 L 2 + 1 8 · 2 L 2 mod T = 2 · 2 L mod T = 2 =
so, we can express:
{ s j } = { a 0 , a 2 L 2 , a 2 · 2 L 2 , a 3 · 2 L 2 , a 4 · 2 L 2 , a 5 · 2 L 2 , a 6 · 2 L 2 , } = { a i 2 L 2 } ;
that is, the sequence { s j } can be also obtained decimating { a i } by distance d = 2 L 2 . According to Golomb [1] (page 76), if we decimate a PN-sequence with distance a power of two, we obtain the same PN-sequence except for a phase shift. Therefore, { s j } is a shifted version of { a i } and L C = L .  □
Next, we present two examples to illustrate the previous result.
Example 5.
Consider the primitive polynomial p ( x ) = 1 + x + x 4 , that is, L = 4 . We consider the initial state { 1111 } for the PN-sequence { a i } and, the shifts k 1 = 2 L 2 = 4 , k 2 = 2 · 2 L 2 = 8 , k 3 = 3 · 2 L 2 = 12 . The corresponding PN-sequences are:
{ a i } : 1111 0 ̲ 001 0 011 0 ¯ 10 { a i + 4 } : 0 ̲ 00100110101111 { a i + 8 } : 0 01101011110001 { a i + 12 } : 0 ¯ 10111100010011
and the resultant 4-interleaving sequence is:
{ s j } = { 100010011010111 100010011010111 1 100010011010111 100010011010111 } .
Notice that { s j } = { a 4 · i } = { a i + 3 } , that is, the 4-interleaving sequence is a shifted version of { a i } (starting in the third bit of { a i } ). Therefore, its linear complexity is L C = L = 4 .
Example 6.
Consider the primitive polynomial p ( x ) = 1 + x 2 + x 5 , that is, L = 5 . We consider the initial state { 11111 } for { a i } and k 1 = 2 L 2 = 8 , k 2 = 2 · 2 L 2 = 16 , k 3 = 3 · 2 L 2 = 24 . The corresponding PN-sequences are:
{ a i } : 11111000 1 ̲ 1011101 0 1000010 0 ¯ 101100 { a i + 8 } : 1 ̲ 101110101000010010110011111000 { a i + 16 } : 0 100001001011001111100011011101 { a i + 24 } : 0 ¯ 101100111110001101110101000010
The resultant 4-interleaving sequence is:
{ s j } = { 1100111110001101110101000010010 1100111110001101110101000010010 1 1100111110001101110101000010010 1100111110001101110101000010010 }
Notice that { s j } = { a 8 · i } = { a i + 27 } , that is, { s j } is a shifted version of { a i } (starting in the 27-th bit of { a i } ). Therefore, L C = 5 .
As a consequence of Theorem 5, we can count the number of 4-interleaving PN-sequences with linear complexity L C = L .
Corollary 2.
If we interleave 4 shifted versions of the same PN-sequence of period T and L C = L , then there are T possible resultant 4-interleaving sequences with L C = L and period T = 2 L 1 .
Proof. 
Since k 1 , k 2 and k 3 are fixed, the resultant sequence depends on the initial state of { a i } . We have T = 2 L 1 possible non-zero initial states for { a i } , therefore we have T different interleaving sequences with L C = L .  □

3.2.2. Interleaving Sequences with L C = 2 L

As we did in the previous subsection, here we study which shifts provide 4-interleaving PN-sequences with linear complexity L C = 2 L .
Theorem 6.
If we interleave 4 shifted versions of the same PN-sequence of period T = 2 L 1 , with shifts k 1 2 L 2 , k 2 = 2 L 1 and k 3 = k 1 + 2 L 1 mod T , the resultant 4-interleaving sequence has L C = 2 L and period T = 2 T .
Proof. 
Consider the four PN-sequences:
{ a i } : a 0 a 1 a 2 a 3 a 2 L 2 { a i + k 1 } : a k 1 a k 1 + 1 a k 1 + 2 a k 1 + 3 a k 1 + 2 L 2 { a i + 2 L 1 } : a 2 L 1 a 2 L 1 + 1 a 2 L 1 + 2 a 2 L 1 + 3 a 2 L 1 + 2 L 2 { a i + k 1 + 2 L 1 } : a k 1 + 2 L 1 a k 1 + 2 L 1 + 1 a k 1 + 2 L 1 + 2 a k 1 + 2 L 1 + 3 a k 1 + 2 L 1 + 2 L 2
where the indices are considered modulo T. The resultant interleaving sequence has the form:
{ s j } = { a 0 , a k 1 , a 2 L 1 , a k 1 + 2 L 1 , a 1 , a k 1 + 1 , a 2 L 1 + 1 , a k 1 + 2 L 1 + 1 , a 2 , a k 1 + 2 , a 2 L 1 + 2 , a k 1 + 2 L 1 + 2 , } .
Notice that { s j } is also obtained interleaving the two sequences:
{ u i ( 1 ) } = { a 0 , a 2 L 1 , a 1 , a 2 L 1 + 1 , a 2 , a 2 L 1 + 2 , } { u i ( 2 ) } = { a k 1 , a k 1 + 2 L 1 , a k 1 + 1 , a k 1 + 2 L 1 + 1 , a k 1 + 2 , a k 1 + 2 L 1 + 2 , }
Both sequences, { u i ( 1 ) } and { u i ( 2 ) } , are obtained decimating { a i } and { a i + k 1 } , respectively, by distance d = 2 L 1 ; therefore, both are shifted versions of { a i } [1] (page 76). According to Theorem 1, if { u i ( 2 ) } = { u i + d ( 1 ) } with d = 2 L 1 (the phase shift between both PN-sequences is 2 L 1 ), then the 2-interleaving sequence is a shifted version of the same PN-sequence and has L C = L .
Notice that:
2 · 2 L 1 mod T = 2 L mod T = 1 3 · 2 L 1 mod T = ( 2 L 1 + 2 L ) mod T = 2 L 1 + 1 4 · 2 L 1 mod T = 2 · 2 L mod T = 2 5 · 2 L 1 mod T = ( 2 L 1 + 2 · 2 L ) mod T = 2 L 1 + 2 =
According to (8), we have that:
{ u i ( 1 ) } = { a 0 , a 2 L 1 , a 2 · 2 L 1 , a 3 · 2 L 1 , a 4 · 2 L 1 , a 5 · 2 L 1 , } ,
therefore, { u i ( 1 ) } = { a i · 2 L 1 } . If { u i ( 2 ) } = { u i + 2 L 1 ( 1 ) } , this means that the PN-sequence { u i ( 2 ) } starts in the 2 L 1 -th position of { u i ( 1 ) } , that is:
{ u i ( 2 ) } = { a 2 L 1 · 2 L 1 , a ( 2 L 1 + 1 ) · 2 L 1 , a ( 2 L 1 + 2 ) · 2 L 1 , } ;
therefore, k 1 = 2 2 L 2 mod T = 2 L 2 . However, we know that k 1 2 L 2 .
According to Theorem 4, the only shift that gives us a 2-interleaving sequence with L C = L is d = 2 L 1 , which we have seen that is impossible. Thus, according to Lemma 1, the polynomial p ( x ) 2 generates { s j } and must also be the characteristic polynomial.
Notice that if k 1 = 2 L 2 , then k 2 = 2 · 2 L 2 and k 3 = 3 · 2 L 2 , and we have the case studied in Theorem 5.  □
Through the following example, we illustrate the previous result.
Example 7.
Consider the primitive polynomial p ( x ) = 1 + x 2 + x 5 , that is, L = 5 . We consider the initial state { 11111 } for { a i } and k 1 = 6 2 3 , k 2 = 2 4 = 16 , k 3 = 6 + 2 4 = 22 . The corresponding PN-sequences are:
{ a i } : 111110 0 ̲ 011011101 0 10000 1 ¯ 00101100 { a i + 6 } : 0 ̲ 011011101010000100101100111110 { a i + 16 } : 0 100001001011001111100011011101 { a i + 22 } : 1 ¯ 001011001111100011011101010000
and the 4-interleaving sequence obtained is:
{ s j } = { 10011010110011011000010101110100100011110001111110111001000010 10011010110011011000010101110100100011110001111110111001000010 }
which has period equal to 62 and L C = 10 . Moreover, its characteristic polynomial is p ( x ) 2 = ( 1 + x 2 + x 5 ) 2 .
As a consequence of Theorem 6, we can count the number of 4-interleaving sequences with L C = 2 L .
Corollary 3.
If we interleave 4 shifted versions of the same PN-sequence of period T and L C = L , then we obtain T ( T 1 ) possible 4-interleaving sequences of L C = 2 L .
Proof. 
The shift between the first and third sequences (and the second and the fourth) is fixed. Therefore, the resultant sequence depends on the initial state of { a i } and k 1 . We have T = 2 L 1 possible non-zero initial states for { a i } and T 1 possible values for k 1 , thus, we have T ( T 1 ) different 4-interleaving sequences with L C = 2 L .  □
Until now, we have characterized the 4-interleaving sequences with linear complexities L and 2 L . For the cases L C = 3 L and L C = 4 L we do not have any conclusive results. We have analyzed them computationally, obtaining expressions to count the number of interleaving sequences with these linear complexities. We need only to compute one of both cases, since that the other one would be immediate.
Table 1 shows the total number of 4-interleaving sequences that are generated for each possible value of L C . Observe that the number of the 4-interleaving sequences does not depend on the characteristic polynomial, only on its degree. The expression at the bottom of the table represents the total number of 4-interleaving sequences.
Notice that when L is large the number of interleaving sequences with maximal linear complexity, L C = 4 L , tends to the total amount of interleaving sequences; that is,
lim L T 4 T 3 T 2 T T 4 = 1 .
Therefore, we can ensure that the great majority of the 4-interleaving sequences have the maximal linear complexity.
In Appendix A, we present several examples where we compute the number of 4-interleaving sequences for each possible value of the linear complexity using polynomials with different degrees (see Table A2).

3.3. Analysis of 2 t -Interleaving Sequences

In this section, we generalize some of the results obtained in Section 3.1 and Section 3.2.
Consider a primitive polynomial p ( x ) of degree L. If we interleave 2 t shifted versions of the same PN-sequence of period T = 2 L 1 , then the period of the resultant interleaving sequence must be a divisor of ( 2 t · T ) . We determine the period and the linear complexity of 2 t -interleaving sequences.
The following result is a generalization of Lemmas 1 and 2 and narrows down the possible values of L C . The proof can be implemented using a similar method as that used in the proof of Lemma 2.
Lemma 3.
If we interleave 2 t shifted versions of the same PN-sequence generated by the primitive polynomial p ( x ) , the resultant 2 t -interleaving sequence can be generated by p ( x ) 2 t .
As a consequence of the previous lemma, we have that the possibilities for the characteristic polynomial are p ( x ) , p ( x ) 2 , p ( x ) 3 , , p ( x ) 2 t , that is, the possible values for the linear complexity are L , 2 L , 3 L , , or 2 t L

3.3.1. Analysis of 2 t -Interleaving Sequences with L C = L

Next theorem determines the shifts that provide 2 t -interleaving sequences with L C = L .
Theorem 7.
If we interleave 2 t shifted versions of the same PN-sequence of period T = 2 L 1 with shifts k 1 = 2 L t , k 2 = 2 · 2 L t , k 3 = 3 · 2 L t ,…, k 2 t 1 = ( 2 t 1 ) · 2 L t , then the resultant 2 t -interleaving sequence has L C = L and period T = 2 L 1 .
Proof. 
Applying induction in the proof of Theorem 5.  □
Through the following example, we reflect the previous result.
Example 8.
Consider the primitive polynomial p ( x ) = 1 + x + x 2 + x 3 + x 5 , where L = 5 and T = 31 . Consider the initial state { 11111 } for { a i } and k 1 = 2 5 3 = 4 , k 2 = 2 · 4 = 8 , k 3 = 3 · 4 = 12 , k 4 = 4 · 4 = 16 , k 5 = 5 · 4 = 20 , k 6 = 6 · 4 = 24 and k 7 = 7 · 4 = 28 . The corresponding PN-sequences are:
{ a i } : 1 111 1 001 0 011 0 000 1 011 0 101 0 001 1 10 { a i + 4 } : 1001001100001011010100011101111 { a i + 8 } : 0011000010110101000111011111001 { a i + 12 } : 0000101101010001110111110010011 { a i + 16 } : 1011010100011101111100100110000 { a i + 20 } : 0101000111011111001001100001011 { a i + 24 } : 0001110111110010011000010110101 { a i + 28 } : 1101111100100110000101101010001
The resultant 8-interleaving sequence is:
{ s j } = { 1100100110000101101010001110111 1 1100100110000101101010001110111 } .
Notice that { s j } = { a 4 · i } = { a i + 3 } , that is, a shifted version of { a i } (starting in the 3rd bit of { a i } ). Therefore, its linear complexity is L C = 5 .
As a result of the previous theorem, we can count the number of 2 t -interleaving sequences with L C = L .
Corollary 4.
If we interleave 2 t PN-sequences of period T and L C = L , produced by the same LFSR, then there are T resultant 2 t -interleaving sequences with linear complexity L C = L and period T.
Proof. 
Since k 1 , k 2 , k 2 t 1 are fixed, the resultant 2 t -interleaving sequence depends only on the initial state of { a i } . We have T = 2 L 1 possible non-zero initial states for { a i } , therefore, we have T different 2 t -interleaving sequences with L C = L .  □

3.3.2. Analysis of 2 t -Interleaving Sequences with LC = 2L

Next, we present the shifts that produce 2 t -interleaving sequences with L C = 2 L .
Theorem 8.
If we interleave 2 t shifted versions of the same PN-sequence of period T = 2 L 1 with shifts k 1 2 L t , k 2 p = p · 2 L t + 1 , k 2 p + 1 = k 1 + p · 2 L t + 1 , for p = 1 , 2 , , 2 t 1 1 , the resultant 2 t -interleaving sequence has L C = 2 L and period T = 2 ( 2 L 1 ) .
Proof. 
We first analyze the mentioned shifts:
k 1 2 L t k 2 = 2 L t + 1 k 3 = k 1 + 2 L t + 1 k 4 = 2 · 2 L t + 1 k 5 = k 1 + 2 · 2 L t + 1 k 6 = 3 · 2 L t + 1 k 7 = k 1 + 3 · 2 L t + 1 k 2 t 2 = ( 2 t 1 1 ) · 2 L t + 1 k 2 t 1 = k 1 + ( 2 t 1 1 ) · 2 L t + 1 .
Consider now the 2 t PN-sequences: -4.6cm0cm
{ a i } : a 0 a 1 a 2 a 2 L 2 { a i + k 1 } : a k 1 a k 1 + 1 a k 1 + 2 a k 1 + 2 L 2 { a i + k 2 } : a 2 L t + 1 a 2 L t + 1 + 1 a 2 L t + 1 + 2 a 2 L t + 1 + 2 L 2 { a i + k 3 } : a k 1 + 2 L t + 1 a k 1 + 2 L t + 1 + 1 a k 1 + 2 L t + 1 + 2 a k 1 + 2 L t + 1 + 2 L 2 { a i + k 4 } : a 2 · 2 L t + 1 a 2 · 2 L t + 1 + 1 a 2 · 2 L t + 1 + 2 a 2 · 2 L t + 1 + 2 L 2 { a i + k 5 } : a k 1 + 2 · 2 L t + 1 a k 1 + 2 · 2 L t + 1 + 1 a k 1 + 2 · 2 L t + 1 + 2 a k 1 + 2 · 2 L t + 1 + 2 L 2 { a i + k 2 t 2 } : a ( 2 t 1 1 ) · 2 L t + 1 a ( 2 t 1 1 ) · 2 L t + 1 + 1 a ( 2 t 1 1 ) · 2 L t + 1 + 2 a ( 2 t 1 1 ) · 2 L t + 1 + 2 L 2 { a i + k 2 t 1 } : a k 1 + ( 2 t 1 1 ) · 2 L t + 1 a k 1 + ( 2 t 1 1 ) · 2 L t + 1 + 1 a k 1 + ( 2 t 1 1 ) · 2 L t + 1 + 2 a k 1 + ( 2 t 1 1 ) · 2 L t + 1 + 2 L 2 ,
where indices are considered modulo T. The resultant 2 t -interleaving sequence has the form:
{ s j } = { a 0 , a k 1 , a 2 L t + 1 , a k 1 + 2 L t + 1 , a 2 · 2 L t + 1 , a k 1 + 2 · 2 L t + 1 , a 3 · 2 L t + 1 , a k 1 + 3 · 2 L t + 1 , } .
Notice that { s j } is also obtained interleaving the two sequences:
{ u i ( 1 ) } = { a 0 , a 2 L t + 1 , a 2 · 2 L t + 1 , a 3 · 2 L t + 1 , } { u i ( 2 ) } = { a k 1 , a k 1 + 2 L t + 1 , a k 1 + 2 · 2 L t + 1 , a k 1 + 3 · 2 L t + 1 , } .
Both sequences, { u i ( 1 ) } and { u i ( 2 ) } , are obtained decimating { a i } and { a i + k 1 } , respectively, by distance d = 2 L t + 1 . Therefore, both are shifted versions of { a i } [1] (page 76). According to Theorem 1, if { u i ( 2 ) } = { u i + d ( 1 ) } with d = 2 L 1 (the phase shift between both PN-sequences is 2 L 1 ), then the 2-interleaving sequence is a shifted version of the same PN-sequence and has L C = L .
According to (9) we have that { u i ( 1 ) } = { a i · 2 L t + 1 } . If { u i ( 2 ) } = { u i + 2 L 1 ( 1 ) } , this means that the PN-sequence { u i ( 2 ) } starts in the 2 L 1 -th position of { u i ( 1 ) } , that is:
{ u i ( 2 ) } = { a 2 L 1 · 2 L t + 1 , a ( 2 L 1 + 1 ) · 2 L t + 1 , a ( 2 L 1 + 2 ) · 2 L t + 1 , }
therefore k 1 = 2 2 L t mod T = 2 L t . However, we know that k 1 2 L t .
The shift k 1 = 2 L t is the only one that gives us an interleaving sequence with L C = L . Now, according to Lemma 1, the polynomial p ( x ) 2 generates { s j } . Since k 1 2 L t , the polynomial p ( x ) 2 must also be the characteristic polynomial.  □
Example 9.
Consider the primitive polynomial p ( x ) = 1 + x + x 2 + x 3 + x 5 , that is, L = 5 and T = 31 . We consider the initial state { 11111 } for { a i } and the shifts k 1 = 3 2 5 3 , k 2 = 2 5 3 + 1 = 8 , k 3 = 3 + 8 = 11 , k 4 = 2 · 8 = 16 , k 5 = 3 + 2 · 8 = 19 , k 6 = 3 · 8 = 24 and k 7 = 3 + 3 · 8 = 27 . The corresponding PN-sequences are:
{ a i } : 1111100100110000101101010001110 { a i + 3 } : 1100100110000101101010001110111 { a i + 8 } : 0011000010110101000111011111001 { a i + 11 } : 1000010110101000111011111001001 { a i + 16 } : 1011010100011101111100100110000 { a i + 19 } : 1010100011101111100100110000101 { a i + 24 } : 0001110111110010011000010110101 { a i + 27 } : 1110111110010011000010110101000
and, the resultant 8-interleaving sequence is:
{ s j } = { 1101110111000001101011011010101 0110001110001101100000001110110 1101110111000001101011011010101 0110001110001101100000001110110 }
It is possible to check that the period of this sequence is T = 64 , the characteristic polynomial is p ( x ) = 1 + x 2 + x 4 + x 6 + x 10 and, thus, L C = 10 .
Corollary 5.
When we interleave 2 t shifted versions of the same PN-sequence of period T and L C = L , there are T ( T 1 ) possible resultant 2 t -interleaving sequences of L C = 2 L .
Proof. 
The shifts between the odd sequences (and the even sequences) are fixed. Therefore, the resultant 2 t -interleaving sequence depends on the initial state of { a i } and k 1 . We have T = 2 L 1 possible non-zero initial states for { a i } and T 1 possible values for k 1 , thus, we have T ( T 1 ) different interleaving sequences with L C = 2 L .  □
As in the case of 4-interleaving sequences, we obtain expressions on the total number of 8-interleaving sequences for each possible value of L C (see Table 2). The formulas for the cases L C = 6 L and L C = 7 L have not been determined yet. The expression at the bottom of the table represents the total number of 8-interleaving sequences.

4. Interleaving t Sequences

Our main aim is to characterize the interleaving sequences using any number of interleaved PN-sequences. In this section, we present some preliminary results.
As in the previous sections, we present some results on the shifts in order to obtain t-interleaving sequences with L C = L .
Theorem 9.
Consider a primitive polynomial p ( x ) of degree L. If we interleave t shifted versions of the same PN-sequence of period T = 2 L 1 with shifts (modulo T) k 1 = k , k 2 = 2 · k , k 3 = 3 · k ,…, k t 1 = ( t 1 ) · k , gcd ( T , k ) = 1 and ( k · t ) = 1 mod T , the resultant t-interleaving sequence has L C = L and period T = 2 L 1 .
Proof. 
Consider the t PN-sequences:
{ a i } : a 0 a 1 a 2 a 3 a 2 L 2 { a i + k } : a k a k + 1 a k + 2 a k + 3 a k + 2 L 2 { a i + 2 · k } : a 2 · k a 2 · k + 1 a 2 · k + 2 a 2 · k + 3 a 2 · k + 2 L 2 { a i + 3 · k } : a 3 · k a 3 · k + 1 a 3 · k + 2 a 3 · k + 3 a 3 · k + 2 L 2 { a i + ( t 1 ) · k } : a ( t 1 ) · k a ( t 1 ) · k + 1 a ( t 1 ) · k + 2 a ( t 1 ) · k + 3 a ( t 1 ) · k + 2 L 2
where the indices are considered modulo T. The resultant t-interleaving sequence has the form:
{ s j } = { a 0 , a k , a 2 · k , a 3 · k , , a ( t 1 ) · k , a 1 , a k + 1 , a 2 · k + 1 , a 3 · k + 1 , , a ( t 1 ) · k + 1 , , a 2 L 2 , a k + 2 L 2 , a 2 k + 2 L 2 , a 3 k + 2 L 2 , , a ( t 1 ) k + 2 L 2 } .
Notice that:
t · k mod T = 1 ( t + 1 ) · k mod T = k + 1 ( t + 2 ) · k mod T = 2 k + 1 = 2 t · k mod T = 2 ( 2 t + 1 ) · k mod T = k + 2 ( 2 t + 2 ) · k mod T = 2 k + 2 =
Therefore, we have that:
{ s j } = { a 0 , a k , a 2 · k , a 3 · k , a 4 · k , , a ( t 1 ) · k , a t · k , a ( t + 1 ) · k , a ( t + 2 ) · k , , } ,
that is, the sequence { s j } can be also obtained decimating { a i } by distance d = k . According to Golomb [1] (page 78), if we decimate a PN-sequence (produced by a primitive polynomial of degree L) with distance k such that gcd ( T , k ) = 1 , then the resultant sequence is also a PN-sequence, generated by a primitive polynomial of degree L. Therefore, { s j } is a PN-sequence with L C = L .  □
In the next example we apply the results of the previous theorem.
Example 10.
Consider the primitive polynomial p ( x ) = 1 + x + x 3 , that is, L = 3 and T = 7 . In this case, we want to interleave 5 PN-sequences and let k = 3 (since that, gcd ( 7 , 3 ) = 1 and 3 · 5 = 1 mod T ). We consider the initial state { 111 } for { a i } and k 1 = 3 , k 2 = 2 · 3 = 6 , k 3 = 3 · 3 = 9 mod T = 2 , k 4 = 4 · 3 = 12 mod T = 5 . The corresponding PN-sequences are:
{ a i } : 0010111 { a i + 3 } : 0111001 { a i + 6 } : 1001011 { a i + 2 } : 1011100 { a i + 5 } : 1100101
The 5-interleaving sequence obtained is:
{ s j } = { 0011101 0011101 0011101 0011101 0011101 }
which has period equal to 7 and L C = 3 , since the characteristic polynomial is p ( x ) = 1 + x 2 + x 3 (where we denote the reciprocal polynomial of p ( x ) by p ( x ) ).
Corollary 6.
Consider a primitive polynomial p ( x ) of degree L. Assume that T = 2 L 1 is not a prime integer and let t be a divisor of T. If we interleave t shifted versions of any PN-sequence of period T, the resultant t-interleaving sequence has L C > L and period T > 2 L 1 .
Proof. 
If t is a divisor of T, then there is no multiplicative inverse of t modulo T, i.e., there is no k such that ( k · t ) = 1 mod T . Therefore, according to Theorem 9, there are no t-interleaving sequences with L C = L .  □
In the next example, we present a case where we cannot construct any 5-interleaving sequence with L C = L .
Example 11.
Consider the primitive polynomial p ( x ) = 1 + x + x 4 , that is, L = 4 and T = 15 . Assume that we want to interleave 5 PN-sequences. It is possible to check that there is no k such that gcd ( 15 , k ) = 1 and k · 5 = 1 mod T (since 5 is a divisor of T). Therefore, if we interleave 5 shifted versions of the same PN-sequence generated by p ( x ) , the resultant interleaving sequence has L C > 4 .
Other examples that illustrate the previous result can be found in Appendix A. For instance, observe the case L = 6 in Table A1, where there are no 3-interleaving sequences of L C = 6 . This is a consequence of the fact that T = 63 is not a prime number and 3 is a divisor of T.
Next result computes the number of t-interleaving sequences with linear complexity equals to L.
Corollary 7.
Consider a primitive polynomial p ( x ) of degree L. If we interleave t shifted versions of the same PN-sequence of period T = 2 L 1 with the shifts given in Theorem 9, there are T possible resultant t-interleaving sequences of L C = L and period T.
Proof. 
Since the shifts are fixed and k is unique (k is the multiplicative inverse of t modulo T), the resultant sequence depends only on the initial state of { a i } . We have T = 2 L 1 possible non-zero initial states for { a i } , therefore, we have T different t-interleaving sequences with L C = L .  □
Although we do not provide a characterization of the t-interleaving sequences for the other values of L C , it can be seen (computationally) that the majority of interleaving sequences achieve the maximum linear complexity. The percentage of interleaving sequences with the maximum L C is approximately or greater than 90 % .
In Table A1, Table A2 and Table A3 of Appendix A, we show some examples that motivate us to continue deepening on this research. For instance, we observe that there exist particular cases where all the interleaving sequences obtained achieve the maximum value of the linear complexity. It would be interesting to characterize this kind of sequences, since that they are the ones with best cryptographic properties.

5. Preliminary Randomness Study and Comparison with Other Sequences

Given a shrunken sequence obtained from two registers of lengths, L 1 and L 2 (with the characteristics seen in Section 3.1), we know that the linear complexity satisfies
L 2 2 L 1 2 < L C L 2 2 L 1 1 ,
and the period is T = ( 2 L 2 1 ) 2 L 1 1 . This sequence can be also generated interleaving 2 L 1 1 shifted versions of the same PN-sequence with characteristic polynomial p ( x ) of degree L 2 (see Theorem 2) and period 2 L 2 1 . Therefore, the shrunken sequence is an 2 L 1 1 -interleaving sequence. If we fix the polynomial p 2 ( x ) and range over all the possible primitive polynomials of degree L 1 , then we can construct a family of shrunken sequences where all of them are 2 L 1 1 -interleaving sequences (by interleaving PN-sequences generated by p ( x ) ). Notice that with the shrinking process, we can only construct families of t-interleaving sequences with t equal to 2 L 1 1 , a power of two, with additional restrictions on the values of L 1 and L 2 . Using the method presented in this paper, we can construct families of t-interleaving sequences with no restriction on t or L (the length of the LFSR).
In Table A4 and Table A5 of Appendix A, we present a comparison between the number of shrunken sequences generated by polynomials of degrees L 1 and L 2 and the number of t-interleaving sequences (obtained interleaving t = 2 L 1 1 shifted versions of the PN-sequence generated by the polynomial p ( x ) of degree L 2 given in Theorem 2), and their corresponding values of L C in each case. Specifically, we present the results for t = 4 , 8 where we can observe that the number of t-interleaving sequences, with maximum linear complexity is clearly greater than that of the shrunken sequences. It is worth noticing that if a shrunken sequence and a 2 L 1 - interleaving sequence have the same L C , then they have the same period. Hence we focus on the parameter linear complexity better than on the period.
For a practical use of the t-interleaving sequences in cryptographic algorithms, it is important to analyse the quality of this random number generator and to focus on other randomness properties beyond linear complexity. As a first approach, we have carried out a preliminary study of the randomness of these sequences through the statistical tests package FIPS 140-2 [28]. It is a U.S. government computer security standard used to approve cryptographic modules issued by the National Institute of Standards and Technology (NIST). Moreover, it has been widely used for the verification of the statistical properties of pseudorandom numbers generated by PRNGs.
In this package, there are 4 statistical random number generator tests—the Monobit Test, The Poker Test, The Runs Test and The Long Runs Test. All the tests have been applicable for a wide range of binary string size and considering different primitive polynomials. There exist indicators which point out a good random behavior, since that all the t-interleaving sequences evaluated have passed all the tests.
Below, we show the values obtained in the tests of FIPS for a particular 10-interleaving sequence generated from a PN-sequence with characteristic polynomial of degree 16:
  • LONG RUNS TEST: Passed. There are no runs of more than 25 equal bits.
  • MONOBIT TEST: Passed. The test is passed if ( 9725 < number of ones < 10275 ) . Our result was: 10013.
  • X = POKER TEST: Passed. The test is passed if 1.03 < X < 57.4 . Our result was: X = 17.6064 .
  • RUNS TEST: Passed. The test is passed if the runs (for both the runs of zeros, red line, and the runs of ones, blue line) that occur (of lengths 1 through 6) are each within the corresponding interval specified in the Figure 1 by the green line.

6. Conclusions

The output sequence of the shrinking generator, the shrunken sequence, is obtained decimating the bits of a PN-sequences in terms of the bits of another PN-sequence. Besides, the shrunken sequence can be also obtained interleaving shifted versions of a unique PN-sequence. In this paper, we use the same idea of interleaving shifted versions of the same PN-sequence in order to obtain a new family of sequences with the same features as those of the shrunken sequences, that is, large period and linear complexity. We study their periods, linear complexities and the number of sequences obtained for any possible value of L C . Furthermore, we present a preliminary study of the randomness of t-interleaving sequences with the application of the standard FIPS, a statistical test suite for the validation of pseudorandom number generators. Through the analysis of a great number of these sequences, for different values of t and different primitive polynomials, we point out a good random behaviour.
As future work, we would like to study the open cases that we have not solved in this paper. For instance, we would like to find an analytical proof for the expressions we found on the total number of 4-interleaving sequences with L C = 3 L and L C = 4 L ; complete the study of 2 t -interleaving sequences; and increase our knowledge about the case of t-interleaving sequences. Furthermore, we would like to do a statistical randomness analysis of these new sequences using several statistical test batteries as the Diehard battery of tests, the packet FIPS 140-2, CRYPT-X or TestU01, among others. Until now, our research is focused on the use of a PN-sequence and shifted versions of itself. A natural step would be the study of the resultant sequences of interleaving PN-sequences of different primitive polynomials (with same or different degree).

Author Contributions

Investigation, S.D.C., A.F.-S. and V.R. All authors have read and agreed to the published version of the manuscript.

Funding

This research is partially supported by Ministerio de Economía, Industria y Competitividad (MINECO), Agencia Estatal de Investigación (AEI), and Fondo Europeo de Desarrollo Regional (FEDER, UE) under project COPCIS, reference TIN2017-84844-C2-1-R. It is also supported by Comunidad de Madrid (Spain) under project CYNAMON (P2018/TCS-4566), co-funded by FSE and European Union FEDER funds. Finally, the third author is partially supported by Spanish grant VIGROB-287 of the Universitat d’Alacant.

Data Availability Statement

Not applicable.

Acknowledgments

The support of D. Arroyo is gratefully acknowledged by the authors.

Conflicts of Interest

The authors declare no conflict of interest. The funders 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.

Appendix A

Table A1. Number and percentage of 3-interleaving sequences, with different values of L C , formed by PN-sequences with characteristic polynomials of degree L = 3 , 4 , 5 , 6 .
Table A1. Number and percentage of 3-interleaving sequences, with different values of L C , formed by PN-sequences with characteristic polynomials of degree L = 3 , 4 , 5 , 6 .
L = 3L = 4L = 5L = 6
LCSequences%LCSequences%LCSequences%LCSequences%
372.04%400%5310.1%600%
64212.25%800%109303.12%1200%
929485.71%123375100%1528,83096.78%18250,047100%
343 3375 29,791 250,047
Table A2. Number and percentage of 4-interleaving sequences with different values of L C , formed by PN-sequences with characteristic polynomials of degree L = 3 , 4 , 5 , 6 .
Table A2. Number and percentage of 4-interleaving sequences with different values of L C , formed by PN-sequences with characteristic polynomials of degree L = 3 , 4 , 5 , 6 .
L = 3L = 4L = 5L = 6
LCSequences%LCSequences%LCSequences%LCSequences%
370.29%4150.03%5310.003%6630.0004%
6421.75%82100.41%109300.101%1239060.0249%
925210.50%1229405.81%1527,9003.021%18242,1721.5373%
12210087.46%1647,46093.75%20894,66096.875%2415,506,82098.4373%
2401 50,625 92,3521 15,752,961
Table A3. Number and percentage of 5-interleaving sequences, with different values of L C , formed by PN-sequences with characteristic polynomials of degree L = 3 , 4 , 5 .
Table A3. Number and percentage of 5-interleaving sequences, with different values of L C , formed by PN-sequences with characteristic polynomials of degree L = 3 , 4 , 5 .
L = 3L = 4L = 5
LCSequences%LCSequences%LCSequences%
370.04%400%5310.0001%
600%800%1000%
900%1200%1500%
12210012.5%1600%20894,6603.125 %
1514,70087.46%20759,375100%2527,734,46096.8749%
16,807 759,375 28,629,151
Table A4. Comparison between number of shrunken sequences and 4-interleaving sequences with maximum L C .
Table A4. Comparison between number of shrunken sequences and 4-interleaving sequences with maximum L C .
( L 1 , L 2 )
(3,4)(3,5)(3,7)
LCSequences%LCSequences%LCSequences%
Shrunken16420100%202604100%2832,004100%
4-interleaving1647,46093.75%20894,66096.875%28258,112,26099.22%
Table A5. Comparison between number of shrunken sequences and 8-interleaving sequences with maximum L C .
Table A5. Comparison between number of shrunken sequences and 8-interleaving sequences with maximum L C .
( L 1 , L 2 )
(4,5)(4,7)
LCSequences%LCSequences%
Shrunken40465083.33%5668,580100%
8-interleaving408.2624 × 10 11 96.87%566.7147 × 10 16 99.22%

References

  1. Golomb, S.W. Shift Register-Sequences; Aegean Park Press: Laguna Hill, CA, USA, 1982. [Google Scholar]
  2. Hermelin, M.; Nyberg, K. Correlation Properties of the Bluetooth Combiner. In Information Security and Cryptology—ICISC’99; Lecture Notes in Computer Science; Song, J., Ed.; Springer: Berlin/Heidelberg, Germany, 1999; Volume 1999, pp. 17–29. [Google Scholar] [CrossRef]
  3. Briceno, M.; Goldberg, I.; Wagner, D. A Pedagogical Implementation of the GSM A5/1 and A5/2 “Voice Privacy” Encryption Algorithms. 1999. Available online: http://www.scard.org/gsm/a51.html (accessed on 23 February 2021).
  4. Ekdahl, P.; Johansson, T. A New Version of the Stream Cipher SNOW. In Selected Areas in Cryptography-SAC 2002; Lecture Notes in Computer Science; Nyberg, K., Heys, H., Eds.; Springer: Berlin/Heidelberg, Germany, 2003; Volume 2595, pp. 47–61. [Google Scholar] [CrossRef] [Green Version]
  5. Lidl, R.; Niederreiter, H. Introduction to Finite Fields and Their Applications; Cambridge University Press: New York, NY, USA, 1986. [Google Scholar]
  6. Díaz Cardell, S.; Fúster-Sabater, A. Cryptography with Shrinking Generators: Fundamentals and Applications of Keystream Sequence Generators Based on Irregular Decimation; Springer Briefs in Mathematics; Springer International Publishing: Cham, Switzerland, 2019. [Google Scholar]
  7. Coppersmith, D.; Krawczyk, H.; Mansour, Y. The shrinking generator. In Advances in Cryptology—CRYPTO ’93; Lecture Notes in Computer Science; Stinson, D., Ed.; Springer: Berlin/Heidelberg, Germany, 1994; Volume 773, pp. 22–39. [Google Scholar] [CrossRef] [Green Version]
  8. Hu, Y.; Xiao, G. Generalized Self-Shrinking Generator. IEEE Trans. Inf. Theory 2004, 50, 714–719. [Google Scholar] [CrossRef]
  9. Kanso, A. Modified self-shrinking generator. Comput. Electr. Eng. 2010, 36, 993–1001. [Google Scholar] [CrossRef]
  10. Meier, W.; Staffelbach, O. The Self-Shrinking Generator. In Advances in Cryptology—EUROCRYPT 1994; Lecture Notes in Computer Science; De Santis, A., Ed.; Springer: Berlin/Heidelberg, Germany, 1995; Volume 950, pp. 205–214. [Google Scholar] [CrossRef]
  11. Coppersmith, D.; Herzberg, A.; Krawczyk, H.M.; Kutten, S.; Mansour, Y. A Shrinking Generator for Cryptosystems. Available online: https://patents.google.com/patent/EP0619659A2/en (accessed on 23 February 2021).
  12. Berbain, C.; Billet, O.; Canteaut, A.; Courtois, N.; Gilbert, H.; Goubin, L.; Gouget, A.; Granboulan, L.; Lauradoux, C.; Minier, M.; et al. Decimv2. In New Stream Cipher Designs; Lecture Notes in Computer Science; Robshaw, M., Billet, O., Eds.; Springer: Berlin, Germany, 2008; Volume 4986, pp. 140–151. [Google Scholar] [CrossRef]
  13. Bishoi, S.; Senapati, K.; Shankar, B. Shrinking generators based on σ-LFSRs. Discret. Appl. Math. 2020, 285, 493–500. [Google Scholar] [CrossRef]
  14. Cardell, S.D.; Fúster-Sabater, A. The t-Modified Self-Shrinking Generator. In Computational Science—ICCS 2018; Lecture Notes in Computer Science; Shi, Y., Fu, H., Tian, Y., Krzhizhanovskaya, V.V., Lees, M.H., Dongarra, J., Sloot, P.M.A., Eds.; Springer International Publishing: Cham, Switzerland, 2018; Volume 10860, pp. 653–663. [Google Scholar]
  15. Cardell, S.D.; Requena, V.; Fúster-Sabater, A.; Orúe, A.B. Randomness Analysis for the Generalized Self-Shrinking Sequences. Symmetry 2019, 2020, 1460. [Google Scholar] [CrossRef] [Green Version]
  16. Cardell, S.D.; Fúster-Sabater, A. Linear Models for High-Complexity Sequences. In Computational Science and its Applications; Lecture Notes in Computer Science; Gervasi, O., Ed.; Springer: Cham, Switzerland, 2017; Volume 10404, pp. 314–324. [Google Scholar]
  17. Fúster-Sabater, A. Generation of Cryptographic Sequences by means of Difference Equations. Appl. Math. Inf. Sci. 2014, 8, 475–484. [Google Scholar] [CrossRef]
  18. Cardell, S.D.; Aranha, D.F.; Fúster-Sabater, A. Recovering Decimation-Based Cryptographic Sequences by Means of Linear CAs. Logic J. IGPL 2020, 28, 430–448. [Google Scholar] [CrossRef]
  19. Gong, G. Theory and Applications of q-ary Interleaved Sequences. IEEE Trans. Inf. Theory 1995, 41, 400–411. [Google Scholar] [CrossRef]
  20. Jiang, S.; Dai, Z.; Gong, G. On interleaved sequences over finite fields. Discret. Math. 2002, 252, 161–178. [Google Scholar] [CrossRef] [Green Version]
  21. Caballero-Gil, P.; Fúster-Sabater, A.; Pazo-Robles, M.E. New Attack Strategy for the Shrinking Generator. J. Res. Pract. Inf. Technol. 2009, 41, 171–180. [Google Scholar] [CrossRef] [Green Version]
  22. Cardell, S.D.; Fúster-Sabater, A. Cryptanalysing the shrinking generator. Procedia Comput. Sci. 2015, 51, 2893–2897. [Google Scholar] [CrossRef] [Green Version]
  23. Cardell, S.D.; Fúster-Sabater, A. Performance of the Cryptanalysis over the shrinking generator. In International Joint Conference CISIS’15 and ICEUTE’15; Advances in Intelligent Systems and Computing; Herrero, Á., Baruque, B., Sedano, J., Quintián, H., Corchado, E., Eds.; Springer: Cham, Switzerland, 2015; Volume 369, pp. 111–121. [Google Scholar]
  24. Cardell, S.D.; Fúster-Sabater, A.; Ranea, A. Linearity in decimation-based generators: An improved cryptanalysis on the shrinking generator. Open Math. 2018, 16, 646–655. [Google Scholar] [CrossRef]
  25. Duvall, P.F.; Mortick, J.C. Decimation of Periodic Sequences. SIAM J. Appl. Math. 1971, 21, 367–372. [Google Scholar] [CrossRef]
  26. Fúster-Sabater, A.; Caballero-Gil, P. Linear solutions for cryptographic nonlinear sequence generators. Phys. Lett. A 2007, 369, 432–437. [Google Scholar] [CrossRef] [Green Version]
  27. Cardell, S.D.; Fúster-Sabater, A. Modelling the shrinking generator in terms of linear CA. Adv. Math. Commun. 2016, 10, 797–809. [Google Scholar] [CrossRef] [Green Version]
  28. FIPS 140-2: Security Requirements for Cryptographic Modules. In Federal Information Processing Standards Publication; U.S. Department of Commerce: Washington, DC, USA; N.I.S.T., National Technical Information Service: Springfield, VA, USA, 2002.
Figure 1. Run test for a 10-interleaving sequence generated from a PN -sequence with characteristic polynomial of degree 16.
Figure 1. Run test for a 10-interleaving sequence generated from a PN -sequence with characteristic polynomial of degree 16.
Mathematics 09 00687 g001
Table 1. Number of 4-interleaving sequences with L C = L , 2 L , 3 L and 4 L and the corresponding period.
Table 1. Number of 4-interleaving sequences with L C = L , 2 L , 3 L and 4 L and the corresponding period.
L C PeriodNumber of 4-Interleaving Sequences
LTT
2 L 2 T T · ( T 1 )
3 L 4 T T · ( T 1 ) 2
4 L 4 T T 4 T 3 + T 2 T
= T 4
Table 2. Number of 8-interleaving sequences with the corresponding linear complexity and period.
Table 2. Number of 8-interleaving sequences with the corresponding linear complexity and period.
L C PeriodNumber of 8-Interleaving Sequences
LTT
2 L 2 T T · ( T 1 )
3 L 4 T T · ( T 1 ) 2
4 L 4 T T 4 T 3 + T 2 T
5 L 8 T T · ( T 1 ) 4
8 L 8 T T 8 T 7 + T 6 T 5 + T 4 T 3 + T 2 T
T 8
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Cardell, S.D.; Fúster-Sabater, A.; Requena, V. Interleaving Shifted Versions of a PN-Sequence. Mathematics 2021, 9, 687. https://doi.org/10.3390/math9060687

AMA Style

Cardell SD, Fúster-Sabater A, Requena V. Interleaving Shifted Versions of a PN-Sequence. Mathematics. 2021; 9(6):687. https://doi.org/10.3390/math9060687

Chicago/Turabian Style

Cardell, Sara Díaz, Amparo Fúster-Sabater, and Verónica Requena. 2021. "Interleaving Shifted Versions of a PN-Sequence" Mathematics 9, no. 6: 687. https://doi.org/10.3390/math9060687

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