kernel: remove packaging of kmod-crypto-core and kmod-crypto-arc4
Everything except for blkcipher was already built-in, so make blkcipher built-in as well. Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46820
This commit is contained in:
@@ -15,24 +15,9 @@ crypto_confvar=CONFIG_CRYPTO_$(word 1,$(subst =,$(space),$(1)))
|
||||
crypto_file=$(LINUX_DIR)/crypto/$(word 2,$(subst =,$(space),$(1))).ko
|
||||
crypto_name=$(if $(findstring y,$($(call crypto_confvar,$(1)))),,$(word 2,$(subst =,$(space),$(1))))
|
||||
|
||||
define KernelPackage/crypto-core
|
||||
SUBMENU:=$(CRYPTO_MENU)
|
||||
TITLE:=Core CryptoAPI modules
|
||||
KCONFIG:= \
|
||||
CONFIG_CRYPTO=y \
|
||||
CONFIG_CRYPTO_HW=y \
|
||||
CONFIG_CRYPTO_BLKCIPHER \
|
||||
CONFIG_CRYPTO_ALGAPI \
|
||||
$(foreach mod,$(CRYPTO_MODULES),$(call crypto_confvar,$(mod)))
|
||||
FILES:=$(foreach mod,$(CRYPTO_MODULES),$(call crypto_file,$(mod)))
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,crypto-core))
|
||||
|
||||
|
||||
define AddDepends/crypto
|
||||
SUBMENU:=$(CRYPTO_MENU)
|
||||
DEPENDS+=+kmod-crypto-core $(1)
|
||||
DEPENDS+= $(1)
|
||||
endef
|
||||
|
||||
define KernelPackage/crypto-aead
|
||||
@@ -255,17 +240,6 @@ endef
|
||||
$(eval $(call KernelPackage,crypto-hw-omap))
|
||||
|
||||
|
||||
define KernelPackage/crypto-arc4
|
||||
TITLE:=ARC4 (RC4) 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
|
||||
|
||||
@@ -90,7 +90,6 @@ 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 \
|
||||
|
||||
@@ -713,7 +713,7 @@ $(eval $(call KernelPackage,ipoa))
|
||||
define KernelPackage/mppe
|
||||
SUBMENU:=$(NETWORK_SUPPORT_MENU)
|
||||
TITLE:=Microsoft PPP compression/encryption
|
||||
DEPENDS:=kmod-ppp +kmod-crypto-core +kmod-crypto-arc4 +kmod-crypto-sha1 +kmod-crypto-ecb
|
||||
DEPENDS:=kmod-ppp +kmod-crypto-sha1 +kmod-crypto-ecb
|
||||
KCONFIG:= \
|
||||
CONFIG_PPP_MPPE_MPPC \
|
||||
CONFIG_PPP_MPPE
|
||||
@@ -997,7 +997,7 @@ define KernelPackage/rxrpc
|
||||
$(LINUX_DIR)/net/rxrpc/af-rxrpc.ko \
|
||||
$(LINUX_DIR)/net/rxrpc/rxkad.ko
|
||||
AUTOLOAD:=$(call AutoLoad,30,rxkad af-rxrpc)
|
||||
DEPENDS:=+kmod-crypto-core +kmod-crypto-manager +kmod-crypto-pcbc +kmod-crypto-fcrypt
|
||||
DEPENDS:= +kmod-crypto-manager +kmod-crypto-pcbc +kmod-crypto-fcrypt
|
||||
endef
|
||||
|
||||
define KernelPackage/rxrpc/description
|
||||
|
||||
Reference in New Issue
Block a user