Wireshark-dev: Re: [Wireshark-dev] GMP
From: "Maynard, Chris" <Christopher.Maynard@xxxxxxxxx>
Date: Tue, 28 Oct 2008 11:07:28 -0400
The comments from Guy in the thread I referenced below led me to believe
that the requester actually had a 128-bit number and not just a byte
array.  If it's only a 16-byte array, then I agree with you - there's no
reason to display that as a numerical value.

In any case, I thought there might be other situations where having a
library that can rather easily deal with > 64-bit integers might be
desirable.  If not, you might want to keep GMP in mind should the need
arise in the future.  As I said, I found it very useful and easy to work
with for my own project.

FWIW,
Chris

> -----Original Message-----
> From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-
> bounces@xxxxxxxxxxxxx] On Behalf Of Jaap Keuter
> Sent: Tuesday, October 28, 2008 1:33 AM
> To: Developer support list for Wireshark
> Subject: Re: [Wireshark-dev] GMP
> 
> Hi Chris,
> 
> Would that be large number arithmetic? Of which we do very little, if
any.
> Or would that be large number presentation, which is usually a poor
choice
> for
> displaying a byte array.
> 
> Thanx,
> Jaap
> 
> Maynard, Chris wrote:
> > Recently I have been working on a project for the Windows platform
> > involving arithmetic with very large integers, larger than any C
data
> > type will allow for.  As a result, I have been using GMP
> > (http://gmplib.org/).  I have found GMP to be very easy to work
with.
> >
> > Why do I mention GMP?  The following thread on the Wireshark
developer's
> > list might be one example of a situation where having support for
very
> > large numbers in Wireshark could be of value:
> > http://www.wireshark.org/lists/wireshark-dev/200810/msg00251.html.
I
> > did not search the list for more inquiries of this type, but I'm
> > guessing there are probably more.  Perhaps Wireshark could be built
with
> > GMP to solve such problems?  GMP itself is LGPL, but I don't think
that
> > precludes it from Wireshark use ... or does it?
> >
> > Anyway, I just thought I would mention it to see if there's any
interest
> > ...
> > - Chris
> >
CONFIDENTIALITY NOTICE: The contents of this email are confidential
and for the exclusive use of the intended recipient. If you receive this
email in error, please delete it from your system immediately and 
notify us either by email, telephone or fax. You should not copy,
forward, or otherwise disclose the content of the email.