From owner-freebsd-arch Thu Mar 22 3: 0:24 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 C427437B71F for ; Thu, 22 Mar 2001 03:00:20 -0800 (PST) (envelope-from roam@orbitel.bg) Received: (qmail 1542 invoked by uid 1000); 22 Mar 2001 10:59:27 -0000 Date: Thu, 22 Mar 2001 12:59:27 +0200 From: Peter Pentchev To: Jeroen Ruigrok/Asmodai Cc: arch@freebsd.org, mark@freebsd.org Subject: Re: 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: <20010322125927.C1173@ringworld.oblivion.bg> Mail-Followup-To: Jeroen Ruigrok/Asmodai , arch@freebsd.org, mark@freebsd.org References: <20010319104137.E73138@ringworld.oblivion.bg> <20010322115212.B7147@daemon.ninth-circle.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010322115212.B7147@daemon.ninth-circle.org>; from asmodai@wxs.nl on Thu, Mar 22, 2001 at 11:52:12AM +0100 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hmm.. I know libcrypto supports the Init(), Update(), Final() and stuff.. what about the high-level functions though? *File(), *Data()? I wasn't able to find those anywhere under src/crypto/openssl/crypto/ .. G'luck, Peter -- Do you think anybody has ever had *precisely this thought* before? On Thu, Mar 22, 2001 at 11:52:12AM +0100, Jeroen Ruigrok/Asmodai wrote: > -On [20010319 10:00], Peter Pentchev (roam@orbitel.bg) wrote: > >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? > > Using libcrypto what is now being linked to libmd. I did this, based on > Mark's guidance a couple of weeks/months ago, and we didn't notice much > problems. The only back then was that we weren't sure if SSL had md4 or > something old which libmd still had. > I remember Mark telling that that isn't an issue any more. > > >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. > > No need to move files from libmd to libcrypto. Libcrypto supports them > natively. > > I already had a bunch of patches and Mark and me were discussing this > back and forth in private for a while, but I am currently > semi-out-of-business due to my primary machine at home having hardware > issues. It will be replaced ASAP [when cash comes in again, this week > or next] and then I am going to continue this work. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message