Comment 2 for bug 940230

Revision history for this message
cc (codecrumb) wrote :

Here's a post that talks about the old assembly for 64bit x86.
http://zombe.es/post/4059999783/openssl-outmoded-asm

Performance is up to 50% worse for AES ciphers so I would think this is a must fix.

Patch available for RC4 on x86_64. http://cvs.openssl.org/filediff?f=openssl/crypto/rc4/asm/rc4-x86_64.pl&v1=1.12&v2=1.13

For the rest, the option should be to disable ASM for 64bit and rely on AESNI for processors with AES-NI support.
Possible patch here: http://dl.dropbox.com/u/24257718/openssl-1.0.0d-noasm_aes_rc4.patch

Another data point:
http://old.nabble.com/64-bit-OpenSSL-FIPS-1.2.3-with-asm-slow-performance-problems-on-AES-td32773268.html