Date: Mon, 30 Mar 2009 17:20:41 -0700 (PDT) From: "Eugene M. Kim" <20080111.freebsd.org@ab.ote.we.lv> To: FreeBSD-gnats-submit@FreeBSD.org Subject: bin/133234: [regression] OpenSSL does not use cryptodev even when it is present Message-ID: <200903310020.n2V0Kftc010676@paperboy.dev.p2p.nttmcl.com> Resent-Message-ID: <200903310030.n2V0U5P9039970@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903310020.n2V0Kftc010676>