AMD Geode LX crypto accelerator (glxsb)

Pegasus Mc cleaft ken at mthelicon.com
Sun Jun 22 21:12:50 UTC 2008


On Sunday 22 June 2008 19:20:41 Patrick Lamaizière 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 (like 
ssh, etc) 

~Peg

--- 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 @@
 	}
 
 	ENGINE_add(engine);
+	ENGINE_set_default_ciphers(engine);
 	ENGINE_free(engine);
 	ERR_clear_error();
 }




More information about the freebsd-hackers mailing list