diff options
author | Florian Fainelli <florian@openwrt.org> | 2008-09-28 07:09:47 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2008-09-28 07:09:47 +0000 |
commit | c58e271d8e118a6dda54fdc7735ce1ef1cd60b2a (patch) | |
tree | 3b0d5848803527361b2e8a79ecb3b7b5acae68fe /package | |
parent | 6907bedd848760660e633fc725c41a045b7fd06e (diff) | |
download | upstream-c58e271d8e118a6dda54fdc7735ce1ef1cd60b2a.tar.gz upstream-c58e271d8e118a6dda54fdc7735ce1ef1cd60b2a.tar.bz2 upstream-c58e271d8e118a6dda54fdc7735ce1ef1cd60b2a.zip |
Add support for HW crypto cores: padlock, geode and hifn75x (#388#)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12752 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r-- | package/kernel/modules/crypto.mk | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/package/kernel/modules/crypto.mk b/package/kernel/modules/crypto.mk index 9351056b73..8bb57816c0 100644 --- a/package/kernel/modules/crypto.mk +++ b/package/kernel/modules/crypto.mk @@ -72,6 +72,50 @@ endef $(eval $(call KernelPackage,crypto-core)) +define KernelPackage/crypto-hw-padlock + SUBMENU:=$(CRYPTO_MENU) + TITLE:=VIA PadLock ACE with AES/SHA hw crypto module + DEPENDS:=+kmod-crypto-core + KCONFIG:= \ + CONFIG_CRYPTO_DEV_PADLOCK \ + CONFIG_CRYPTO_DEV_PADLOCK_AES \ + CONFIG_CRYPTO_DEV_PADLOCK_SHA + FILES:= \ + $(LINUX_DIR)/drivers/crypto/padlock-aes.$(LINUX_KMOD_SUFFIX) \ + $(LINUX_DIR)/drivers/crypto/padlock-sha.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,09,padlock-aes padlock-sha) +endef + +$(eval $(call KernelPackage,crypto-hw-padlock)) + + +define KernelPackage/crypto-hw-geode + SUBMENU:=$(CRYPTO_MENU) + TITLE:=AMD Geode hardware crypto module + DEPENDS:=+kmod-crypto-core + KCONFIG:= \ + CONFIG_CRYPTO_DEV_GEODE + FILES:=$(LINUX_DIR)/drivers/crypto/geode-aes.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,09,geode-aes) +endef + +$(eval $(call KernelPackage,crypto-hw-geode)) + + +define KernelPackage/crypto-hw-hifn-795x + SUBMENU:=$(CRYPTO_MENU) + TITLE:=HIFN 795x crypto accelerator + DEPENDS:=+kmod-crypto-core +kmod-crypto-des + KCONFIG:= \ + CONFIG_CRYPTO_DEV_HIFN_795X \ + CONFIG_CRYPTO_DEV_HIFN_795X_RNG=y + FILES:=$(LINUX_DIR)/drivers/crypto/hifn_795x.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,09,hifn_795x) +endef + +$(eval $(call KernelPackage,crypto-hw-hifn-795x)) + + define KernelPackage/crypto-aes SUBMENU:=$(CRYPTO_MENU) TITLE:=AES cipher CryptoAPI module |