bin/133234: [regression] OpenSSL does not use cryptodev even when
it is present
Eugene M. Kim
20080111.freebsd.org at ab.ote.we.lv
Mon Mar 30 17:30:05 PDT 2009
>Number: 133234
>Category: bin
>Synopsis: [regression] OpenSSL does not use cryptodev even when it is present
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Mar 31 00:30:04 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Eugene M. Kim
>Release: FreeBSD 7.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD paperboy.dev.p2p.nttmcl.com 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan 1 14:37:25 UTC 2009 root at logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
Hardware: Dell PowerEdge R300 with:
-- Intel Xeon E3110 - dual-core, 3.0GHz
-- 4GB memory (3326MB visible to the non-PAE kernel)
-- PCI-X riser card
-- Broadcom BCM95821SSN PCI-X cryptographic accelerator card
Kernel modules: cryptodev, ubsec
>Description:
When cryptodev is present, OpenSSL probes its usability but actually never
uses it for cryptographic operation, falling back to the default,
software-based implementation.
>How-To-Repeat:
With ubsec.ko and cryptodev.ko loaded:
$ ktrace openssl speed -evp des-cbc -elapsed
$ kdump | grep ioctl
The last command shows no CIOCCRYPT ioctls, i.e. actual hardware encryptions.
This problem is a regression, previously unobserved on FreeBSD 6.4 (which
however has its own problem; see kern/133143).
>Fix:
None known yet.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list