ietf-openpgp
[Top] [All Lists]

Re: typo?

1999-04-22 17:18:13
You wrote:
The generator constant in the code sample has a "1" that is not in the
preceding text.

CRC polynomials are usually written without the leading term. Whether the  
constant in the code has the term is an implementation detail --- for  
example, if the CRC width is the same as the word width (e.g. a CRC-32), it's  
easier and faster not to write it that way.

I'd recommend ftp://ftp.rocksoft.com/clients/rocksoft/papers/crc_v3.txt as  
an introduction to theoretical and practical aspects of CRCs.


<Prev in Thread] Current Thread [Next in Thread>