summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2019-08-02 21:48:24 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2019-08-14 20:15:48 +0200
commit907f4e839ba8c0553b7aec35b383d733addd574f (patch)
treea1c8a8d53e9e7df54096a80af9128c2fd8a149be
parent28cbfac2b71b68adc1b0e8af290eac7d3ff9a130 (diff)
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 <hauke@hauke-m.de>
-rw-r--r--backport/compat/Kconfig10
1 files changed, 10 insertions, 0 deletions
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