[Bug 922946] Re: Ubuntu 11.10 omap/armv7 OpenSSL built without ARMv4 optimization

Riku Voipio riku.voipio at linaro.org
Tue Jun 12 07:08:34 UTC 2012


I have attached a fix to the debian bug. Note that the "armv4l" in the
upstream means "everything from armv4 -> armv7, including runtime
detection of neon".

** Bug watch added: Debian Bug tracker #676533
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=676533

** Also affects: openssl (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=676533
   Importance: Unknown
       Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to openssl in Ubuntu.
https://bugs.launchpad.net/bugs/922946

Title:
  Ubuntu 11.10 omap/armv7 OpenSSL built without ARMv4 optimization

Status in “openssl” package in Ubuntu:
  Triaged
Status in “openssl” package in Debian:
  Unknown

Bug description:
  I'm running the "OMAP" build of Ubuntu 11.10 on armv7.

  root at omap:~/ovpn3/test/cli# uname -a
  Linux omap 3.1.0-psp3 #1 SMP Fri Dec 23 10:44:55 UTC 2011 armv7l armv7l armv7l GNU/Linux

  I noticed that the OpenSSL build with this distro wasn't built with
  ARMv4 optimizations.  As a result, certain crypto operations such as
  AES use the slow C version instead of the fast armv4 asm version.

  You can confirm this by running an app that uses OpenSSL in gdb and
  running "disas AES_encrypt".

  The resulting disassembly should match the ARMv4 ASM code in
  crypto/aes/asm/aes-armv4.pl in the OpenSSL distro.

  When building OpenSSL, make sure to specify armv4 to get the asm
  optimizations:

    ./Configure linux-armv4
    make

  James

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/922946/+subscriptions




More information about the foundations-bugs mailing list