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

Colin Watson cjwatson at canonical.com
Fri Feb 10 13:58:27 UTC 2012


** Changed in: openssl (Ubuntu)
       Status: New => Triaged

** Changed in: openssl (Ubuntu)
   Importance: Undecided => Medium

-- 
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

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