Thanks, applied as 9c104d243a4083448b53b5542654e561f5665b2a.

Michael

[sent from post-receive hook]

On Thu, 08 Feb 2024 17:02:56 +0100, Steffen Trumtrar 
<[email protected]> wrote:
> Since 3.0.0 openSSL can use kTLS. Allow configuring it.
> 
> With kTLS enabled the linux kernel can handle the TLS connection in
> kernel space and potentially offload to crypto/network hardware.
> 
> Signed-off-by: Steffen Trumtrar <[email protected]>
> Message-Id: 
> <20240122-v2024-01-0-topic-openssl-v1-2-88a1234c0...@pengutronix.de>
> Signed-off-by: Michael Olbrich <[email protected]>
> 
> diff --git a/rules/openssl.in b/rules/openssl.in
> index 629ee305726d..4c00e1e055e1 100644
> --- a/rules/openssl.in
> +++ b/rules/openssl.in
> @@ -35,4 +35,10 @@ config OPENSSL_CRYPTODEV
>       help
>         Enable the BSD cryptodev engine even if we are not using BSD.
>  
> +config OPENSSL_KTLS
> +     bool
> +     prompt "enable OpenSSL kTLS support"
> +     help
> +       Whether to build OpenSSL with kTLS support.
> +
>  endif
> diff --git a/rules/openssl.make b/rules/openssl.make
> index 6e7111c70bab..bc1322725260 100644
> --- a/rules/openssl.make
> +++ b/rules/openssl.make
> @@ -67,6 +67,7 @@ OPENSSL_CONF_OPT := \
>       --openssldir=/usr/lib/ssl \
>       shared \
>       $(call ptx/ifdef, PTXCONF_OPENSSL_CRYPTODEV, enable-devcryptoeng, 
> no-devcryptoeng) \
> +     $(call ptx/ifdef, PTXCONF_OPENSSL_KTLS, enable-ktls, no-ktls) \
>       no-idea \
>       no-mdc2 \
>       no-rc5 \

Reply via email to