[[EMAIL PROTECTED] - Thu Jan  9 08:17:07 2003]:

> At 02:14 AM 1/9/2003 +0100, you wrote:
> 
> >[[EMAIL PROTECTED] - Wed Jan  8 22:09:03 2003]:
> >
> 
> >Assuming that isn't the case I've also just been tracing the cause of
> a
> >problem with VC++ SP4 with the processor pack.
> >
> >It was giving incorrect results for 192 and 256 bit AES and different
> >results entirely with the same keys and the 'enc' command line
> program.
> >
> >Whereas on XP home on my setup VC++ 6.0 with SP3 is fine. I haven't
> been
> >able to check out SP5 or the processor pack myself but it looks like
> >some kind of compiler bug.
> 
> 
> Quite likely...MSVC is known to have quite a few.  I haven't delved
> into
> the build settings for the libs yet, what kind of optimizations are
> turned on?
> 
> 

Check the CFLAG line in the makefile in  ms\ntdll.mak by default the
options are:

 /MD /W3 /WX /G5 /Ox /O2 /Ob2 /Gs0 /GF /Gy

I've had reports that removing all optimization at least fixes the AES
problem.

I'll be checking out SP5 and the processor pack to see if some fine
tuning of the options can help this.

Steve.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to