remove unused impl in crc_gen
convert to 32 bit integers for the 17 bit polynomial
forgot a few uint16_t definitions