From 5ee7f2352ffea9e0bcbbd80b4e545daccd1d0224 Mon Sep 17 00:00:00 2001 From: Nigel Tao Date: Wed, 12 Nov 2014 18:48:00 +1100 Subject: hash/crc32: fix comment that the IEEE polynomial applies to MPEG-2. LGTM=minux R=adg, minux CC=golang-codereviews https://codereview.appspot.com/170520043 --- src/hash/crc32/crc32.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hash/crc32/crc32.go b/src/hash/crc32/crc32.go index a2a21a06f..6a6b9473b 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. -- cgit v1.2.1