Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: furio ercolessi <furio@spin.it>
To: axp-list@redhat.com
Subject: Re: OpenSource/GPL crypto software and Alpha?
Date: Thu, 16 Dec 1999 17:25:13 +0100	[thread overview]
Message-ID: <19991216172513.A29422@spin.it> (raw)
In-Reply-To: <199912161605.JAA06873@ellpspace.math.ualberta.ca>; from Michal Jaegermann on Thu, Dec 16, 1999 at 09:05:52AM -0700

On Thu, Dec 16, 1999 at 09:05:52AM -0700, Michal Jaegermann 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.
> 

I remember last year spending some time to get Merit Radius
working on AlphaLinux.  It did not authenticate users due to
an MD5 problem similar to that reported by Designer Seven.

After strenuous debugging and hard thinking, it turned out to be a 
trivial porting problem: all I had to do was to edit a file named 'md5.h', 
turning
	#if defined(__alpha) && defined(__osf__)
	typedef unsigned int UINT4;
	#else
	typedef unsigned long int UINT4;
	#endif
into
	#if defined(__alpha)          /* both OSF and Linux! */
	typedef unsigned int UINT4;
	#else
	typedef unsigned long int UINT4;
	#endif
and then it started working flawlessly!

> > WHY? If anyone can explain this, please do!

I made an attempt.

furio ercolessi
Spin


  reply	other threads:[~1999-12-16 16:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-12-16 10:57 OpenSource/GPL crypto software and Alpha? 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 message]
  -- strict thread matches above, loose matches on Subject: below --
1999-12-19  5:07 Designer Seven
read-only archive

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