Project

General

Profile

Actions

Bug #1638

closed

OpenSSL cryptodev patch

Added by lentferj almost 15 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

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


Files

cryptodev.patch (4.81 KB) cryptodev.patch lentferj, 01/02/2010 11:24 AM
hifn1.diff (21.5 KB) hifn1.diff alexh, 01/23/2010 10:10 AM
Actions

Also available in: Atom PDF