Make CRC calculation and checking configurable.