Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Dec 2006 14:46:19 +0100
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Alex Aronson <alexa@silicom.co.il>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: FW: FreeBSD: driver for ssl hardware accelerator board based on broadcom bcm5825, bcm5862 chips
Message-ID:  <20061219134619.GA81634@garage.freebsd.pl>
In-Reply-To: <009e01c7219d$95e19700$0100a8c0@Alex>
References:  <009e01c7219d$95e19700$0100a8c0@Alex>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



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