Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jun 2008 22:12:45 +0100
From:      Pegasus Mc cleaft <ken@mthelicon.com>
To:        freebsd-hackers@freebsd.org
Subject:   Re: AMD Geode LX crypto accelerator (glxsb)
Message-ID:  <200806222212.45861.ken@mthelicon.com>
In-Reply-To: <20080622202041.07f85145@baby-jane-lamaiziere-net.local>
References:  <20080606234135.46144207@baby-jane-lamaiziere-net.local> <g3m2po$bf1$1@ger.gmane.org> <20080622202041.07f85145@baby-jane-lamaiziere-net.local>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 22 June 2008 19:20:41 Patrick Lamaizi=E8re wrote:

> 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.=
ht
>ml
>
> openssl speed -evp aes-128-cbc -elapsed -engine cryptodev

Try patching openssl to force the use of the crypto hardware by default (li=
ke=20
ssh, etc)=20

~Peg

=2D-- eng_cryptodev.c.orig	2008-02-05 18:10:31.000000000 +0000
+++ eng_cryptodev.c	2008-06-14 18:25:36.175353823 +0100
@@ -1127,6 +1127,7 @@
 	}
=20
 	ENGINE_add(engine);
+	ENGINE_set_default_ciphers(engine);
 	ENGINE_free(engine);
 	ERR_clear_error();
 }





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