From: Bruno Thomsen <bth@kamstrup.dk>
To: ptxdist@pengutronix.de
Cc: bth@kamstrup.dk
Subject: [ptxdist] [PATCH 1/2] strongswan: added openssl plugin option
Date: Fri, 12 Dec 2014 13:21:03 +0100 [thread overview]
Message-ID: <1418386864-13667-1-git-send-email-bth@kamstrup.dk> (raw)
OpenSSL adds Elliptic Curve support in IKE Diffie-Hellman key exchange.
Signed-off-by: Bruno Thomsen <bth@kamstrup.dk>
---
rules/strongswan.in | 8 ++++++++
rules/strongswan.make | 5 ++++-
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/rules/strongswan.in b/rules/strongswan.in
index 5402ffb..d50ea8d 100644
--- a/rules/strongswan.in
+++ b/rules/strongswan.in
@@ -5,6 +5,7 @@ menuconfig STRONGSWAN
prompt "strongswan "
select LIBGMP
select LIBCURL if STRONGSWAN_LIBCURL
+ select OPENSSL if STRONGSWAN_OPENSSL
help
strongSwan is a complete IPsec implementation.
Please keep in mind to configure the kernel accordingly to fulfill
@@ -22,6 +23,13 @@ config STRONGSWAN_LIBCURL
(CRLs) from an HTTP server or as an alternative want to use
the Online Certificate Status Protocol (OCSP) say yes.
+config STRONGSWAN_OPENSSL
+ bool
+ default n
+ prompt "OpenSSL crypto library for IKE"
+ help
+ This will add Elliptic Curve support in IKE Diffie-Hellman key exchange.
+
config STRONGSWAN_AFALG
bool
default y
diff --git a/rules/strongswan.make b/rules/strongswan.make
index 57fc7da..df4f9c8 100644
--- a/rules/strongswan.make
+++ b/rules/strongswan.make
@@ -34,6 +34,7 @@ STRONGSWAN_CONF_TOOL := autoconf
STRONGSWAN_CONF_OPT := \
$(CROSS_AUTOCONF_USR) \
--$(call ptx/endis, PTXCONF_STRONGSWAN_LIBCURL)-curl \
+ --$(call ptx/endis, PTXCONF_STRONGSWAN_OPENSSL)-openssl \
--disable-unbound \
--disable-soup \
--disable-ldap \
@@ -150,7 +151,6 @@ STRONGSWAN_CONF_OPT := \
--disable-osx-attr \
--enable-resolve \
--disable-padlock \
- --disable-openssl \
--disable-gcrypt \
--disable-agent \
--disable-pkcs11 \
@@ -228,6 +228,9 @@ STRONGSWAN_PLUGINS := \
ifdef PTXCONF_STRONGSWAN_LIBCURL
STRONGSWAN_PLUGINS += libstrongswan-curl.so
endif
+ifdef PTXCONF_STRONGSWAN_OPENSSL
+ STRONGSWAN_PLUGINS += libstrongswan-openssl.so
+endif
ifdef PTXCONF_STRONGSWAN_AFALG
STRONGSWAN_PLUGINS += libstrongswan-af-alg.so
endif
--
1.9.1
--
ptxdist mailing list
ptxdist@pengutronix.de
next reply other threads:[~2014-12-12 12:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-12 12:21 Bruno Thomsen [this message]
2014-12-12 12:21 ` [ptxdist] [PATCH 2/2] strongswan: aes-gcm support enabled Bruno Thomsen
2015-01-12 15:34 ` [ptxdist] [PATCH 1/2] strongswan: added openssl plugin option Michael Olbrich
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=1418386864-13667-1-git-send-email-bth@kamstrup.dk \
--to=bth@kamstrup.dk \
--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