Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Sep 2014 09:18:05 +0200 (CEST)
From:      Wojciech Puchar <wojtek@puchar.net>
To:        hackers@freebsd.org
Subject:   openssl with aes-in or padlock
Message-ID:  <alpine.BSF.2.00.1409110915560.61056@wojtek.dom>

next in thread | raw e-mail | index | archive | help
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?




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