OpenSSL cryptodev patch
Jan Lentfer
Jan.Lentfer at web.de
Sat Jan 2 03:17:54 PST 2010
Attached is a patch to enable cryptodev engine support in OpenSSL on
Dragonfly.
I have tested this to some extend on a System with VIA C7 and padlock
with these results:
bash-4.0# openssl speed -elapsed -evp AES-128-CBC
[...]
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192
bytes
aes-128-cbc 2212.74k 9283.28k 14203.47k 81418.80k
551087.35k
openssl speed -elapsed -evp AES-128-CBC -engine padlock
[...]
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192
bytes
aes-128-cbc 34066.30k 115907.26k 294967.28k 483761.44k
567358.91k
[padlock.ko loaded]
openssl speed -elapsed -evp AES-128-CBC -engine cryptodev
[...]
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192
bytes
aes-128-cbc 2357.93k 8318.06k 36483.88k 124004.00k
620408.51k
[padlock.ko unloaded]
openssl speed -elapsed -evp AES-128-CBC -engine cryptodev
[...]
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192
bytes
aes-128-cbc 4413.40k 4146.96k 3727.17k 4627.12k
4654.53k
Attachment:
cryptodev.patch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bin00000.bin
Type: application/octet-stream
Size: 4924 bytes
Desc: "Description: Binary data"
URL: <http://lists.dragonflybsd.org/pipermail/submit/attachments/20100102/d7f66c3e/attachment-0018.bin>
More information about the Submit
mailing list