Ethernet CRC32 calculation - software vs algorithmic result

前端 未结 4 1782
太阳男子
太阳男子 2020-12-29 08:27

I\'m trying to calculate the Frame Check Sequence (FCS) of an Ethernet packet byte by byte. The polynomial is 0x104C11DB7. I did follow the XOR-SHIFT algorithm

4条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-29 09:26

    http://en.wikipedia.org/wiki/Cyclic_redundancy_check

    has all the data for ethernet and wealth of important details, for example there are (at least) 2 conventions to encode polynomial into a 32-bit value, largest term first or smallest term first.

提交回复
热议问题