Since CRC is so widely used, I\'m surprised by having a hard time finding CRC implementations in C.
Is there a \"definitive\" CRC calculation snippet/algorithm for
There are number of different algorithms used to implement CRCs. There is the naive one that does the polynomial division.
Here is a link for various algorithms, in C, for generic 32 bit CRC computations. The author also gives some speed comparisons.
Koopman has a website giving the performances of various CRCs, as well as a guide to the best CRCs for a given packet length.