diff options
author | Nigel Tao <nigeltao@golang.org> | 2014-11-12 18:48:00 +1100 |
---|---|---|
committer | Nigel Tao <nigeltao@golang.org> | 2014-11-12 18:48:00 +1100 |
commit | de7d1c409474f0fe5cf88e5d106da683ea79f12e (patch) | |
tree | 803b9f3813d0b1448bf09e983b00ac5a67fe8365 | |
parent | 04c7b68b4a0394405c5a927f639902965663f1a2 (diff) | |
download | go-de7d1c409474f0fe5cf88e5d106da683ea79f12e.tar.gz go-de7d1c409474f0fe5cf88e5d106da683ea79f12e.zip |
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
-rw-r--r-- | src/hash/crc32/crc32.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hash/crc32/crc32.go b/src/hash/crc32/crc32.go index a2a21a06f9..6a6b9473be 100644 --- a/src/hash/crc32/crc32.go +++ b/src/hash/crc32/crc32.go @@ -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. |