> The initial value returned by crc32(0L, Z_NULL, 0) is 0, not -1. And there is no post inversion

That was it, thanks.