[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-kernel
Subject:    Re: [PATCH] support for gzipped (ELF) core dumps
From:       Shaheed <srhaque () iee ! org>
Date:       2005-01-13 13:29:51
Message-ID: 200501131329.51555.srhaque () iee ! org
[Download RAW message or body]

On Thursday 13 January 2005 11:51, Jan Frey wrote:
> Hi,
>
> I tried to use those "in-kernel" functions, but they seem to do little
> different CRC calculations. Unfortunately I don't have any experiences
> with CRC stuff, anyone able to help here?

Do you know what polynomial you are trying to use? My first try wth Google 
gets me to:

http://www.cyphercalc.com/crctool.htm#LookupTables

not to mention a bunch of free sources such as:

http://www.repairfaq.org/filipg/LINK/F_crc_v35.html

which even implies that the pkzip polynomial *is* the standard one. If you 
really need the unrolled version for performance, at least use the right data 
types and/or consider to compute the tables at run time:

http://gcc.gnu.org/ml/gcc-patches/2002-04/msg01097.html

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic