From owner-freebsd-current Thu Jun 21 14:40:50 2001 Delivered-To: freebsd-current@freebsd.org Received: from peter3.wemm.org (c1315225-a.plstn1.sfba.home.com [65.0.135.147]) by hub.freebsd.org (Postfix) with ESMTP id 9824137B407 for ; Thu, 21 Jun 2001 14:40:46 -0700 (PDT) (envelope-from peter@wemm.org) Received: from overcee.netplex.com.au (overcee.wemm.org [10.0.0.3]) by peter3.wemm.org (8.11.0/8.11.0) with ESMTP id f5LLekM16143 for ; Thu, 21 Jun 2001 14:40:46 -0700 (PDT) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id 7A3363808; Thu, 21 Jun 2001 14:40:46 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 To: GH Cc: Kris Kennaway , Terry Lambert , Giorgos Keramidas , Steve Kargl , current@FreeBSD.ORG Subject: Re: convert libgmp to a port? In-Reply-To: <20010621155809.A34073@over-yonder.net> Date: Thu, 21 Jun 2001 14:40:46 -0700 From: Peter Wemm Message-Id: <20010621214046.7A3363808@overcee.netplex.com.au> 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 GH wrote: > On Thu, Jun 21, 2001 at 01:15:12PM -0700, some SMTP stream spewed forth: > > On Tue, Jun 19, 2001 at 12:44:40PM -0700, Terry Lambert wrote: > > > Giorgos Keramidas wrote: > > > > > > > > On Sun, Jun 17, 2001 at 01:51:56PM -0700, Kris Kennaway wrote: > > > > > > > > > libbn is already part of OpenSSH; it's a trivial matter to make it > > ^^^^^^^ > > I meant to say OpenSSL here, of course. > > > > > > > into a standalone library. In other words, we already include two > > > > > functionally equivalent bignum libraries in FreeBSD, so one of them > > > > > should go. > > > > > > > > I couldn't agree more :) > > > > > > I'm going to word this strongly, mostly because I feel > > > strongly about the underlying issues. > > > > > > The SSL one is known to be very slow, and was written > > > as a proof of concept by the author. Please read the > > > release notes; it is seriously slow. Replacing it will > > > increase your SSL performance significantly. > > > > I know of no-one who has developed patches to make OpenSSL work with > > an external math library (e.g. libgmp). The OpenSSL guys are very > > interested in cleaning up their legacy code; you should work with them > > if you are interested. > > > > In FreeBSD, the only use of the libgmp code is for non-speed-critical > > applications, so replacing it with a less efficient library doesn't > > cost anything. libgmp will still exist in ports for applications > > which want to make use of a more efficient library. > > > > Am I understanding this correctly? > We currently have implemented a more efficient library than one you > propose expending effort to plug in? > > You propose that people remove the currently implemented and more > efficient library and replace it with a less-efficient library of > non-native BSD origin? No. We are talking about removing a GPL infected library from the base tree that is used by a couple of utterly performance irrelevant utilities and making these couple of utilities (secure-rpc key generation tools) use the OpenSSL bignum API - where OpenSSL has a BSD-style license. This has absolutely no effect on openssl at all. > Really? This hardly seems like a good idea. No. We can't plug libgmp into openssl anyway due to GPL infection and the resulting license conflicts. openssl *explicitly* may not be distributed under GPL. And building libgmp into openssl would require exactly that. If you want to add hooks for plugging in another bignum library into openssl, go for your life. But if that adds GPL exposure, then we're not interested because we cannot distribute it. Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message