[Pkg-openssl-devel] Bug#517645: Bug#517645: Re-enable the x86_64 asm version of RC4 in OpenSSL

Kurt Roeckx kurt at roeckx.be
Sun Mar 1 09:32:36 UTC 2009


On Sat, Feb 28, 2009 at 10:28:03PM -0800, Marc Bevand wrote:
> Package: libssl0.9.8
> Version: 0.9.8g-15
> 
> To resolve bug #334501 the optimized x86_64 asm version of RC4 has
> been disabled, to fall back on the (slow) C version. As someone who
> contributed to the x64_64 asm implementation of RC4, I believe this
> 4-year old SIGSEGV in ssh was caused by a compiler bug. Would you
> consider re-enabling the asm version ? It is about 3x faster than the
> C version on today's processors.

Enabling it still results in:
rc4test[14703]: segfault at 00007fffe457e70c rip 0000000000403447 rsp 00007fff0453e2b8 error 4
make[2]: *** [test_rc4] Segmentation fault

And I can't change it from CHAR to INT without breaking ABI.  Either
someone needs to write a version that works with CHAR, or you'll
have to wait until I need to change the soname, like a 0.9.9 release.


Kurt






More information about the Pkg-openssl-devel mailing list