Le Sun, 22 Jun 2008 19:40:04 +0200,
Ivan Voras <[EMAIL PROTECTED]> a écrit :

> Ivan Voras wrote:
> 
> > The results are practically the same.
> 
> On the other hand:
> 
> ursaminor:~/admin/glxsb> dd if=/dev/zero bs=4k count=100000 | openssl 
> enc -aes-128-cbc -e -out /dev/null -nosalt -k abcdefhij
> 100000+0 records in
> 100000+0 records out
> 409600000 bytes transferred in 77.653939 secs (5274684 bytes/sec)
> 
> ursaminor:~/admin/glxsb> dd if=/dev/zero bs=4k count=100000 | openssl 
> enc -aes-128-cbc -e -out /dev/null -nosalt -k abcdefhij -engine
> cryptodev engine "cryptodev" set.
> 100000+0 records in
> 100000+0 records out
> 409600000 bytes transferred in 21.486846 secs (19062826 bytes/sec)
> 
> So I guess it works. Any idea why "openssl speed" doesn't show it?

On FreeBSD 7, OpenSSL does not use the cryptodev engine by default. This
is a known problem. See
http://unix.derkeiler.com/Mailing-Lists/FreeBSD/hackers/2008-06/msg00076.html

openssl speed -evp aes-128-cbc -elapsed -engine cryptodev
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to