|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: iSCSI v8 CRC32CPaul, thank you for replying. --- Paul Koning <ni1d@arrl.net> wrote: > > A good paper to read is the classic Ethernet spec (V1, > not 802.3). In particular, see appendix C. Yes, no doubt it is. But I think that the iSCSI draft gives enough information and specs as to the implementation of CRC32C. > That looks wrong; the Ethernet spec as I read it seems to > say you need "if (carry xor messagebit)" The algorithm presented is a classical algorithm on computing the CRC (i.e. the remainder). If Ethernet uses a different if-condition then they must be implementing a slightly different algorithm. > Re your later note: if you get a 0 remainder, you're > missing something. On the contrary -- means that there was no noise or I struck luck to get undetectable error (1 in 10^-40). > Probably the fact that the initial all 1 > value is mathematically equivalent to complementing the > initial 32 bits of the message. As the draft points out, setting the register to all 1's, is just like complementing the first 32 bits of the message to 1. E.g. imagine your message always starting with 32 1's. This is so that runs of 0's at the beginning of the message are caught. -- Luben Tuikov, Senior Software Engineer, Splentec Ltd. Bus: 905-707-1954x112, 9-5 EST. Fax: 905-707-1974. ===== -- __________________________________________________ Do You Yahoo!? Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. http://geocities.yahoo.com/ps/info1
Home Last updated: Fri Nov 23 17:17:39 2001 7892 messages in chronological order |