Changeset 26814


Ignore:
Timestamp:
2011-05-03T23:22:43+02:00 (7 years ago)
Author:
jow
Message:

[PATCH 1/2] kernel: add kmod-crypto-ipsec
kmod-crypto-ipsec bundles some otherwise unprovided kernel crypto
modules that are useful for IPSEC. This is an alternative to breaking
these modules out into kmod-crypto-wq (crypto_wq.ko), kmod-crypto-rng
(rng.ko and krng.ko), and kmod-crypto-iv (eseqiv.ko and chainiv.ko).

Signed-off-by: Lars Hjersted <lars@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/kernel/modules/crypto.mk

    r26812 r26814  
    2929        BLKCIPHER2=crypto_blkcipher 
    3030 
     31CRYPTOIPSEC_MODULES = \ 
     32        WORKQUEUE=crypto_wq \ 
     33        RNG2=rng \ 
     34        RNG2=krng \ 
     35        BLKCIPHER2=eseqiv \ 
     36        BLKCIPHER2=chainiv 
     37 
    3138crypto_confvar=CONFIG_CRYPTO_$(word 1,$(subst =,$(space),$(1))) 
    3239crypto_file=$(if $(findstring y,$($(call crypto_confvar,$(1)))),,$(LINUX_DIR)/crypto/$(word 2,$(subst =,$(space),$(1))).ko) 
     
    108115endef 
    109116$(eval $(call KernelPackage,crypto-iv)) 
     117 
     118define KernelPackage/crypto-ipsec 
     119  TITLE:=IPSEC CryptoAPI modules 
     120  KCONFIG:=$(foreach mod,$(CRYPTOIPSEC_MODULES),$(call crypto_confvar,$(mod))) 
     121  FILES:=$(foreach mod,$(CRYPTOIPSEC_MODULES),$(call crypto_file,$(mod))) 
     122  AUTOLOAD:=$(call AutoLoad,09,$(foreach mod,$(CRYPTOIPSEC_MODULES),$(call crypto_name,$(mod)))) 
     123  $(call AddDepends/crypto) 
     124endef 
     125$(eval $(call KernelPackage,crypto-ipsec)) 
    110126 
    111127define KernelPackage/crypto-hw-padlock 
Note: See TracChangeset for help on using the changeset viewer.