Tom Estes posted two different Dallas 1-wire CRC routines here in the Code Examples forum.

Dallas CRC16 Routines

Dallas CRC8 Routines<br><br>