cksum missing

Rob Landley rob at landley.net
Wed Mar 22 17:46:54 UTC 2006


On Wednesday 22 March 2006 10:40 am, Michael S. Zick wrote:
> On Tue March 21 2006 18:04, Rob Landley wrote:
> > On Tuesday 21 March 2006 1:15 pm, walter harms wrote:
> > > the question is how to handle all this ? i will take a dive into the
> > > code and lets see what happens next.
> >
> > Not brain surgery.  Just not easy to merge with the other endianness of
> > CRC. (As I said, same basic algorithm, very different implementation.)
>
> Perhaps a usable reference:
>
> A parameterized algorithm, starting with chapter 16 on this page:
> http://www.repairfaq.org/filipg/LINK/F_crc_v34.html
>
> and continued on the next segment:
> http://www.repairfaq.org/filipg/LINK/F_crc_v35.html
>
> Mike

A reference, sure.  But the fully generic version you're talking about:

http://www.repairfaq.org/filipg/LINK/crcmodel.c

Is something like five times the size of the bzip crc algorithm I cut and 
pasted in earlier.  (As they themselves admit with the crunched down example 
algorithms later on.)

Rob
-- 
Never bet against the cheap plastic solution.



More information about the busybox mailing list