lkml.org 
[lkml]   [2022]   [Jul]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] crypto: lib/arc4 - expose library interface
On Thu, Jul 14, 2022 at 07:12:21AM +0200, Christian Marangi wrote:
> Permit to compile the arc4 crypto lib without any user. This is required
> by the backports project [1] that require this lib for any wireless
> driver.
>
> [1] https://backports.wiki.kernel.org/index.php/Main_Page
>
> Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
> ---
> lib/crypto/Kconfig | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/lib/crypto/Kconfig b/lib/crypto/Kconfig
> index 2082af43d51f..2dfc785a7817 100644
> --- a/lib/crypto/Kconfig
> +++ b/lib/crypto/Kconfig
> @@ -6,7 +6,11 @@ config CRYPTO_LIB_AES
> tristate
>
> config CRYPTO_LIB_ARC4
> - tristate
> + tristate "ARC4 library interface"
> + help
> + Enable the ARC4 library interface. This interface is mainly
> + used by wireless drivers and is required by the backports
> + project.
>
> config CRYPTO_ARCH_HAVE_LIB_BLAKE2S
> bool

I don't think this is appropriate for upstream, as the upstream kernel doesn't
support out-of-tree code. This is also an internal API that can change from one
kernel version to the next.

- Eric

\
 
 \ /
  Last update: 2022-07-15 04:05    [W:0.090 / U:1.520 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site