[package] add XTS cipher CryptoAPI module
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 4 Sep 2010 18:06:24 +0000 (18:06 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 4 Sep 2010 18:06:24 +0000 (18:06 +0000)
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

package/kernel/modules/crypto.mk

index fa2ddbc..421e37f 100644 (file)
@@ -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))
This page took 0.028509 seconds and 4 git commands to generate.