* [Buildroot] [PATCH v2 1/1] openssh: add support for HW SSL engines
@ 2017-04-18 13:03 Gilad Ben-Yossef
2017-04-18 18:05 ` Arnout Vandecappelle
2017-05-03 21:14 ` Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: Gilad Ben-Yossef @ 2017-04-18 13:03 UTC (permalink / raw)
To: buildroot
Enable support for OpenSSH to use a hardware SSL engine if
cryptodev-linux is included. Without this, OpenSSH uses only
OpenSSL software crypto implementation.
Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
CC: Baruch Siach <baruch@tkos.co.il>
CC: Arnout Vandecappelle <arnout@mind.be>
---
Changes from v1:
Incorporated style feedback from Baruch and Arnout.
package/openssh/openssh.mk | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/package/openssh/openssh.mk b/package/openssh/openssh.mk
index f971e99..7e197b0 100644
--- a/package/openssh/openssh.mk
+++ b/package/openssh/openssh.mk
@@ -28,6 +28,13 @@ endif
OPENSSH_DEPENDENCIES = zlib openssl
+ifeq ($(BR2_PACKAGE_CRYPTODEV_LINUX),y)
+OPENSSH_DEPENDENCIES += cryptodev-linux
+OPENSSH_CONF_OPTS += --with-ssl-engine
+else
+OPENSSH_CONF_OPTS += --without-ssl-engine
+endif
+
ifeq ($(BR2_PACKAGE_LINUX_PAM),y)
define OPENSSH_INSTALL_PAM_CONF
$(INSTALL) -D -m 644 $(@D)/contrib/sshd.pam.generic $(TARGET_DIR)/etc/pam.d/sshd
--
2.1.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH v2 1/1] openssh: add support for HW SSL engines
2017-04-18 13:03 [Buildroot] [PATCH v2 1/1] openssh: add support for HW SSL engines Gilad Ben-Yossef
@ 2017-04-18 18:05 ` Arnout Vandecappelle
2017-05-03 21:14 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Arnout Vandecappelle @ 2017-04-18 18:05 UTC (permalink / raw)
To: buildroot
On 18-04-17 15:03, Gilad Ben-Yossef wrote:
> Enable support for OpenSSH to use a hardware SSL engine if
> cryptodev-linux is included. Without this, OpenSSH uses only
> OpenSSL software crypto implementation.
You should have also explained that you haven't tested OCF, but OK.
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Regards,
Arnout
>
> Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
> CC: Baruch Siach <baruch@tkos.co.il>
> CC: Arnout Vandecappelle <arnout@mind.be>
> ---
>
> Changes from v1:
> Incorporated style feedback from Baruch and Arnout.
>
> package/openssh/openssh.mk | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/package/openssh/openssh.mk b/package/openssh/openssh.mk
> index f971e99..7e197b0 100644
> --- a/package/openssh/openssh.mk
> +++ b/package/openssh/openssh.mk
> @@ -28,6 +28,13 @@ endif
>
> OPENSSH_DEPENDENCIES = zlib openssl
>
> +ifeq ($(BR2_PACKAGE_CRYPTODEV_LINUX),y)
> +OPENSSH_DEPENDENCIES += cryptodev-linux
> +OPENSSH_CONF_OPTS += --with-ssl-engine
> +else
> +OPENSSH_CONF_OPTS += --without-ssl-engine
> +endif
> +
> ifeq ($(BR2_PACKAGE_LINUX_PAM),y)
> define OPENSSH_INSTALL_PAM_CONF
> $(INSTALL) -D -m 644 $(@D)/contrib/sshd.pam.generic $(TARGET_DIR)/etc/pam.d/sshd
>
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH v2 1/1] openssh: add support for HW SSL engines
2017-04-18 13:03 [Buildroot] [PATCH v2 1/1] openssh: add support for HW SSL engines Gilad Ben-Yossef
2017-04-18 18:05 ` Arnout Vandecappelle
@ 2017-05-03 21:14 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2017-05-03 21:14 UTC (permalink / raw)
To: buildroot
>>>>> "Gilad" == Gilad Ben-Yossef <gilad@benyossef.com> writes:
> Enable support for OpenSSH to use a hardware SSL engine if
> cryptodev-linux is included. Without this, OpenSSH uses only
> OpenSSL software crypto implementation.
> Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
> CC: Baruch Siach <baruch@tkos.co.il>
> CC: Arnout Vandecappelle <arnout@mind.be>
> ---
> Changes from v1:
> Incorporated style feedback from Baruch and Arnout.
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-05-03 21:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-18 13:03 [Buildroot] [PATCH v2 1/1] openssh: add support for HW SSL engines Gilad Ben-Yossef
2017-04-18 18:05 ` Arnout Vandecappelle
2017-05-03 21:14 ` Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.