Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jun 2015 02:48:03 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 200894] security/libressl not using hardware aesni acceleration
Message-ID:  <bug-200894-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
          Reporter: dewayne@heuristicsystems.com.au
          Assignee: vsevolod@FreeBSD.org
             Flags: maintainer-feedback?(vsevolod@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-200894-13>