Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jun 2001 18:22:56 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Peter Wemm <peter@wemm.org>
Cc:        Steve Kargl <sgk@troutmask.apl.washington.edu>, current@FreeBSD.ORG
Subject:   Re: convert libgmp to a port?
Message-ID:  <20010617182256.A17724@hades.hell.gr>
In-Reply-To: <20010617063845.E53DA39E9@overcee.netplex.com.au>; from peter@wemm.org on Sat, Jun 16, 2001 at 11:38:45PM -0700
References:  <20010616201135.A60010@troutmask.apl.washington.edu> <20010617063845.E53DA39E9@overcee.netplex.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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 :)

-giorgos

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?20010617182256.A17724>