From owner-freebsd-hackers@FreeBSD.ORG Tue Dec 19 14:20:13 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 48E1D16A5E1 for ; Tue, 19 Dec 2006 14:20:13 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 40D5843CA0 for ; Tue, 19 Dec 2006 14:18:49 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id E9C1145B26; Tue, 19 Dec 2006 14:46:46 +0100 (CET) Received: from localhost (pjd.wheel.pl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 268E845696; Tue, 19 Dec 2006 14:46:34 +0100 (CET) Date: Tue, 19 Dec 2006 14:46:19 +0100 From: Pawel Jakub Dawidek To: Alex Aronson Message-ID: <20061219134619.GA81634@garage.freebsd.pl> References: <009e01c7219d$95e19700$0100a8c0@Alex> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="k1lZvvs/B4yU6o8G" Content-Disposition: inline In-Reply-To: <009e01c7219d$95e19700$0100a8c0@Alex> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-hackers@freebsd.org Subject: Re: FW: FreeBSD: driver for ssl hardware accelerator board based on broadcom bcm5825, bcm5862 chips X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Dec 2006 14:20:13 -0000 --k1lZvvs/B4yU6o8G Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Dec 17, 2006 at 07:38:30AM +0200, Alex Aronson wrote: >=20 >=20 > -----Original Message----- > From: Alex Aronson [mailto:alexa@silicom.co.il] > Sent: Wednesday, December 13, 2006 10:48 AM > To: 'sam@errno.com'; 'jason@thought.net'; 'deraadt@openbsd.org'; > 'patrik@ipunplugged.com' > Subject: FreeBSD: driver for ssl hardware accelerator board based on > broadcom bcm5825, bcm5862 chips >=20 >=20 > Hello, > I am working on FreeBSD driver for bcm5825 (5862) based board. > Would you please help me. >=20 > First of all I tried to work with bcm5820 based board. > I installed FreeBSD 6.1 and load ubsec module: > kldload ubsec > In dmesg I saw that module recognized board (ubsec0: Broadcom 5820), cryp= to > module was also loaded. >=20 > After that I run openssl test (openssl version 0.9.7e-p1 25 Oct 2004) > openssl speed rsa1024 -engine ubsec > can't use that engine > 830:error:2507006C:DSO support routines:DSO_load:functionality not > supported:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/ds= o/d > so_lib.c:239: > 830:error:84069067:ubsec engine:UBSEC_INIT:dso > failure:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engi= ne/ > hw_ubsec.c:390: > 830:error:260B806D:engine routines:ENGINE_TABLE_REGISTER:init > failed:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engin= e/e > ng_table.c:182: >=20 > What am I missing? > There is no libubsec.so in the system. >=20 > Any help will be appreciated. '-engine ubsec' will try to use userland driver. If you loaded ubsec.ko and cryptodev.ko, you should use '-engine cryptodev'. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --k1lZvvs/B4yU6o8G Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFFh+0rForvXbEpPzQRAsdcAJ4/Tp+dqX9RJ5YZ8u+AYMiOxF1SbACfQqaf C6R0osK+RTj+iLcD4vDTVcc= =yhPP -----END PGP SIGNATURE----- --k1lZvvs/B4yU6o8G--