move the cbc crypto module out of the crypto core and into a separate package - it is only used for ipsec
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25493 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
54aad05619
commit
0dccf8045e
|
@ -28,7 +28,6 @@ CRYPTO_MODULES = \
|
||||||
BLKCIPHER2=crypto_blkcipher \
|
BLKCIPHER2=crypto_blkcipher \
|
||||||
HASH2=crypto_hash \
|
HASH2=crypto_hash \
|
||||||
MANAGER2=cryptomgr \
|
MANAGER2=cryptomgr \
|
||||||
CBC=cbc \
|
|
||||||
ECB=ecb
|
ECB=ecb
|
||||||
|
|
||||||
crypto_confvar=CONFIG_CRYPTO_$(word 1,$(subst =,$(space),$(1)))
|
crypto_confvar=CONFIG_CRYPTO_$(word 1,$(subst =,$(space),$(1)))
|
||||||
|
@ -172,6 +171,16 @@ endef
|
||||||
|
|
||||||
$(eval $(call KernelPackage,crypto-authenc))
|
$(eval $(call KernelPackage,crypto-authenc))
|
||||||
|
|
||||||
|
define KernelPackage/crypto-cbc
|
||||||
|
TITLE:=Cipher Block Chaining CryptoAPI module
|
||||||
|
KCONFIG:=CONFIG_CRYPTO_CBC
|
||||||
|
FILES:=$(LINUX_DIR)/crypto/cbc.ko
|
||||||
|
AUTOLOAD:=$(call AutoLoad,09,cbc)
|
||||||
|
$(call AddDepends/crypto)
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call KernelPackage,crypto-cbc))
|
||||||
|
|
||||||
define KernelPackage/crypto-des
|
define KernelPackage/crypto-des
|
||||||
TITLE:=DES/3DES cipher CryptoAPI module
|
TITLE:=DES/3DES cipher CryptoAPI module
|
||||||
KCONFIG:=CONFIG_CRYPTO_DES
|
KCONFIG:=CONFIG_CRYPTO_DES
|
||||||
|
|
|
@ -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 +kmod-crypto-deflate
|
DEPENDS:=+kmod-crypto-core +kmod-crypto-des +kmod-crypto-hmac +kmod-crypto-md5 +kmod-crypto-sha1 +kmod-crypto-deflate +kmod-crypto-cbc
|
||||||
KCONFIG:= \
|
KCONFIG:= \
|
||||||
CONFIG_NET_KEY \
|
CONFIG_NET_KEY \
|
||||||
CONFIG_XFRM_USER \
|
CONFIG_XFRM_USER \
|
||||||
|
|
Loading…
Reference in New Issue