add XTS cipher CryptoAPI module

needed for proper dm-crypt support

Signed-off-by: Jan Willies <jan@willies.info>

SVN-Revision: 22915
lede-17.01
Florian Fainelli 2010-09-04 18:06:24 +00:00
parent 0ca31140aa
commit 5bd1c17fd1
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))