Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jun 2001 13:51:56 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        Giorgos Keramidas <keramida@ceid.upatras.gr>
Cc:        Peter Wemm <peter@wemm.org>, Steve Kargl <sgk@troutmask.apl.washington.edu>, current@FreeBSD.ORG
Subject:   Re: convert libgmp to a port?
Message-ID:  <20010617135156.B94632@xor.obsecurity.org>
In-Reply-To: <20010617182256.A17724@hades.hell.gr>; from keramida@ceid.upatras.gr on Sun, Jun 17, 2001 at 06:22:56PM %2B0300
References:  <20010616201135.A60010@troutmask.apl.washington.edu> <20010617063845.E53DA39E9@overcee.netplex.com.au> <20010617182256.A17724@hades.hell.gr>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jun 17, 2001 at 06:22:56PM +0300, Giorgos Keramidas wrote:
> On Sat, Jun 16, 2001 at 11:38:45PM -0700, Peter Wemm wrote:
> 
> > It should not be too hard to have build a lightweight 'libbignum' that
> > is extracted from the openssl sources and make that available in the base
> > system.  It would not be hard to convert the lib*mp consumers to use the
> > libbignum (libbn, -lbn ?) and then we can get rid of it.
> > 
> > telnet* should never have used libmp in the first place, it should have
> > used libcrypto/bignum.  chkey/newkey/keyserv are using libmp for
> > diffie-helmann key exchange.  (just large integer multiplication).  It
> > should be really easy to convert those three.
> 
> Since there are a few things that are using libgmp (and I missed them
> in my quick search through the sources), no I would not prefer
> removing libgmp and making a new, probably buggier, libbignum that
> will replace our current libgmp.
> 
> If we do need some of the functionality of libgmp in the base-system,
> then we really should import some newer version of libgmp, instead of
> trying to make our own new library.  I dont really like reinventing
> wheels :)

libbn is already part of OpenSSH; it's a trivial matter to make it
into a standalone library.  In other words, we already include two
functionally equivalent bignum libraries in FreeBSD, so one of them
should go.

Kris

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010617135156.B94632>