aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/modules
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2010-09-04 18:06:24 +0000
committerFlorian Fainelli <florian@openwrt.org>2010-09-04 18:06:24 +0000
commitf2fae046f5e093cbecd3d480d25185b3616c5657 (patch)
tree51b67ca7e6c9e1df7034b3a28fe3c4d4073b5c6f /package/kernel/modules
parentf0ced8478333ea2f3722cea0621d4b681aad03e4 (diff)
downloadupstream-f2fae046f5e093cbecd3d480d25185b3616c5657.tar.gz
upstream-f2fae046f5e093cbecd3d480d25185b3616c5657.tar.bz2
upstream-f2fae046f5e093cbecd3d480d25185b3616c5657.zip
[package] add XTS cipher CryptoAPI module
needed for proper dm-crypt support Signed-off-by: Jan Willies <jan@willies.info> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22915 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/modules')
-rw-r--r--package/kernel/modules/crypto.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/package/kernel/modules/crypto.mk b/package/kernel/modules/crypto.mk
index fa2ddbc211..421e37fa71 100644
--- a/package/kernel/modules/crypto.mk
+++ b/package/kernel/modules/crypto.mk
@@ -356,3 +356,20 @@ endef
$(eval $(call KernelPackage,crypto-test))
+
+define KernelPackage/crypto-xts
+ TITLE:=XTS cipher CryptoAPI module
+ KCONFIG:= \
+ CONFIG_CRYPTO_GF128MUL \
+ CONFIG_CRYPTO_XTS
+ FILES:= \
+ $(LINUX_DIR)/crypto/xts.ko \
+ $(LINUX_DIR)/crypto/gf128mul.ko
+ AUTOLOAD:=$(call AutoLoad,09, \
+ gf128mul \
+ xts \
+ )
+ $(call AddDepends/crypto)
+endef
+
+$(eval $(call KernelPackage,crypto-xts))