From 7b9faa03ee7a9ec221b6c3d900d3f9783c4d27b5 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Fri, 14 Jan 2011 10:43:24 -0300 Subject: openssl: add ocf support Enable OCF (cryptodev) support for openssl as an option. This requires a patched kernel to export hardware acceleration for openssl to use it. If you lack a patched kernel or support it won't break anything, it will simply fall back to the default software engine from openssl, you'll just have a slightly bigger libssl/libcrypto. Tested with 20100325 release + 20101223 patch from the mailing list. [Peter: slightly tweaked .mk] Signed-off-by: Gustavo Zacarias Signed-off-by: Peter Korsgaard --- package/openssl/Config.in | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'package/openssl/Config.in') diff --git a/package/openssl/Config.in b/package/openssl/Config.in index 468501435..3e09d88b8 100644 --- a/package/openssl/Config.in +++ b/package/openssl/Config.in @@ -21,3 +21,13 @@ config BR2_PACKAGE_OPENSSL_ENGINES depends on BR2_PACKAGE_OPENSSL help Install additional encryption engine libraries. + +config BR2_PACKAGE_OPENSSL_OCF + bool "openssl ocf support" + depends on BR2_PACKAGE_OPENSSL + help + Enable openssl cryptodev (OCF) hardware acceleration support. + This requires kernel patches from the ocf-linux project otherwise + you'll just have a bigger openssl library that works as usual. + + http://ocf-linux.sourceforge.net/ -- cgit v1.2.3