X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/bc2ec42d25da6957d062ece9489eb6e7eebdc398..725f6b1cca4949a5e52341b99b81201c5f8e7a47:/package/kernel/modules/crypto.mk diff --git a/package/kernel/modules/crypto.mk b/package/kernel/modules/crypto.mk index 879fa969f..d3c24c9c7 100644 --- a/package/kernel/modules/crypto.mk +++ b/package/kernel/modules/crypto.mk @@ -97,6 +97,7 @@ $(call KernelPackage/crypto/Depends,+kmod-crypto-des @!TARGET_ubicom32) TITLE:=HIFN 795x crypto accelerator KCONFIG:= \ CONFIG_CRYPTO_HW=y \ + CONFIG_HW_RANDOM=y \ CONFIG_CRYPTO_DEV_HIFN_795X \ CONFIG_CRYPTO_DEV_HIFN_795X_RNG=y FILES:=$(LINUX_DIR)/drivers/crypto/hifn_795x.$(LINUX_KMOD_SUFFIX) @@ -148,7 +149,7 @@ $(call KernelPackage/crypto/Depends,) AUTOLOAD:=$(call AutoLoad,09,aes$(AES_SUFFIX)) endef -define KernelPackage/crypto-aes/x86-2.6 +define KernelPackage/crypto-aes/x86 FILES+=$(LINUX_DIR)/arch/x86/crypto/aes-i586.$(LINUX_KMOD_SUFFIX) AUTOLOAD:=$(call AutoLoad,09,aes$(AES_SUFFIX) aes-i586) endef @@ -251,6 +252,7 @@ $(call KernelPackage/crypto/Depends,) CONFIG_CRYPTO_TEA \ CONFIG_CRYPTO_TGR192 \ CONFIG_CRYPTO_TWOFISH \ + CONFIG_CRYPTO_TWOFISH_COMMON \ CONFIG_CRYPTO_TWOFISH_586 \ CONFIG_CRYPTO_WP512 FILES:= \ @@ -273,7 +275,12 @@ define KernelPackage/crypto-misc/2.6 $(LINUX_DIR)/crypto/camellia.$(LINUX_KMOD_SUFFIX) \ $(LINUX_DIR)/crypto/crc32c.$(LINUX_KMOD_SUFFIX) \ $(LINUX_DIR)/crypto/fcrypt.$(LINUX_KMOD_SUFFIX) \ - $(LINUX_DIR)/crypto/tgr192.$(LINUX_KMOD_SUFFIX) + $(LINUX_DIR)/crypto/tgr192.$(LINUX_KMOD_SUFFIX) \ + $(LINUX_DIR)/crypto/twofish_common.$(LINUX_KMOD_SUFFIX) +endef + +define KernelPackage/crypto-misc/x86 + FILES+=$(LINUX_DIR)/arch/x86/crypto/twofish-i586.$(LINUX_KMOD_SUFFIX) endef $(eval $(call KernelPackage,crypto-misc))