cksum missing

Rob Landley rob at landley.net
Tue Mar 21 19:14:47 UTC 2006


On Tuesday 21 March 2006 12:05 pm, Rob Sullivan wrote:
> > We already have two checksum calculation things.  One in bunzip and one
> > in gunzip.  (They're two different kinds of CRC32.  The same basic
> > algorithm but the endianness is different and one is initialized to 0 the
> > other to -1.)
>
> How about integrating a CRC32 function into libbb with both types of
> endianness? This might save a fair bit of duplicated code.
>
> Rob

I thought about trying to merge the generators for the two different 
endiannesses, but it wasn't easy.  Having a libbb function for this makes 
sense, though.  (Not explicitly a todo item of mine, but a vague "that would 
be a good idea" I haven't followed up on.)

What else is currently using this?

Rob
-- 
Never bet against the cheap plastic solution.



More information about the busybox mailing list