CRC8 calc

The OneWire library here OneWire Arduino Library, connecting 1-wire devices (DS18S20, etc) to Teensy has a CRC8 function in it. It uses a different polynomial but you could use that function as a starting point.

Pete