Hi all!

Not sure if this is an appropriate ML for the question, but I hope it's
interesting for the developers.

I've tried to compile OpenSSL 1.0.1c with the latest ICC(Intel C Compiler)
on my x86_64 Debian Squeeze machine:

# icc -v
icc version 13.0.1 (gcc version 4.4.5 compatibility)

Despite absence of the special -icc target for x86_64 architecture
specifying CC=icc did the trick and OpenSSL
compiled smoothly without any errors. But... "make test" failed with the
tons of errors, starting with:

des_ede3_cbcm_encrypt decrypt error
 37 36 35 34 33 32 31 20 4e 6f 77 20 69 73 20 74 68 65 20 74 69 6d 65 20 66
6f 72 20 00
 5c c4 64 56 4b 7d 39 f6 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00
Doing ecb
Encryption error  1
k=0000000000000000 p=0000000000000000 o=8CA64DE9C1B123A7
act=5CC464564B7D39F6
Decryption error  1
k=0000000000000000 p=5CC464564B7D39F6 o=0000000000000000
act=5CC464564B7D39F6
Encryption error  2
k=FFFFFFFFFFFFFFFF p=FFFFFFFFFFFFFFFF o=7359B2163E4EDC58
act=68845C562BF5316A
Decryption error  2
...
fast crypt test fast crypt error, ef18m.H5CTFIY should be efGnQx2725bI2
fast crypt error, yAH2WUFGPVkkc should be yA1Rp/1hZXIJk

Obviously, something went wrong here :( I played around with optimization
flags in the Makefile(removing whatever
left from the default target), but nothing helps.

This is definitely beyond my expertize, I can't figure out why results of
icc so different from gcc, but I think it would be really
useful to fix the problem and get icc work, as with some of the speed tests
I've noticed 15% increase in performance. Of course,
that numbers are useless as the resulting hashes are wrong, but I hope to
see real comparison.

With best regards,
Timur Bakeyev.

Reply via email to