From owner-freebsd-hackers Thu Jan 23 04:59:33 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA17917 for hackers-outgoing; Thu, 23 Jan 1997 04:59:33 -0800 (PST) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id EAA17912 for ; Thu, 23 Jan 1997 04:59:30 -0800 (PST) Received: (from msmith@localhost) by genesis.atrad.adelaide.edu.au (8.8.2/8.7.3) id XAA21523 for hackers@freebsd.org; Thu, 23 Jan 1997 23:29:28 +1030 (CST) From: Michael Smith Message-Id: <199701231259.XAA21523@genesis.atrad.adelaide.edu.au> Subject: CRC-16 algorithms? To: hackers@freebsd.org Date: Thu, 23 Jan 1997 23:29:27 +1030 (CST) X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk (Yes, this is FreeBSD-related 8) I'm looking for any implementations of various CRC-16 polynomials; I'm trying to compute a checksum for a parameter save area for a peripheral, which is documented as "CRC-16", but no details of the polynomial are given. 8( If you're into cracking these sorts of things, here's the parameter space : 00000000 00 39 3c 3e 01 02 03 00 80 00 00 00 00 00 00 00 |.9<>............| 00000010 08 00 0e 20 3d 4b 00 00 00 00 00 00 00 02 01 00 |... =K..........| 00000020 01 03 00 de ad 01 00 00 00 00 00 00 00 00 00 01 |....-...........| 00000030 00 00 00 00 00 00 00 00 00 00 00 00 01 26 3c aa |.............&<.| The bytes at 0x3d and 0x3e are the CRC-16 of the bytes from 0-0x3c inclusive. Any help here will help make the DOS configuration utility for this device unnecessary, which would be nice 8) -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[