crc16: use void * as the argument