adnan@sgtech.UUCP (Adnan Yaqub) (05/24/89)
I'm looking for software which generates the 32 bit LLC frame check sequence (CRC). I once wrote a routine which generated a CRC-16. It was based on a table look up method where, for each byte of the message, one generated a new crc from the old crc and the byte as follows: new_crc = ((old_crc>>8)^crc_tbl[byte^(old_crc&0xff)]); The crc table consisted of 256 16-bit values I generated from considering 256 trivial one byte messages. I would like to use this method for the LLC CRC-32, but I can't seem to generate a correct table. BTW, the generating polynomial for the LLC FCS is: g(x)=x^32+x^26+x^23+x^22+x^16+x^12+x^11+x^10+x^8+x^7+x^5+x^4+x^2+x+1 -- Adnan Yaqub Star Gate Technologies, 29300 Aurora Rd., Solon, OH, USA, +1 216 349 1860 ...uunet!abvax!sgtech!adnan