Andy Polyakov wrote:
> 
[..]
> examined SHA code on Alpha today (actually for the first time to be
> honest, because I got really curious how the hell does it work when it's
> not supposed to:-) and figured out that it worked for sole reason that
> L_ENDIAN was not defined on Alpha. Latter means that all those 32 bit
> dependencies I've pointed out in my first post were #ifdefed away...
> I.e. it was sheer luck that the code actually worked! It would break the
> moment someone would put -DL_ENDIAN into compiler command line for
> Alpha. Why would anybody?

This has been documented in some stage: *dont* define B_ENDIAN or 
L_ENDIAN on the 64-bit platforms..

> I don't know... Alpha is little endian to
> start with. Then someone whould contribute some code that would happen
> to be dependent on L_ENDIAN defintion... But in either case is it a good
> idea to put a code in that depends on sizeof(long) being 4? Definitely
> not!

I agree.

> >
> > Great work on getting this asm stuff and performance straightened out.

Agree again :)

-- 
Niels Poppe - org.net bv <[EMAIL PROTECTED]>
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to