[Bug 200894] security/libressl not using hardware aesni acceleration

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jun 16 02:48:03 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200894

            Bug ID: 200894
           Summary: security/libressl not using hardware aesni
                    acceleration
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: vsevolod at FreeBSD.org
          Reporter: dewayne at heuristicsystems.com.au
          Assignee: vsevolod at FreeBSD.org
             Flags: maintainer-feedback?(vsevolod at FreeBSD.org)

While testing the features of libressl 2.1.7 on FreeBSD 10.1Stable it appeared 
that libressl is not using hardware acceleration.

openssl aes256 encrypt/decrypt 160MB file: 0.686157 secs (244509876
bytes/sec)
libressl aes256 encrypt/decrypt 160MB file:  1.768195 secs (94883282
bytes/sec)

openssl speed -evp aes-256-cbc: 74691.70k   288535.11k   876427.49k 
5323319.66k 29095886.85k
libressl, speed -evp aes-256-cbc:  95036.12k   103030.42k   104839.86k  
105190.19k   105840.81k

These results were on a Xeon 1230Lv3 cpu (using aesni features).

The encrypt/decrypt test used 
dd if=/dev/zero bs=1m count=160 | openssl enc -e -aes-256-cbc -pass
pass:p1 | openssl enc -aes-256-cbc -d -pass pass:p1 > /dev/null

The performance of using des3-cbc was similar (as it was not affected by
hardware acceleration).

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list