From owner-freebsd-current Sun Jun 17 13:52:11 2001 Delivered-To: freebsd-current@freebsd.org Received: from obsecurity.dyndns.org (adsl-63-207-60-13.dsl.lsan03.pacbell.net [63.207.60.13]) by hub.freebsd.org (Postfix) with ESMTP id 2EF7E37B406 for ; Sun, 17 Jun 2001 13:52:01 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id D015366D15; Sun, 17 Jun 2001 13:51:56 -0700 (PDT) Date: Sun, 17 Jun 2001 13:51:56 -0700 From: Kris Kennaway To: Giorgos Keramidas Cc: Peter Wemm , Steve Kargl , current@FreeBSD.ORG Subject: Re: convert libgmp to a port? Message-ID: <20010617135156.B94632@xor.obsecurity.org> References: <20010616201135.A60010@troutmask.apl.washington.edu> <20010617063845.E53DA39E9@overcee.netplex.com.au> <20010617182256.A17724@hades.hell.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010617182256.A17724@hades.hell.gr>; from keramida@ceid.upatras.gr on Sun, Jun 17, 2001 at 06:22:56PM +0300 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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