Wireshark-dev: Re: [Wireshark-dev] Do we have a "standard" way to calcucate CRC24?

From: Michael Mann <mmann78@xxxxxxxxxxxx>
Date: Thu, 19 Sep 2019 00:25:22 +0000 (UTC)
If you would like to use the CRC24 calculation from packet-gprs-llc.c, my recommendation would be to move it to a new crc24.[c|h] file in /wsutil and probably a crc24-tvb.[c|h] in /epan directory.  As you can see from the other CRC files, there isn't always a single "standard" way to calculate a CRC. 


-----Original Message-----
From: Andrii Vladyka via Wireshark-dev <wireshark-dev@xxxxxxxxxxxxx>
To: Developer support list for Wireshark <wireshark-dev@xxxxxxxxxxxxx>
Cc: Andrii Vladyka <tulup@xxxxxxx>
Sent: Tue, Sep 17, 2019 9:35 am
Subject: [Wireshark-dev] Do we have a "standard" way to calcucate CRC24?

Hi all,

We have routines for calculating crc6,8,10,16,32, but not crc24. There is a sort of implementation for CRC24 calculation in packet-gprs-llc.c, but I would prefer to avoid code duplication, if possible. Are there any "standard" WS routines I can use?

Regards,
Andrii Vladyka



___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
            mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe