From owner-freebsd-arch Mon Mar 19 0:42:32 2001 Delivered-To: freebsd-arch@freebsd.org Received: from ringworld.nanolink.com (ringworld.nanolink.com [195.24.48.13]) by hub.freebsd.org (Postfix) with SMTP id 5F5E237B718 for ; Mon, 19 Mar 2001 00:42:28 -0800 (PST) (envelope-from roam@orbitel.bg) Received: (qmail 31767 invoked by uid 1000); 19 Mar 2001 08:41:37 -0000 Date: Mon, 19 Mar 2001 10:41:37 +0200 From: Peter Pentchev To: arch@FreeBSD.org Subject: Replacing libmd with libcrypto [Was: Re: cvs commit: src/sys/sys md5.h src/lib/libmd Makefile md2.h md2c.c md4.h mdX.3 mdXhl.c ripemd.3 ripemd.h sha.3 sha.h] Message-ID: <20010319104137.E73138@ringworld.oblivion.bg> Mail-Followup-To: arch@FreeBSD.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Resending to -arch, since this really belongs here.. G'luck, Peter -- Do you think anybody has ever had *precisely this thought* before? ----- Forwarded message from Peter Pentchev ----- Date: Sun, 18 Mar 2001 12:10:44 +0200 From: Peter Pentchev To: Kris Kennaway Cc: Mark Murray , Poul-Henning Kamp , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/sys md5.h src/lib/libmd Makefile md2.h md2c.c md4.h mdX.3 mdXhl.c ripemd.3 ripemd.h sha.3 sha.h [..or should this be in -arch?..] Okay, when you people are talking about replacing libmd with libcrypto, do you mean moving the additional functionality of libmd to libcrypto, or incorporating all the new and exciting functions into the OpenSSL source? If the former, that would be more or less easily achieved - as pointed out on -arch, libmd and libcrypto do seem to more or less share the basic hash routines, so adding the code would be a matter of moving the mdX* files from lib/libmd/ to secure/lib/libcrypto/ and adding them to the libcrypto build process. This would still benefit from what this commit is about - adding still more functionality to extend the OpenSSL libraries. If the latter, then hmm.. Not that I think that it would be too hard to convince the OpenSSL folks to add the libmd functions, but wouldn't that.. Actually, that would be a good idea from the standpoint of compatibility with other OS's and stuff.. But I still think that adding the libmd sources to the libcrypto build process could prove easier :) G'luck, Peter -- Hey, out there - is it *you* reading me, or is it someone else? On Sat, Mar 17, 2001 at 12:43:00PM -0800, Kris Kennaway wrote: > On Sat, Mar 17, 2001 at 02:13:11PM +0200, Mark Murray wrote: > > Hi > > > > Perhaps this would be a good time to mention that I have a plan to > > nuke libmd in favour of the MD* and SH* routines in libcrypto. The > > libcrypto routines are a _lot_ faster than the libmd ones, and their > > use is more ubiquitous. > > > > For the folks who don't need/want full crypto, the plan is also to > > provide a "strip-down" option to libcrypto, in order to accomodate > > paranoid governments. > > > > This is ther first time I'm mentioning this in public, so please don't > > panic - I won't be doing anything until the right folks agree. > > This is the same thing I mentioned on -arch when this came up..I even > asked Peter to submit diffs against libcrypto so we could keep them in > sync. ----- End forwarded message ----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message