8.7 COMBINING MULTIPLE LINEAR FEEDBACK SHIFT REGISTERS

Figure 8.7 shows how linear feedback shift registers can be combined by XORing their outputs. The XOR of periodic sequence with periods {Pi} is periodic with period equal to the least common multiple P = 1cm{Pi} of the individual periods. (Note, the least common multiple of integers {ni} is the smallest integer n divisible by each of the {ni}.)

When the characteristic polynomials are primitive, and their exponents 2Ni − 1 (0 ≤ i < k) which are relatively prime in pairs

image

the period of the combined generator is image (Note, the greatest common divisor gcd{n1, n2} is the largest integer n that divides both the n1 and n2; if 1 = gcd{n1, n2}, the integers are relatively prime.) Just as Vernam additively combined tapes of relatively prime lengths to produce a tape with a much longer period, the same result is achieved by additively combining LFSRs of suitable total lengths image to produce a LFSR with a much larger period.

image

Figure 8.7 The XOR of k linear feedback shift registers.

Get Computer Security and Cryptography now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.