From: Florian Fainelli Date: Sat, 4 Sep 2010 18:06:24 +0000 (+0000) Subject: add XTS cipher CryptoAPI module X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5bd1c17fd1e269dfacb6a9283432189c59af2457;p=openwrt%2Fstaging%2Fnbd.git add XTS cipher CryptoAPI module needed for proper dm-crypt support Signed-off-by: Jan Willies SVN-Revision: 22915 --- 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))