From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 1173 invoked from network); 16 Dec 1999 11:35:19 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 16 Dec 1999 11:35:19 -0000 Received: from bastion.power-x.co.uk (bastion.power-x.co.uk [62.232.19.201]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id GAA26760 for ; Thu, 16 Dec 1999 06:35:16 -0500 Received: from springhead.px.uk.com (IDENT:dg@springhead.px.uk.com [172.16.18.41]) by bastion.power-x.co.uk (8.9.3/8.9.3) with ESMTP id LAA18539 for ; Thu, 16 Dec 1999 11:34:50 GMT Date: Thu, 16 Dec 1999 11:34:20 +0000 (GMT) From: "Dr. David Gilbert" X-Sender: dg@springhead.px.uk.com To: Alpha Linux Mailing List Subject: Re: OpenSource/GPL crypto software and Alpha? In-Reply-To: <19991216105745.10366.qmail@web116.yahoomail.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Thu, 16 Dec 1999, Designer Seven wrote: > I seem to always be having problems with crypto > software on Alpha. I don't get it... > > example1: RSA md5 ref code... compiles on x86, sparc, > alpha... but, md5 hash on alpha is always wrong. .... > WHY? If anyone can explain this, please do! For > example, the GNU tool md5sum compiled by gcc-2.95.2 > seems to always generate the correct hash. What makes > it so different? the RSA md5 ref code works fine on > Intel and SPARC... just not Alpha, and that's the > exact same C code...!! Well there are two normal possibilities: 1) The code isn't 64 bit clean. 2) The compiler is broke Since your saying that you've tried various compilers and there all broke then (2) is less likely. So the chance is that somewhere in the crypto code there is some un-64 bit cleanliness. Report it as a bug to the authors of the code. Dave /------------------------------------------------------------------\ | Dr. David Alan Gilbert | Work:dg@px.uk.com +44-161-286-2000 Ex258| | -------- G7FHJ --------|---------------------------------------- | | Home: dave@treblig.org http://www.treblig.clara.net | \------------------------------------------------------------------/