This program is an encoder/decoder for Reed-Solomon codes. Encoding is in systematic form, decoding via the Berlekamp iterative algorithm. In the present form , the constants mm, nn, tt, and kk=nn-2tt must be specified (the double letters are used simply to avoid clashes with other n,k,t used in other programs into which this was incorporated!) Also, the irreducible polynomial used to generate GF(2**mm) must also be entered -- these can be found in Lin and Costello, and also Clark and Cain.
File list:
rs.c