Dallas 1-wire CRC implementation