[PATCH 08/12] backport: Add arc4 library

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


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@xxxxxxxxxx>
 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
 	#h-file crypto/pkcs7.h
+	bool
+	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

To unsubscribe from this list: send the line "unsubscribe backports" in

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux