openssl: add ocf support
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Fri, 14 Jan 2011 13:43:24 +0000 (10:43 -0300)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 17 Jan 2011 21:00:08 +0000 (22:00 +0100)
commit7b9faa03ee7a9ec221b6c3d900d3f9783c4d27b5
tree092dddfd3dcdcacc5e1650452bad38062298a25a
parent77154539d8115a3fd49d4e0a6376919fa64b2a6f
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 <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/openssl/Config.in
package/openssl/ocf-cryptodev-20101223.h [new file with mode: 0644]
package/openssl/openssl.mk