home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.protocols.misc:907 alt.sources.wanted:1949
- Newsgroups: comp.protocols.misc,alt.sources.wanted
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!sun-barr!ames!agate!dog.ee.lbl.gov!news!manta!psm
- From: psm@nosc.mil (Scot Mcintosh)
- Subject: Re: CRC-16: how do I do it?
- Message-ID: <1992Dec30.162806.24699@nosc.mil>
- Organization: Naval Ocean Systems Center, San Diego
- References: <2185@mefos.se>
- Date: Wed, 30 Dec 1992 16:28:06 GMT
- Lines: 16
-
- In article <2185@mefos.se> pam@mefos.se (PA Monwall) writes:
- >Hi
- >How do I calculate (in C) a CRC-16 checksum for data stored in a char-
- >buffer using the polynom x**16+x**15+x**2+1??
- >
-
- Check out file CRC-C.ARC located on wuarchive.wustl.edu in
- directory mirrors/msdos/c. It allegedly is an implementation of
- CRC-16 written in the C language, and uses table lookup for speed.
- Includes the source code and a DOC file.
-
- --
- ----
- Scot McIntosh
- Internet: psm%helios.nosc.mil@nosc.mil
- UUCP: I have no idea
-