> On Aug 12, 2016, at 3:24 PM, Jaromír Doleček <jaromir.dole...@gmail.com> 
> wrote:
> 
> ...
> We do have crc32 support in libkern, so I was thinking doing something along 
> that.
> ...
> What is general option, is there any interest to have crc32c support 
> consolidated into a lib, should I put some efford into making this shared 
> code? It adds some kernel bloat, so I'm slightly reluctant.

It seems sensible.  It could be done by a common CRC routine that takes a table 
pointer argument, then the two specific routines are just wrappers.

        paul

Reply via email to