hash/crc32: fix comment that the IEEE polynomial applies to MPEG-2.

LGTM=minux
R=adg, minux
CC=golang-codereviews
https://golang.org/cl/170520043
This commit is contained in:
Nigel Tao 2014-11-12 18:48:00 +11:00
parent 04c7b68b4a
commit de7d1c4094

View file

@ -17,8 +17,8 @@ const Size = 4
// Predefined polynomials.
const (
// Far and away the most common CRC-32 polynomial.
// Used by ethernet (IEEE 802.3), v.42, fddi, gzip, zip, png, mpeg-2, ...
// IEEE is by far and away the most common CRC-32 polynomial.
// Used by ethernet (IEEE 802.3), v.42, fddi, gzip, zip, png, ...
IEEE = 0xedb88320
// Castagnoli's polynomial, used in iSCSI.