|
Knowing it's irreducable helps.
Specifically, the VAX description for CRC lists
three sample polynomials, and things like
initial value and to get the CRC take the
one's complement of the result etc.
I'm curious where this information comes from.
As far as I know as long as you start with
the same initial value for all CRC computations
the actual value shouldn't matter. Also, why
take the one's complement of the residual?
David
|
| The comments about the initial value and complenting the result
are primarily concerned with describing how the CRC instruction
can be used to implement some commonly used CRC polynomials.
There is not much difference between an initial value of 0 or -1,
except that an an initial value of 0 will allow an arbitrary number
of zero bytes to be prepended to the string without affecting the
result.
There is no advantage in complementing the result, it's just that
that's what the creator or first user of AUTODIN-II did.
BTW, The 'error pattern' that AUTODIN-II misses is 1DB710641 (hex).
That is, if you take the AUTODIN-II CRC of a string, then XOR that
(33-bit!) error pattern into the string and calculate the CRC again,
you'll get the same result.
- Gilbert
|