On Fri, Aug 12, 2016 at 09:48:44PM +0200, Martin Husemann wrote: > On Fri, Aug 12, 2016 at 12:44:36PM -0700, Alistair Crooks wrote: > > Yeah, a lib would be the best place for this - as well as ext\dfs, iscsi > > and sctp use crc32c, and there will probably be more users. Would also be > > good to get this shared with userland via src/common > > There are space/time trade offs and we might need a special small version > for bootloaders.
Take the crc32 I provided and switch the polynom. There is hardly a need for precomputation beyond that and it is small enough for boot blocks. Joerg