[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-a3cf2f4a3e73master
parent
f0ced84783
commit
f2fae046f5
|
@ -356,3 +356,20 @@ endef
|
||||||
|
|
||||||
$(eval $(call KernelPackage,crypto-test))
|
$(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))
|
||||||
|
|
Loading…
Reference in New Issue