From 569ffb72358e7956257009aea7468c4d1ae4da2a Mon Sep 17 00:00:00 2001 From: florian Date: Sat, 4 Sep 2010 18:06:24 +0000 Subject: [package] add XTS cipher CryptoAPI module needed for proper dm-crypt support Signed-off-by: Jan Willies git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22915 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/kernel/modules/crypto.mk | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/package/kernel/modules/crypto.mk b/package/kernel/modules/crypto.mk index fa2ddbc21..421e37fa7 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)) -- cgit v1.2.3