kernel: move crypto-arc4 into a module
It is no longer required by wireless drivers, so we can save some space here Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
		| @@ -46,6 +46,17 @@ endef | ||||
| $(eval $(call KernelPackage,crypto-aead)) | ||||
|  | ||||
|  | ||||
| define KernelPackage/crypto-arc4 | ||||
|   TITLE:=ARC4 cipher CryptoAPI module | ||||
|   KCONFIG:=CONFIG_CRYPTO_ARC4 | ||||
|   FILES:=$(LINUX_DIR)/crypto/arc4.ko | ||||
|   AUTOLOAD:=$(call AutoLoad,09,arc4) | ||||
|   $(call AddDepends/crypto) | ||||
| endef | ||||
|  | ||||
| $(eval $(call KernelPackage,crypto-arc4)) | ||||
|  | ||||
|  | ||||
| define KernelPackage/crypto-authenc | ||||
|   TITLE:=Combined mode wrapper for IPsec | ||||
|   DEPENDS:=+kmod-crypto-manager +kmod-crypto-null | ||||
|   | ||||
| @@ -98,6 +98,7 @@ define KernelPackage/fs-cifs | ||||
|   AUTOLOAD:=$(call AutoLoad,30,cifs) | ||||
|   $(call AddDepends/nls) | ||||
|   DEPENDS+= \ | ||||
|     +kmod-crypto-arc4 \ | ||||
|     +kmod-crypto-hmac \ | ||||
|     +kmod-crypto-md5 \ | ||||
|     +kmod-crypto-md4 \ | ||||
|   | ||||
| @@ -733,7 +733,7 @@ $(eval $(call KernelPackage,ipoa)) | ||||
| define KernelPackage/mppe | ||||
|   SUBMENU:=$(NETWORK_SUPPORT_MENU) | ||||
|   TITLE:=Microsoft PPP compression/encryption | ||||
|   DEPENDS:=kmod-ppp +kmod-crypto-sha1 +kmod-crypto-ecb | ||||
|   DEPENDS:=kmod-ppp +kmod-crypto-arc4 +kmod-crypto-sha1 +kmod-crypto-ecb | ||||
|   KCONFIG:= \ | ||||
| 	CONFIG_PPP_MPPE_MPPC \ | ||||
| 	CONFIG_PPP_MPPE | ||||
|   | ||||
| @@ -882,7 +882,7 @@ CONFIG_CRYPTO_ALGAPI=y | ||||
| CONFIG_CRYPTO_ALGAPI2=y | ||||
| # CONFIG_CRYPTO_ANSI_CPRNG is not set | ||||
| # CONFIG_CRYPTO_ANUBIS is not set | ||||
| CONFIG_CRYPTO_ARC4=y | ||||
| # CONFIG_CRYPTO_ARC4 is not set | ||||
| # CONFIG_CRYPTO_AUTHENC is not set | ||||
| CONFIG_CRYPTO_BLKCIPHER=y | ||||
| CONFIG_CRYPTO_BLKCIPHER2=y | ||||
|   | ||||
| @@ -926,7 +926,7 @@ CONFIG_CRYPTO_ALGAPI=y | ||||
| CONFIG_CRYPTO_ALGAPI2=y | ||||
| # CONFIG_CRYPTO_ANSI_CPRNG is not set | ||||
| # CONFIG_CRYPTO_ANUBIS is not set | ||||
| CONFIG_CRYPTO_ARC4=y | ||||
| # CONFIG_CRYPTO_ARC4 is not set | ||||
| # CONFIG_CRYPTO_AUTHENC is not set | ||||
| CONFIG_CRYPTO_BLKCIPHER=y | ||||
| CONFIG_CRYPTO_BLKCIPHER2=y | ||||
|   | ||||
| @@ -822,7 +822,7 @@ CONFIG_CRYPTO_ALGAPI=y | ||||
| CONFIG_CRYPTO_ALGAPI2=y | ||||
| # CONFIG_CRYPTO_ANSI_CPRNG is not set | ||||
| # CONFIG_CRYPTO_ANUBIS is not set | ||||
| CONFIG_CRYPTO_ARC4=y | ||||
| # CONFIG_CRYPTO_ARC4 is not set | ||||
| # CONFIG_CRYPTO_AUTHENC is not set | ||||
| CONFIG_CRYPTO_BLKCIPHER=y | ||||
| CONFIG_CRYPTO_BLKCIPHER2=y | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Felix Fietkau
					Felix Fietkau