Le Sun, 16 Jan 2011 12:45:55 +0100, "Marek Salwerowicz" <[email protected]> a écrit :
> I was trying to compare the 'openssl speed' results without and with > Geode LX Security block but I see no acceleration after loading glxsb > and cryptodev modules into kernel. > so5501a% openssl speed -engine cryptodev -elapsed aes-128-cbc > type 16 bytes 64 bytes 256 bytes 1024 bytes > 8192 bytes aes-128 cbc 5644.94k 5901.15k 6010.97k > 6038.09k 6047.02k so5501a% > > It's even a little bit slower.. It is slower for small buffer (<256 octets), because the overhead of the driver. But it should be better for 1024 and a lot of better for 8192. Did you try with -evp in openssl? The best is to crypt a file to test : dd if=/dev/zero bs=4k count=100000 | openssl enc -aes-128-cbc -e -out /dev/null -nosalt -k abcdefhij -engine cryptodev There was a problem on FreeBSD 6 and 7, openssl did not use the cryptodev engine by default and you have to patch openssl if you want to use the engine with ssh (for example). _______________________________________________ Soekris-tech mailing list [email protected] http://lists.soekris.com/mailman/listinfo/soekris-tech
