Abstract
In this paper, the linear complexity over $\mathbf{GF}(r)$ of generalized cyclotomic quaternary sequences with period $2pq$ is determined, where $r$ is an odd prime such that $r \ge 5$ and $r \notin \{p, q\}$. The minimal value of the linear complexity is equal to $\frac{5pq+p+q+1}{4}$, which is greater than half of the period $2pq$. According to the Berlekamp-Massey algorithm, these sequences are viewed as sufficiently robust for use in cryptography. We also demonstrate that if the character of the extension field $\mathbf{GF}(r^{m})$, $r$, is chosen such that $\bigl(\frac{r}{p}\bigr) = \bigl(\frac{r}{q}\bigr) = -1$, $r \nmid 3pq-1$, and $r \nmid 2pq-4$, then the linear complexity can reach the maximal value equal to the length of the sequences.
Introduction
In modern cryptography, particularly in the design of stream ciphers, the generation of pseudo-random sequences is a fundamental requirement. These sequences must appear random to an observer while being generated by deterministic algorithms. A primary metric for evaluating the security of such sequences is their linear complexity (LC).
Linear complexity is defined as the length of the shortest Linear Feedback Shift Register (LFSR) capable of reproducing the sequence. If a sequence has low linear complexity, an adversary can use the Berlekamp-Massey algorithm to reconstruct the entire sequence after observing only a small portion of it. For a sequence of period $N$ to be considered cryptographically secure, its linear complexity should ideally be at least $N/2$. While previous literature has extensively covered binary and quaternary sequences of lengths $p$, $2p$, or $pq$, this research addresses the gap regarding generalized cyclotomic quaternary sequences with a length of $2pq$, where $p$ and $q$ are distinct odd primes.
Methodology
Sequence Construction
The authors utilize generalized cyclotomy to construct the quaternary sequences. This involves partitioning integers into sets based on modular arithmetic, specifically leveraging the structure of the ring $\mathbb{Z}_{2pq}$. By applying these partitions, the authors define a four-level (quaternary) sequence that exhibits desirable pseudo-random properties.
Algebraic Analysis
To determine the linear complexity, the study focuses on the generating polynomial and the minimal polynomial of the sequence over a finite field $\mathbf{GF}(r)$. The analysis employs several advanced number-theoretic tools:
- Chinese Remainder Theorem: Used to handle the composite modulus $2pq$.
- Legendre Symbols: Utilized to evaluate quadratic residues, which are critical in determining the distribution of elements within the cyclotomic classes.
- Roots of Unity: The properties of roots of unity in extension fields are analyzed to find the zeros of the generating polynomial.
Verification
The theoretical derivations were verified using a dedicated algorithm (Algorithm 1) implemented in the Maple computer algebra system. Numerical simulations were conducted using various prime pairs (e.g., $p=41, q=79$) and field characteristics $r$ to ensure the empirical linear complexity matched the theoretical formulas.
Key Insights and Results
The Half-Period Threshold
The most significant finding is that the minimal linear complexity for these sequences is established as: $$LC_{min} = \frac{5pq+p+q+1}{4}$$ Since this value is strictly greater than $pq$ (half the period $2pq$), these sequences are inherently resistant to standard linear attacks based on the Berlekamp-Massey algorithm.
Field Dependence and Maximal Complexity
The linear complexity is not an intrinsic property of the sequence alone but is also dependent on the field $\mathbf{GF}(r)$ over which it is evaluated. The authors identify specific conditions under which the linear complexity reaches its theoretical maximum—the full length of the sequence ($2pq$). This occurs when the field characteristic $r$ satisfies:
- $\bigl(\frac{r}{p}\bigr) = \bigl(\frac{r}{q}\bigr) = -1$
- $r \nmid 3pq-1$
- $r \nmid 2pq-4$
Achieving an LC equal to the period represents the highest possible security level against LFSR-based synthesis.
Conclusion
This research demonstrates that generalized cyclotomic quaternary sequences of length $2pq$ possess high linear complexity, making them excellent candidates for cryptographic applications. They offer a favorable balance between mathematical robustness and the potential for efficient implementation in stream ciphers.
Limitations and Future Work
While high linear complexity is a necessary condition for security, it is not sufficient. The authors note that the autocorrelation properties of these sequences, while expected to be good, require further intensive analysis. Additionally, while quaternary sequences are generally hardware-efficient, this study does not provide a comparative analysis of power or area consumption on hardware like FPGAs. Future research may extend these results to sequences of length $2p^m q^n$ or investigate the k-error linear complexity, which assesses how the LC changes if a small number of elements in the sequence are altered.
Summary updated