Commit de7d1c40 authored by Nigel Tao's avatar Nigel Tao

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
parent 04c7b68b
...@@ -17,8 +17,8 @@ const Size = 4 ...@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment