Re: FreeBSD 7.1 opencrypto -- kern.cryptodevallowsoft

2009-05-20 Thread Brendan Kennedy
openssl speed -evp des-ede3-cbc -engine cryptodev works! thanks Brian. looking for that patch now... 2009/5/19 Patrick Lamaizière patf...@davenulle.org: Le Tue, 19 May 2009 14:25:24 +0100, Brendan Kennedy brendan.kenn...@gmail.com: Agreed! The driver doesn't seem to be getting executed

Re: FreeBSD 7.1 opencrypto -- kern.cryptodevallowsoft

2009-05-19 Thread Brendan Kennedy
Agreed! The driver doesn't seem to be getting executed through OpenSSH/OpenSSL for ssh session setup either (it used to work that way on FreeBSD 6.2, I don't know if this feature has been left up to the user to enable in FreeBSD 7.x??). thanks for the tools, I'll give them a go. The driver is

Re: FreeBSD 7.1 opencrypto -- kern.cryptodevallowsoft

2009-05-19 Thread Patrick Lamaizière
Le Tue, 19 May 2009 14:25:24 +0100, Brendan Kennedy brendan.kenn...@gmail.com: Agreed! The driver doesn't seem to be getting executed through OpenSSH/OpenSSL for ssh session setup either (it used to work that way on FreeBSD 6.2, I don't know if this feature has been left up to the user to

Re: FreeBSD 7.1 opencrypto -- kern.cryptodevallowsoft

2009-05-18 Thread Brendan Kennedy
Hi Brian, Patrick, Thanks for your responses. I agree that it looks like a bug! I'm a bit of a newb to FreeBSD. Where should I go to log this? I ran (as root ;) ) openssl engine (padlock) VIA PadLock (no-RNG, no-ACE) (dynamic) Dynamic engine loading support (cryptodev) BSD cryptodev engine

Re: FreeBSD 7.1 opencrypto -- kern.cryptodevallowsoft

2009-05-18 Thread Brian Seklecki
The openssl speed sub-command is a real PITA: Try: $ openssl speed -elapsed -evp aes-128-cbc (or des-ede3) Also goto /usr/src/tools/tools/crypto/ make Run those utils to extract useful statistics out of the driver's kernel data structures. ~BAS On Mon, 2009-05-18 at 11:21 +0100, Brendan

Re: FreeBSD 7.1 opencrypto -- kern.cryptodevallowsoft

2009-05-15 Thread Brian A. Seklecki
On Tue, 2009-05-12 at 19:14 +0100, Brendan Kennedy wrote: Hi All, I'm trying to test a hardware crypto driver, but want to run my tests through the software driver first (and possibly use the software driver to validate results). I have set the following in my GENERIC conf file: What

Re: FreeBSD 7.1 opencrypto -- kern.cryptodevallowsoft

2009-05-15 Thread Patrick Lamaizière
Le Tue, 12 May 2009 19:14:38 +0100, Brendan Kennedy brendan.kenn...@gmail.com: Hi All, Hello, FreeBSD_26# sysctl -a | grep crypto kern.cryptodevallowsoft: 1 However, when I try a test, I get the following: FreeBSD_26# /usr/src/tools/tools/crypto/cryptotest -va 3des cipher 3des keylen

FreeBSD 7.1 opencrypto -- kern.cryptodevallowsoft

2009-05-12 Thread Brendan Kennedy
Hi All, I'm trying to test a hardware crypto driver, but want to run my tests through the software driver first (and possibly use the software driver to validate results). I have set the following in my GENERIC conf file: device crypto device enc options IPSEC I have