unsigned int cword; unsigned int icrc1(unsigned int crc, unsigned short onech,int long_crc,int left_shift,unsigned int poly) { int i; unsigned int tmp=(unsigned int) (crc ^ (onech << (long_crc >> 1) )); for (i=0;i>long_crc),data,long_crc,i,poly)<>long_crc; } ret=cword; if (paste_word) { cword<<=32-long_crc; for (i=0;i>31); cword<<=1; } } return (ret); }