Skip to main content

Berlekamp-Massey algorithm

  • Reference work entry
Encyclopedia of Cryptography and Security

The Berlekamp-Massey algorithm is an algorithm for determining the linear complexity of a finite sequence and the feedback polynomial of a linear feedback shift register (LFSR) of minimal length which generates this sequence. This algorithm is due to Massey, who showed that the iterative algorithm proposed in 1967 by Berlekamp for decoding BCH codes (see cyclic codes) can be used for finding the shortest LFSR that generates a given sequence.

For a given sequence s n of length n, the Berlekamp-Massey algorithm performs n iterations. The tth iteration determines an LFSR of minimal length, which generates the first t digits of s n. The algorithm can be described as follows.

structure 1_0-387-23483-7_24 structure 1_0-387-23483-7_24

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Institutional subscriptions

References

  1. Berlekamp, E.R. (1967). Algebraic Coding Theory. McGraw-Hill, New York.

    MATH  Google Scholar 

  2. Dornstetter, J.-L. (1987). “On the equivalence between Berlekamp's and Euclid's algorithms.” IEEE Transactions on Information Theory, 33, 428–431.

    Article  MATH  MathSciNet  Google Scholar 

  3. Massey, J.L. (1969). “Shift-register synthesis and BCH decoding.” IEEE Transactions on Information Theory, 15, 122–127.

    Article  MATH  MathSciNet  Google Scholar 

Download references

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2005 International Federation for Information Processing

About this entry

Cite this entry

Canteaut, A. (2005). Berlekamp-Massey algorithm. In: van Tilborg, H.C.A. (eds) Encyclopedia of Cryptography and Security. Springer, Boston, MA . https://doi.org/10.1007/0-387-23483-7_24

Download citation

Publish with us

Policies and ethics