coreutils
[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: Fri, 1 Nov 2024 18:15:41 +0000
User-agent: Mozilla Thunderbird Beta

On 31/10/2024 22:01, Pádraig Brady wrote:
On 31/10/2024 18:35, Sam Russell wrote:
  > `cksum -a crc32` could be added I suppose to select the current 
implementation in gnulib

both versions are CRC32 though, and then if you look at the iSCSI/SCTP version 
they use CRC32-C which uses a totally different polynomial, not just a reversed 
order one like gzip

Right. So if presenting what's in gnulib now from coreutils,
we would be better to distinguish which crc32 we're referring to.
I see 'crc32b' is commonly used for the current gnulib implementation.
So I can add `cksum -a crc32b` very easily now to coreutils.
I'll send a patch tomorrow for that.

coreutils `cksum -a crc32b` implementation attached.

cheers,
Pádraig

Attachment: cksum-crc32b.patch
Description: Text Data


reply via email to

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