Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 6539] New: Implementing generic CRC8 and CRC16 functions f

Date: Thu, 3 Nov 2011 01:36:52 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6539

           Summary: Implementing generic CRC8 and CRC16 functions for
                    wsutil
           Product: Wireshark
           Version: SVN
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Low
         Component: Wireshark
        AssignedTo: bugzilla-admin@xxxxxxxxxxxxx
        ReportedBy: rknall@xxxxxxxxx


Created an attachment (id=7362)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=7362)
Implementing generic CRC8 and CRC16 functions for openSAFETY in wsutil

Build Information:
TShark 1.7.0 (SVN Rev 39722 from /trunk)

Copyright 1998-2011 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled (64-bit) with GLib 2.30.0, with libpcap 1.1.1, with libz 1.2.3.4, with
POSIX capabilities (Linux), with threads support, with SMI 0.4.8, with c-ares
1.7.4, with Lua 5.1, with Python 2.7.2+, with GnuTLS 2.10.5, with Gcrypt 1.5.0,
with MIT Kerberos, with GeoIP.

Running on Linux 3.0.0-12-generic, with locale de_AT.UTF-8, with libpcap
version
1.1.1, with libz 1.2.3.4.

Built using gcc 4.6.1.

--
This patch moves the crc8 and crc16 functions used by openSAFETY to wsutil, as
well as adds the crc tables there. In the case of crc16 the already existing
method crc16_unreflected is used for calculations, in case of crc8, the method
from openSAFETY will be used.

The methods have been named after the polynom itself. As both polynoms do not
have a normal name, they have been named crc16_0x5935 and crc16_0x2F
accordingly.

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.