From: Hauke Mehrtens Date: Thu, 21 Mar 2019 18:16:15 +0000 (+0100) Subject: linux: Add kmod-crxypto-xcbc X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=187ab0bceb805ca52f9b7bc3fb3f50997e665ca9;p=openwrt%2Fstaging%2Fynezz.git linux: Add kmod-crxypto-xcbc This can be used for IPsec. Signed-off-by: Hauke Mehrtens --- diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel/linux/modules/crypto.mk index d70eb924c3..1add16e161 100644 --- a/package/kernel/linux/modules/crypto.mk +++ b/package/kernel/linux/modules/crypto.mk @@ -226,6 +226,18 @@ endef $(eval $(call KernelPackage,crypto-gcm)) +define KernelPackage/crypto-xcbc + TITLE:=XCBC CryptoAPI module + DEPENDS:=+kmod-crypto-hash +kmod-crypto-manager + KCONFIG:=CONFIG_CRYPTO_XCBC + FILES:=$(LINUX_DIR)/crypto/xcbc.ko + AUTOLOAD:=$(call AutoLoad,09,xcbc) + $(call AddDepends/crypto) +endef + +$(eval $(call KernelPackage,crypto-xcbc)) + + define KernelPackage/crypto-gf128 TITLE:=GF(2^128) multiplication functions CryptoAPI module KCONFIG:=CONFIG_CRYPTO_GF128MUL