Bug #1638
Updated by alexh about 13 years ago
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