diff options
author | Ladislav Michl <ladis@linux-mips.org> | 2019-08-12 15:21:25 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2019-08-14 10:14:18 +0200 |
commit | 50f67a17f67028b90a0bb7c4c67a314c1623e12e (patch) | |
tree | f9ff437367c371d404b648c73e2158496b7c7cad /rules | |
parent | 2cf00033299fda87c84a27bf24b29009d478cf24 (diff) | |
download | ptxdist-50f67a17f67028b90a0bb7c4c67a314c1623e12e.tar.gz ptxdist-50f67a17f67028b90a0bb7c4c67a314c1623e12e.tar.xz |
openssl: add cryptodev support
Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules')
-rw-r--r-- | rules/openssl.in | 7 | ||||
-rw-r--r-- | rules/openssl.make | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/rules/openssl.in b/rules/openssl.in index 096b398d3..2471376be 100644 --- a/rules/openssl.in +++ b/rules/openssl.in @@ -4,6 +4,7 @@ menuconfig OPENSSL tristate select LIBC_DL select GCCLIBS_GCC_S + select CRYPTODEV if OPENSSL_CRYPTODEV prompt "openssl " help Secure Socket Layer (SSL) binary and related cryptographic tools @@ -28,4 +29,10 @@ config OPENSSL_BIN help Whether to build and install OpenSSL binary. +config OPENSSL_CRYPTODEV + bool + prompt "use cryptodev hw acceleration" + help + Enable the BSD cryptodev engine even if we are not using BSD. + endif diff --git a/rules/openssl.make b/rules/openssl.make index 9d921d0fa..c0fd0e69b 100644 --- a/rules/openssl.make +++ b/rules/openssl.make @@ -68,6 +68,7 @@ OPENSSL_CONF_OPT := \ --libdir=/usr/lib \ --openssldir=/usr/lib/ssl \ shared \ + $(call ptx/ifdef, PTXCONF_OPENSSL_CRYPTODEV, enable-devcryptoeng, no-devcryptoeng) \ no-idea \ no-mdc2 \ no-rc5 \ |