openssl with aes-in or padlock

Wojciech Puchar wojtek at puchar.net
Thu Sep 11 16:58:59 UTC 2014


how to check if openssl is actually using these instructions?

on machine with padlock:

#openssl speed -evp aes-256-cbc
Doing aes-256-cbc for 3s on 16 size blocks: 732600 aes-256-cbc's in 2.91s
Doing aes-256-cbc for 3s on 64 size blocks: 199833 aes-256-cbc's in 2.92s
Doing aes-256-cbc for 3s on 256 size blocks: 50469 aes-256-cbc's in 2.91s
Doing aes-256-cbc for 3s on 1024 size blocks: 25060 aes-256-cbc's in 2.92s
Doing aes-256-cbc for 3s on 8192 size blocks: 3145 aes-256-cbc's in 2.93s
OpenSSL 1.0.1e-freebsd 11 Feb 2013
built on: date not available
options:bn(64,32) rc4(8x,mmx) des(ptr,risc1,16,long) aes(partial) idea(int) 
blowfish(idx)
compiler: cc
The 'numbers' are in 1000s of bytes per second processed.
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes
aes-256-cbc       4033.24k     4377.09k     4445.61k     8782.52k     8794.06k


#openssl engine
(dynamic) Dynamic engine loading support



in the same time dd from geli encrypted ramdisk to /dev/null is 66MB/s

how to enable padlock or aes-in in openssl?

_______________________________________________
freebsd-hackers at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"



More information about the freebsd-hackers mailing list