diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-11-15 21:34:00 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-11-15 21:34:00 +0000 |
commit | 7b39159cd6bb6baf54e6c5906b50b8ff28d38b61 (patch) | |
tree | 1641a574bc763b5df34626e32df650b1243f920b /package | |
parent | c3e18049e8f478c78b8c4fb13a96acf52e224d8e (diff) | |
download | master-187ad058-7b39159cd6bb6baf54e6c5906b50b8ff28d38b61.tar.gz master-187ad058-7b39159cd6bb6baf54e6c5906b50b8ff28d38b61.tar.bz2 master-187ad058-7b39159cd6bb6baf54e6c5906b50b8ff28d38b61.zip |
kernel/modules: move SHA512 to its own package
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47478 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r-- | package/kernel/linux/modules/crypto.mk | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel/linux/modules/crypto.mk index 2328fac043..ca36c2f2cc 100644 --- a/package/kernel/linux/modules/crypto.mk +++ b/package/kernel/linux/modules/crypto.mk @@ -508,6 +508,18 @@ endef $(eval $(call KernelPackage,crypto-sha256)) +define KernelPackage/crypto-sha512 + TITLE:=SHA512 digest CryptoAPI module + DEPENDS:=+kmod-crypto-hash + KCONFIG:=CONFIG_CRYPTO_SHA512 + FILES:=$(LINUX_DIR)/crypto/sha512_generic.ko + AUTOLOAD:=$(call AutoLoad,09,sha512_generic) + $(call AddDepends/crypto) +endef + +$(eval $(call KernelPackage,crypto-sha512)) + + define KernelPackage/crypto-misc TITLE:=Other CryptoAPI modules DEPENDS:=+kmod-crypto-manager @@ -520,7 +532,6 @@ define KernelPackage/crypto-misc CONFIG_CRYPTO_FCRYPT \ CONFIG_CRYPTO_KHAZAD \ CONFIG_CRYPTO_SERPENT \ - CONFIG_CRYPTO_SHA512 \ CONFIG_CRYPTO_TEA \ CONFIG_CRYPTO_TGR192 \ CONFIG_CRYPTO_TWOFISH \ @@ -534,7 +545,6 @@ define KernelPackage/crypto-misc $(LINUX_DIR)/crypto/cast5_generic.ko \ $(LINUX_DIR)/crypto/cast6_generic.ko \ $(LINUX_DIR)/crypto/khazad.ko \ - $(LINUX_DIR)/crypto/sha512_generic.ko \ $(LINUX_DIR)/crypto/tea.ko \ $(LINUX_DIR)/crypto/tgr192.ko \ $(LINUX_DIR)/crypto/twofish_common.ko \ |