Message ID | 20190805120704.13128-9-hauke@hauke-m.de (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | backports: Update to kernel 5.3-rc3 | expand |
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
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> --- backport/compat/Kconfig | 10 ++++++++++ 1 file changed, 10 insertions(+)