From: Ladislav Michl <ladis@linux-mips.org>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH v2 3/3] openssl: add cryptodev support
Date: Mon, 12 Aug 2019 15:21:25 +0200 [thread overview]
Message-ID: <20190812132125.GD23382@lenoch> (raw)
In-Reply-To: <20190812131914.GA23382@lenoch>
Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
---
Changes:
-v2: Drop patches as v1.1 reimplemented cryptodev support
rules/openssl.in | 7 +++++++
rules/openssl.make | 1 +
2 files changed, 8 insertions(+)
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 \
--
2.22.0
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
prev parent reply other threads:[~2019-08-12 13:21 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-12 13:19 [ptxdist] [PATCH v2 0/3] cryptodev Ladislav Michl
2019-08-12 13:19 ` [ptxdist] [PATCH v2 1/3] cryptodev: new package Ladislav Michl
2019-08-13 7:33 ` Michael Olbrich
2019-08-13 8:00 ` Ladislav Michl
2019-08-13 8:10 ` Ladislav Michl
2019-08-13 10:31 ` Michael Olbrich
2019-08-12 13:20 ` [ptxdist] [PATCH v2 2/3] gnutls: add cryptodev support Ladislav Michl
2019-08-12 13:21 ` Ladislav Michl [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190812132125.GD23382@lenoch \
--to=ladis@linux-mips.org \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox