move the deflate crypto module out of the crypto core and into a separate package - it is only used for ipsec
SVN-Revision: 25491
This commit is contained in:
parent
d64c314336
commit
2d9427566a
2 changed files with 12 additions and 3 deletions
|
@ -29,8 +29,7 @@ CRYPTO_MODULES = \
|
||||||
HASH2=crypto_hash \
|
HASH2=crypto_hash \
|
||||||
MANAGER2=cryptomgr \
|
MANAGER2=cryptomgr \
|
||||||
CBC=cbc \
|
CBC=cbc \
|
||||||
ECB=ecb \
|
ECB=ecb
|
||||||
DEFLATE=deflate
|
|
||||||
|
|
||||||
crypto_confvar=CONFIG_CRYPTO_$(word 1,$(subst =,$(space),$(1)))
|
crypto_confvar=CONFIG_CRYPTO_$(word 1,$(subst =,$(space),$(1)))
|
||||||
crypto_file=$(if $(findstring y,$($(call crypto_confvar,$(1)))),,$(LINUX_DIR)/crypto/$(word 2,$(subst =,$(space),$(1))).ko)
|
crypto_file=$(if $(findstring y,$($(call crypto_confvar,$(1)))),,$(LINUX_DIR)/crypto/$(word 2,$(subst =,$(space),$(1))).ko)
|
||||||
|
@ -183,6 +182,16 @@ endef
|
||||||
|
|
||||||
$(eval $(call KernelPackage,crypto-des))
|
$(eval $(call KernelPackage,crypto-des))
|
||||||
|
|
||||||
|
define KernelPackage/crypto-deflate
|
||||||
|
TITLE:=Deflate compression CryptoAPI module
|
||||||
|
KCONFIG:=CONFIG_CRYPTO_DEFLATE
|
||||||
|
FILES:=$(LINUX_DIR)/crypto/deflate.ko
|
||||||
|
AUTOLOAD:=$(call AutoLoad,09,deflate)
|
||||||
|
$(call AddDepends/crypto)
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call KernelPackage,crypto-deflate))
|
||||||
|
|
||||||
|
|
||||||
define KernelPackage/crypto-hmac
|
define KernelPackage/crypto-hmac
|
||||||
TITLE:=HMAC digest CryptoAPI module
|
TITLE:=HMAC digest CryptoAPI module
|
||||||
|
|
|
@ -177,7 +177,7 @@ IPSEC-m:= \
|
||||||
define KernelPackage/ipsec
|
define KernelPackage/ipsec
|
||||||
SUBMENU:=$(NETWORK_SUPPORT_MENU)
|
SUBMENU:=$(NETWORK_SUPPORT_MENU)
|
||||||
TITLE:=IPsec related modules (IPv4 and IPv6)
|
TITLE:=IPsec related modules (IPv4 and IPv6)
|
||||||
DEPENDS:=+kmod-crypto-core +kmod-crypto-des +kmod-crypto-hmac +kmod-crypto-md5 +kmod-crypto-sha1
|
DEPENDS:=+kmod-crypto-core +kmod-crypto-des +kmod-crypto-hmac +kmod-crypto-md5 +kmod-crypto-sha1 +kmod-crypto-deflate
|
||||||
KCONFIG:= \
|
KCONFIG:= \
|
||||||
CONFIG_NET_KEY \
|
CONFIG_NET_KEY \
|
||||||
CONFIG_XFRM_USER \
|
CONFIG_XFRM_USER \
|
||||||
|
|
Loading…
Reference in a new issue