🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.protocols.misc
2 messages
2 total messages Started by PA Monwall Wed, 30 Dec 1992 13:08
CRC-16: how do I do it?
#543
Author: PA Monwall
Date: Wed, 30 Dec 1992 13:08
12 lines
866 bytes
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??

--pa

----------------------------!------------------------------------------------
    /////// /////// //   // ! PA Monwall               E-mail: pam@mefos.se
   //   // //   // ///////  ! Foundation for Metallurgical Research (MEFOS)
  /////// /////// // / //   ! Box 812, S-951 28 Lulea, Sweden
 //      //   // //   //    ! Tel: +46 920 55640  Home : +46 920 221581
//      //   // //   //     ! Fax: +46 920 55832  Telex: 80482 MEFOS S 
Re: CRC-16: how do I do it?
#544
Author: Scot Mcintosh
Date: Wed, 30 Dec 1992 16:28
16 lines
937 bytes
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads