Revisiting LFSMs

Abstract—Linear Finite State Machines (LFSMs) are particular primitives widely used in information theory, coding theory and cryptography. Among those linear automata, a particular case of study is Linear Feedback Shift Registers (LFSRs) stu died and implemented in many cryptographic applications such as design of stream ciphers or pseudo-random generation. LFSR s could be seen as particular LFSMs without inputs. In this paper, we give first a general representation of LFSMs using traditional matrices representation linking this definition together with a new polynomial representation leading to sp arse representations and implementations. As direct applicati ons, we focus our work on the LFSRs case and show how the new LFSMs representation leads to a powerful design for LFSRs called R ing LFSRs efficient in both hardware and software. We also study a particular LFSRs subcase called windmill LFSRs used for example in the E0 stream cipher and we generalize their representation leading to better hardware performances.

[1]  Yves Roggeman,et al.  Varying Feedback Shift Registers , 1990, EUROCRYPT.

[2]  H. Niederreiter The Multiple-Recursive Matrix Method for Pseudorandom Number Generation , 1995 .

[3]  Cédric Lauradoux,et al.  Extended windmill polynomials , 2009, 2009 IEEE International Symposium on Information Theory.

[4]  Edward F. Moore,et al.  Gedanken-Experiments on Sequential Machines , 1956 .

[5]  George H. Mealy,et al.  A method for synthesizing sequential circuits , 1955 .

[6]  Makoto Matsumoto,et al.  Twisted GFSR generators , 1992, TOMC.

[7]  W. G. Chambers,et al.  Windmill Generators: A Generalization and an Observation of How Many There Are , 1988, EUROCRYPT.

[8]  Solomon W. Golomb,et al.  Shift Register Sequences , 1981 .

[9]  Anne Canteaut,et al.  Sosemanuk, a Fast Software-Oriented Stream Cipher , 2008, The eSTREAM Finalists.

[10]  Takuji Nishimura,et al.  Mersenne twister: a 623-dimensionally equidistributed uniform pseudo-random number generator , 1998, TOMC.

[11]  Ted G. Lewis,et al.  Generalized Feedback Shift Register Pseudorandom Number Algorithm , 1973, JACM.

[12]  Janusz Rajski,et al.  Ring generators - new devices for embedded test applications , 2004, IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems.

[13]  Pierre L'Ecuyer,et al.  On the xorshift random number generators , 2005, TOMC.

[14]  Edward J. McCluskey,et al.  Hybrid designs generating maximum-length sequences , 1988, IEEE Trans. Comput. Aided Des. Integr. Circuits Syst..

[15]  Thomas Johansson,et al.  A New Version of the Stream Cipher SNOW , 2002, Selected Areas in Cryptography.

[16]  Philip Hawkes,et al.  Guess-and-Determine Attacks on SNOW , 2002, Selected Areas in Cryptography.

[17]  Antoine Joux,et al.  Galois LFSR, Embedded Devices and Side Channel Weaknesses , 2006, INDOCRYPT.

[18]  Dimitrios Kagaris A similarity transform for linear finite state machines , 2006, Discret. Appl. Math..