Docsity

Geffe Generator and Other Stream Ciphers: Properties, Strengths, and Complexities, Slides of Computer Security

Partial preview of the text

Download Geffe Generator and Other Stream Ciphers: Properties, Strengths, and Complexities and more Slides Computer Security in PDF only on Docsity!

Computer Security

Modern Stream Ciphers

Strength of Geffe Generator

• A simple correlation attack is possible if we know the length Li of

LFSRs

forall primitive connection polynomials of degree L1 do

forall Initial states of the first LFSR do Compute 2L1 bits of output of the first LFSR Compute how many are equal to the output of the Geffe generator A large value signals that this is the correct choice of generator and starting state. end end

Repeat the above for the third LFSR

Recover the second LFSR by testing possible values using

f(x1, x2, x3) = x1 · x2 ⊕ x2 · x3 ⊕ x3.

Strength of Geffe Generator

• Is correlation attack a brute force attack?

• Brute Force attack would require N combinations to try where

 N = Possible Polynomials x Possible initial state of each Polynomial

 Possible Polynomials

 Possible Initial States

 Possible Polynomials = N =

 How many attempts would be required by correlation attack?

Shrinking Generator

• Two LFSRs with output sequence x1 and x

• The idea is to throw away some of the x2 stream under the

control of the x1 stream

• The generator does not produce a bit on each iteration

Shrinking Generator

• Period

• Complexity

• Does polynomial need to be relative prime?

 Yes  Why?

A5/1Design

A5/1Generator

• Majority bit operation

 The ith LFSR is clocked if the majority bit is equal to the bit ci