zlib: add adler32 and crc32