From owner-freebsd-arch Fri Jul 13 11:39:15 2001 Delivered-To: freebsd-arch@freebsd.org Received: from avocet.mail.pas.earthlink.net (avocet.mail.pas.earthlink.net [207.217.121.50]) by hub.freebsd.org (Postfix) with ESMTP id 2017337B403 for ; Fri, 13 Jul 2001 11:39:13 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from mindspring.com (dialup-209.245.130.157.Dial1.SanJose1.Level3.net [209.245.130.157]) by avocet.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id LAA14315; Fri, 13 Jul 2001 11:38:53 -0700 (PDT) Message-ID: <3B4F4062.1B661B6D@mindspring.com> Date: Fri, 13 Jul 2001 11:39:30 -0700 From: Terry Lambert Reply-To: tlambert2@mindspring.com X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Dima Dorfman Cc: arch@FreeBSD.ORG Subject: Re: Getting rid of libgmp References: <20010713135525.37C293E2F@bazooka.unixfreak.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Dima Dorfman wrote: > > Hi folks, > > A week or so ago there was a thread on -current about removing libgmp. > It was generally agreed that this was a good idea, but (as usual) > somebody has to do the work, and some people wanted FreeBSD to > continue to supply a libmp-compatible interface. > > To satisfy both groups, I propose that we import a libmp that is > implemented in terms of the OpenSSL BIGNUM library. Attached below is > a sharball of such an implementation. I couldn't find very good > documentation on the libmp interface, but I've tested this with > most[1] of the software in FreeBSD that uses libmp, and all programs > work as well as they did before. > > The library is quite small; all functions except msqrt() have a BIGNUM > equivilent. It requires that the program using it be linked with > -lcrypto[2]. > > Comments? Suggestions? Benchmarks, proving that you increased, or at least did not injure performance with this change? -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message