port fast crc code to go from c

no longer rely on c code
shouldn't this be return crc?