Changeset 26812


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

[PATCH 1/2] kernel: add kmod-crypto-{wq,rng,iv}
This patch adds kmod-crypto-wq, kmod-crypto-rng, and kmod-crypto-iv
packages. These packages provide some missing kernel crypto modules
which are required for IPSEC. The strongswan4, ipsec-tools, and possibly
other IPSEC packages do not work properly without these modules.

NOTE: The KCONFIG associated with each of these modules gets selected
whenever CRYPTO_MANAGER (kmod-crypto-manager) is selected so these
modules are already being built.

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

File:
1 edited

Legend:

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

    r26638 r26812  
    7676endef 
    7777$(eval $(call KernelPackage,crypto-manager)) 
     78 
     79define KernelPackage/crypto-wq 
     80  TITLE:=CryptoAPI work queue handling 
     81  KCONFIG:=CONFIG_CRYPTO_WORKQUEUE 
     82  FILES:=$(LINUX_DIR)/crypto/crypto_wq.ko 
     83  AUTOLOAD:=$(call AutoLoad,09,crypto_wq) 
     84  $(call AddDepends/crypto) 
     85endef 
     86$(eval $(call KernelPackage,crypto-wq)) 
     87 
     88define KernelPackage/crypto-rng 
     89  TITLE:=CryptoAPI random number generation 
     90  KCONFIG:=CONFIG_CRYPTO_RNG2 
     91  FILES:= \ 
     92        $(LINUX_DIR)/crypto/rng.ko \ 
     93        $(LINUX_DIR)/crypto/krng.ko 
     94  AUTOLOAD:=$(call AutoLoad,09,rng krng) 
     95  $(call AddDepends/crypto) 
     96endef 
     97$(eval $(call KernelPackage,crypto-rng)) 
     98 
     99define KernelPackage/crypto-iv 
     100  TITLE:=CryptoAPI initialization vectors 
     101  DEPENDS:=+kmod-crypto-rng +kmod-crypto-wq 
     102  KCONFIG:= CONFIG_CRYPTO_BLKCIPHER2 
     103  FILES:= \ 
     104        $(LINUX_DIR)/crypto/eseqiv.ko \ 
     105        $(LINUX_DIR)/crypto/chainiv.ko 
     106  AUTOLOAD:=$(call AutoLoad,10,eseqiv chainiv) 
     107  $(call AddDepends/crypto) 
     108endef 
     109$(eval $(call KernelPackage,crypto-iv)) 
    78110 
    79111define KernelPackage/crypto-hw-padlock 
Note: See TracChangeset for help on using the changeset viewer.