openwrt/target/linux/generic/hack-5.10/261-lib-arc4-unhide.patch
Olliver Schinagl d5bf46bbe8
generic: Convert incorrect generic/5.10 patches
OpenWRT's developer guide prefers having actual patches so they an be
sent upstream more easily.

However, in this case, Adding proper fields also allows for `git am` to
properly function. Some of these patches are quite old, and lack much
traceable history.

This commit tries to rectify that, by digging in the history to find
where and how it was first added.

It is by no means perfect and also shows some patches that should have
been long gone.

Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
2022-10-01 02:47:56 +02:00

29 lines
878 B
Diff

From: Koen Vandeputte <koen.vandeputte@ncentric.com>
Subject: crypto: arc4 unhide
This makes it possible to select CONFIG_CRYPTO_LIB_ARC4 directly. We
need this to be able to compile this into the kernel and make use of it
from backports.
Submitted-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Submitted-by: David Bauer <mail@david-bauer.net>
Submitted-by: Christian Lamparter <chunkeey@gmail.com>
Submitted-by: Ansuel Smith <ansuelsmth@gmail.com>
Submitted-by: Robert Marko <robimarko@gmail.com>
Submitted-by: Hauke Mehrtens <hauke@hauke-m.de>
---
lib/crypto/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/lib/crypto/Kconfig
+++ b/lib/crypto/Kconfig
@@ -6,7 +6,7 @@ config CRYPTO_LIB_AES
tristate
config CRYPTO_LIB_ARC4
- tristate
+ tristate "ARC4 cipher library"
config CRYPTO_ARCH_HAVE_LIB_BLAKE2S
bool