If we still need CRC32, there exists an implementation of the function in zlib (include zlib.h and link with -lz, might have to install package zlib1g-dev).