aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-11-15 21:34:08 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-11-15 21:34:08 +0000
commit019e370fcf6f27461945a536d1ae3ed6ac7b78a7 (patch)
tree6d9f569572891461ff09ba4bbb7882a1fe6910c7 /package
parent87f5aef7ca0b8b7c17b475b13970da2f66105da3 (diff)
downloadupstream-019e370fcf6f27461945a536d1ae3ed6ac7b78a7.tar.gz
upstream-019e370fcf6f27461945a536d1ae3ed6ac7b78a7.tar.bz2
upstream-019e370fcf6f27461945a536d1ae3ed6ac7b78a7.zip
kernel/modules: add OCTEON SHA512 module
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> SVN-Revision: 47479
Diffstat (limited to 'package')
-rw-r--r--package/kernel/linux/modules/crypto.mk9
1 files changed, 8 insertions, 1 deletions
diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel/linux/modules/crypto.mk
index ca36c2f2cc..9626b21fdb 100644
--- a/package/kernel/linux/modules/crypto.mk
+++ b/package/kernel/linux/modules/crypto.mk
@@ -511,12 +511,19 @@ $(eval $(call KernelPackage,crypto-sha256))
define KernelPackage/crypto-sha512
TITLE:=SHA512 digest CryptoAPI module
DEPENDS:=+kmod-crypto-hash
- KCONFIG:=CONFIG_CRYPTO_SHA512
+ KCONFIG:= \
+ CONFIG_CRYPTO_SHA512 \
+ CONFIG_CRYPTO_SHA512_OCTEON
FILES:=$(LINUX_DIR)/crypto/sha512_generic.ko
AUTOLOAD:=$(call AutoLoad,09,sha512_generic)
$(call AddDepends/crypto)
endef
+define KernelPackage/crypto-sha512/octeon
+ FILES+=$(LINUX_DIR)/arch/mips/cavium-octeon/crypto/octeon-sha512.ko
+ AUTOLOAD:=$(call AutoLoad,09,octeon-sha512)
+endef
+
$(eval $(call KernelPackage,crypto-sha512))