mirror of https://github.com/golang/go.git
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:
parent
04c7b68b4a
commit
de7d1c4094
|
|
@ -17,8 +17,8 @@ const Size = 4
|
||||||
|
|
||||||
// Predefined polynomials.
|
// Predefined polynomials.
|
||||||
const (
|
const (
|
||||||
// Far and away the most common CRC-32 polynomial.
|
// IEEE is by far and away the most common CRC-32 polynomial.
|
||||||
// Used by ethernet (IEEE 802.3), v.42, fddi, gzip, zip, png, mpeg-2, ...
|
// Used by ethernet (IEEE 802.3), v.42, fddi, gzip, zip, png, ...
|
||||||
IEEE = 0xedb88320
|
IEEE = 0xedb88320
|
||||||
|
|
||||||
// Castagnoli's polynomial, used in iSCSI.
|
// Castagnoli's polynomial, used in iSCSI.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue