bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] crc: New optimised slice-by-8 implementation


From: Pádraig Brady
Subject: Re: [PATCH] crc: New optimised slice-by-8 implementation
Date: Thu, 31 Oct 2024 16:12:52 +0000
User-agent: Mozilla Thunderbird Beta

On 31/10/2024 12:18, Simon Josefsson via Gnulib discussion list wrote:
I merged this now, thank you!

FYI, I looked at using this from coreutils cksum,
but unfortunately that uses a different CRC-32 variant.

For my reference...

coreutils cksum parameters:
------------------------
Polynomial: 04C11DB7
Initial Value: 00000000
Final XOR Value: 00000000
Reverse data: no
Reverse crc (before xor): no

gnulib crc32 parameters (equivalent):
------------------------
Polynomial: 04C11DB7
Initial Value: FFFFFFFF
Final XOR Value: FFFFFFFF
Reverse data: yes
Reverse crc (before xor): yes

https://github.com/Michaelangel007/crc32
http://www.zorc.breitbandkatze.de/crc.html

cheers,
Pádraig



reply via email to

[Prev in Thread] Current Thread [Next in Thread]