[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
master
Florian Fainelli 2010-09-04 18:06:24 +00:00
parent f0ced84783
commit f2fae046f5
1 changed files with 17 additions and 0 deletions

View 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))