From: Ladislav Michl <ladis@linux-mips.org>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH v2 2/3] gnutls: add cryptodev support
Date: Mon, 12 Aug 2019 15:20:38 +0200 [thread overview]
Message-ID: <20190812132037.GC23382@lenoch> (raw)
In-Reply-To: <20190812131914.GA23382@lenoch>
Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
---
Changes:
-v2: None
rules/gnutls.in | 7 +++++++
rules/gnutls.make | 2 +-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/rules/gnutls.in b/rules/gnutls.in
index e3427d6eb..c0f47b5cf 100644
--- a/rules/gnutls.in
+++ b/rules/gnutls.in
@@ -5,6 +5,7 @@ menuconfig GNUTLS
select LIBTASN1
select NETTLE
select GCCLIBS_CXX if GNUTLS_CXX
+ select CRYPTODEV if GNUTLS_CRYPTODEV
prompt "gnutls "
help
GnuTLS is a secure communications library implementing the SSL,
@@ -21,6 +22,12 @@ config GNUTLS_CXX
bool
prompt "install C++ runtime library"
+config GNUTLS_CRYPTODEV
+ bool
+ prompt "enable cryptodev support"
+ help
+ Enable the BSD cryptodev engine even if we are not using BSD.
+
config GNUTLS_OPENSSL
bool
prompt "openssl compatibility"
diff --git a/rules/gnutls.make b/rules/gnutls.make
index caa5d8426..955d1f5b4 100644
--- a/rules/gnutls.make
+++ b/rules/gnutls.make
@@ -56,7 +56,7 @@ GNUTLS_CONF_OPT := \
--enable-dhe \
--enable-ecdhe \
--enable-gost \
- --disable-cryptodev \
+ --$(call ptx/endis, PTXCONF_GNUTLS_CRYPTODEV)-cryptodev \
--enable-ocsp \
--$(call ptx/endis, PTXCONF_GNUTLS_OPENSSL)-openssl-compatibility \
--disable-tests \
--
2.22.0
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
next prev parent reply other threads:[~2019-08-12 13:20 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 ` Ladislav Michl [this message]
2019-08-12 13:21 ` [ptxdist] [PATCH v2 3/3] openssl: add cryptodev support Ladislav Michl
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=20190812132037.GC23382@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