On 08 June 2019 at 16:07, Marco Bellaccini wrote:
Original Text
-------------
#define CRC24_POLY 0x1864CFBL
Corrected Text
--------------
#define CRC24_POLY 0x864CFBL
Notes
-----
In the C reference implementation of CRC-24, the generator is wrong:
Just for the records: The wording "generator is wrong" seems to be a bit
misleading, because the highest degree term of CRC-24-Radix64 polynomial
is x^{24} [1] and the reference implementation takes care of the special
form of the constant. However, as there exists an established
representation for those polynomials [2], the proposed change is at
least of some editorial relevance.
[1] https://en.wikipedia.org/wiki/Cyclic_redundancy_check
[2]
https://en.wikipedia.org/wiki/Mathematics_of_cyclic_redundancy_checks#Polynomial_representations
--
Heiko
_______________________________________________
openpgp mailing list
openpgp(_at_)ietf(_dot_)org
https://www.ietf.org/mailman/listinfo/openpgp