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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to