Several systems need a newer version of OpenBSD. Systems are Alix 2d with an AMD Geode, a bit dated but it works. Current systems run OpenBSD 4.4 and the hardware acceleration via glxsb works perfectly: # openssl speed -evp aes-128-cbc -engine cryptodev engine "cryptodev" set. To get the most accurate results, try to run this program when this computer is idle. Doing aes-128-cbc for 3s on 16 size blocks: 174939 aes-128-cbc's in 0.19s Doing aes-128-cbc for 3s on 64 size blocks: 164809 aes-128-cbc's in 0.23s Doing aes-128-cbc for 3s on 256 size blocks: 132123 aes-128-cbc's in 0.14s Doing aes-128-cbc for 3s on 1024 size blocks: 73053 aes-128-cbc's in 0.08s Doing aes-128-cbc for 3s on 8192 size blocks: 13744 aes-128-cbc's in 0.02s OpenSSL 0.9.7j 04 May 2006 built on: date not available options:bn(64,32) md2(int) rc4(idx,int) des(ptr,risc1,16,long) aes(partial) blowfish(idx) compiler: information not available available timing options: USE_TOD HZ=100 [sysconf value] timing function used: getrusage The 'numbers' are in 1000s of bytes per second processed. type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes aes-128-cbc 14928.13k 45003.84k 240522.58k 957520.28k 7205814.27k
But same hardware and OpenBSD 5.5 yields: # openssl speed -evp aes-128-cbc -engine cryptodev invalid engine "cryptodev" 694556312:error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library:/usr/src/lib/libssl/crypto/../src/crypto/dso/dso_dlfcn.c:187:filename(/usr/lib/engines/libcryptodev.so): File not found 694556312:error:25070067:DSO support routines:DSO_load:could not load the shared library:/usr/src/lib/libssl/crypto/../src/crypto/dso/dso_lib.c:244: 694556312:error:260B6084:engine routines:DYNAMIC_LOAD:dso not found:/usr/src/lib/libssl/crypto/../src/crypto/engine/eng_dyn.c:450: 694556312:error:2606A074:engine routines:ENGINE_by_id:no such engine:/usr/src/lib/libssl/crypto/../src/crypto/engine/eng_list.c:417:id=cryptodev 694556312:error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library:/usr/src/lib/libssl/crypto/../src/crypto/dso/dso_dlfcn.c:187:filename(libcryptodev.so): File not found 694556312:error:25070067:DSO support routines:DSO_load:could not load the shared library:/usr/src/lib/libssl/crypto/../src/crypto/dso/dso_lib.c:244: 694556312:error:260B6084:engine routines:DYNAMIC_LOAD:dso not found:/usr/src/lib/libssl/crypto/../src/crypto/engine/eng_dyn.c:450: Doing aes-128-cbc for 3s on 16 size blocks: 674503 aes-128-cbc's in 3.00s Doing aes-128-cbc for 3s on 64 size blocks: 185206 aes-128-cbc's in 3.00s Doing aes-128-cbc for 3s on 256 size blocks: 47602 aes-128-cbc's in 3.01s Doing aes-128-cbc for 3s on 1024 size blocks: 24007 aes-128-cbc's in 2.99s Doing aes-128-cbc for 3s on 8192 size blocks: 3029 aes-128-cbc's in 3.02s OpenSSL 1.0.1c 10 May 2012 built on: date not available options:bn(64,32) rc4(4x,int) des(ptr,risc1,16,long) aes(partial) idea(int) blowfish(idx) compiler: information not available The 'numbers' are in 1000s of bytes per second processed. type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes aes-128-cbc 3597.35k 3951.06k 4048.54k 8221.80k 8216.41k # dmesg OpenBSD 5.5 (GENERIC) #276: Wed Mar 5 09:57:06 MST 2014 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Geode(TM) Integrated Processor by AMD PCS ("AuthenticAMD" 586-class) 499 MHz <snip> glxpcib0 at pci0 dev 15 function 0 "AMD CS5536 ISA" rev 0x03: rev 3, 32-bit 3579 We planned an upgrade years to OpenBSD 5.0 but that was cancelled. I did however had a system lying around from back then with OpenBSD 5.0 on it so I tested that as well, and it doesn't work. Same result as OpenBSD 5.5. Suggestions how to get this (acceleration) working again? Should it be invoked differently? Thank you for your time and interest, Wessels