[PATCH 08/12] backport: Add arc4 library

Hauke Mehrtens <[email protected]>
Newsgroups org.kernel.vger.backports
Message-ID <[email protected]>
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 <[email protected]>
---
 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
-- 
2.20.1

--
To unsubscribe from this list: send the line "unsubscribe backports" in
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.