[oe] [PATCH 2/2] openssl: add support for OCF linux drivers

Chase Maupin chasemaupin03 at gmail.com
Thu Jan 6 21:39:46 UTC 2011


From: Chase Maupin <Chase.Maupin at ti.com>

* This patch adds support for openssl to use OCF linux drivers
  if they are available.
    * If the drivers are not available then openssl will
      default back to its own software implementation.
* Only enabled for the target side version since it doesn't
  make much sense for the host system.
* Bump the PR.

Signed-off-by: Chase Maupin <Chase.Maupin at ti.com>
---
 recipes/openssl/openssl_1.0.0c.bb |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/recipes/openssl/openssl_1.0.0c.bb b/recipes/openssl/openssl_1.0.0c.bb
index 1c0e37a..9348e53 100644
--- a/recipes/openssl/openssl_1.0.0c.bb
+++ b/recipes/openssl/openssl_1.0.0c.bb
@@ -1,10 +1,16 @@
 inherit pkgconfig
 
 require openssl.inc
+
+# For target side versions of openssl enable support for OCF Linux driver
+# if they are available.
+DEPENDS += "ocf-linux"
+CFLAG += "-DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS"
+
 SRC_URI[src.md5sum] = "ff8fb85610aef328315a9decbb2712e4"
 SRC_URI[src.sha256sum] = "f731b36de3edaa361179ae6f449668b248a360e34e31e92902d976e9b9d604eb"
 
-PR = "${INC_PR}.1"
+PR = "${INC_PR}.2"
 
 DEFAULT_PREFERENCE = "-1"
 
-- 
1.7.0.4





More information about the Openembedded-devel mailing list