Subject: Re: [boost] crc // wrong poly for crc_xmodem_type
From: Pavel Kretov (firegurafiku_at_[hidden])
Date: 2017-05-15 16:40:29


Hi Sergei.

> I've discovered that current typedef crc_xmodem_type uses wrong poly.

I'm not an expert in CRCs and I have no idea whether Boost's implementation is
wrong, but it's interesting that:

    bin(0x8408) = reverse(bin(0x1021))

Maybe this isn't a real problem, but simply someone decided to intentionally
flip the poly in the CRC implementation, and the computation still leads to
correct results?

——— Pavel K.