[Buildroot] [PATCH 1/1] openssh: add support for HW SSL engines

Baruch Siach baruch at tkos.co.il
Tue Apr 18 09:42:09 UTC 2017


Hi Gilad,

Thanks for you contribution. I have a small comment inline below.

On Tue, Apr 18, 2017 at 11:47:56AM +0300, Gilad Ben-Yossef wrote:
> Add support for OpenSSH to use a hardware SSL engine if cryptodev-linux is
> included.
> 
> Signed-off-by: Gilad Ben-Yossef <gilad at benyossef.com>
> ---
>  package/openssh/openssh.mk | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/package/openssh/openssh.mk b/package/openssh/openssh.mk
> index f971e99..4a6c516 100644
> --- a/package/openssh/openssh.mk
> +++ b/package/openssh/openssh.mk
> @@ -28,6 +28,11 @@ endif
>  
>  OPENSSH_DEPENDENCIES = zlib openssl
>  
> +ifeq ($(BR2_PACKAGE_CRYPTODEV_LINUX), y)

Redundant space before 'y'.

> +OPENSSH_DEPENDENCIES += cryptodev-linux
> +OPENSSH_CONF_OPTS += --with-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

baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -



More information about the buildroot mailing list