Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: OpenSource/GPL crypto software and Alpha?
@ 1999-12-19  5:07 Designer Seven
  0 siblings, 0 replies; 5+ messages in thread
From: Designer Seven @ 1999-12-19  5:07 UTC (permalink / raw)
  To: axp-list

-- Michal Jaegermann
<michal@ellpspace.math.ualberta.ca> wrote:
> 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.
> 
> Eh?  This is md5sum for some random file calculated
> on Alpha:
> 380aa9072f3b9775c80f0be088c4170
> This is md5sum for the same file mounted via NFS and
> calculated
> on x86 machine:
> 380aa9072f3b9775c80f0be088c4170

Ok, perhaps an example would clarify what I am trying
to say:

from ftp.rsa.com ... there is the MD5 reference code.
This code, compiled on Alpha (using gcc,egcs, or ccc)
gets me this:

MD5 (md5.txt) = 7504cf60785d3eff97ecd0a01d537640

which is incorrect.

The EXACT same code, compiled on an UltraSPARC gives:

MD5 (md5.txt) = c6beb4140671d319f6433a3399cf6df2

which is correct.

md5sum on Alpha on the same file (md5.txt) gives:

c6beb4140671d319f6433a3399cf6df2  md5.txt

So I guess you can say, md5sum does work. However, why
does the same code on two different machines generate
two different things? The MD5 reference code works
fine on intel and ultrasparc, but not Alpha.

It was probably not wise to state "OpenSource/GPL"...
which might have implied "ALL OpenSource/GPL" ...
which isn't the case. But so far, this MD5 thing is
confusing to me. Also, SSLeay and OpenSSL both
compile, however almost all tests fail.

Has anyone gotten SSLeay to work on Alpha?

> examples.  Actually all crypto libraries which I
> have seen take care to
> be portable and sources usually come with corectness
> tests.  I do not
> even think that any of these libraries is Linux
> specific (I may be wrong
> on the last point but I do not recall any of that
> kind at this moment).

Well, at least the OpenSSL and SSLeay stuff hasn't
worked for me.... has it for you? Like you stated, the
"correctness" tests mostly fail. If you have any
ideas, please enlighten me!

Thanks,
D.
__________________________________________________
Do You Yahoo!?
Thousands of Stores.  Millions of Products.  All in one place.
Yahoo! Shopping: http://shopping.yahoo.com


^ permalink raw reply	[flat|nested] 5+ messages in thread
* OpenSource/GPL crypto software and Alpha?
@ 1999-12-16 10:57 Designer Seven
  1999-12-16 11:34 ` Dr. David Gilbert
  1999-12-16 16:05 ` Michal Jaegermann
  0 siblings, 2 replies; 5+ messages in thread
From: Designer Seven @ 1999-12-16 10:57 UTC (permalink / raw)
  To: Alpha Linux Mailing List

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.

example2: SSLeay-0.9.0b... again, compiles on x86,
sparc, alpha... but, on alpha, most of  the 'tests'
fail.

example3: OpenSSL ... same story...

compiler is gcc-2.95.2 and also tried CCC-6.2. I
remember having the same problems back when I was
using egcs-1.1.2.... and egcs-1.0.3... 

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...!!


Thanks,
D.

__________________________________________________
Do You Yahoo!?
Thousands of Stores.  Millions of Products.  All in one place.
Yahoo! Shopping: http://shopping.yahoo.com


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1999-12-19  5:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-12-19  5:07 OpenSource/GPL crypto software and Alpha? Designer Seven
  -- strict thread matches above, loose matches on Subject: below --
1999-12-16 10:57 Designer Seven
1999-12-16 11:34 ` Dr. David Gilbert
1999-12-16 16:05 ` Michal Jaegermann
1999-12-16 16:25   ` furio ercolessi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox