From 907f4e839ba8c0553b7aec35b383d733addd574f Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Fri, 2 Aug 2019 21:48:24 +0200 Subject: backport: Add arc4 library The arc4 library was extracted from the crypto system in commit dc51f25752bf ("crypto: arc4 - refactor arc4 core code into separate library") in kernel 4.20. This is now used by mac80211 and lib80211 for WEP crypto. Signed-off-by: Hauke Mehrtens --- backport/compat/Kconfig | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/backport/compat/Kconfig b/backport/compat/Kconfig index 1d85a5da..e462776e 100644 --- a/backport/compat/Kconfig +++ b/backport/compat/Kconfig @@ -168,3 +168,13 @@ config BPAUTO_ASN1_DECODER config BPAUTO_PKCS7 bool #h-file crypto/pkcs7.h + +config BPAUTO_CRYPTO_LIB_ARC4 + bool + +config BPAUTO_BUILD_CRYPTO_LIB_ARC4 + bool + default y if BPAUTO_CRYPTO_LIB_ARC4 + depends on KERNEL_4_20 || !CRYPTO_LIB_ARC4 + #h-file crypto/arc4.h + #c-file lib/crypto/arc4.c -- cgit v1.2.3