lzip-bug
[Top][All Lists]
Advanced

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

[Lzip-bug] Selection of CRC32 Polynomial for lzip


From: Damir
Subject: [Lzip-bug] Selection of CRC32 Polynomial for lzip
Date: Wed, 17 May 2017 14:47:31 +0000

Hello! 

Have you considered choosing a different polynomial for Crc32 calculation in lzip file format? Some recent CPUs (x86_64 SSE4.2, PowerPC ISA 2.07, ARM v8.1) offer hardware accelerated calculation of CRC32 with a different polynomial (crc32c) than used in lzip (ethernet crc32).

So, picking crc32c poly instead has two benefits:
1) hardware accelerated integrity checking
2) better protection against undetected errors

The downside is the compatibility problem, but changing version byte in file header can help with that.

reply via email to

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