aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux/modules
diff options
context:
space:
mode:
authorThomas Richard <thomas.richard@bootlin.com>2024-11-05 10:38:49 +0100
committerPetr Štetiar <ynezz@true.cz>2024-11-28 18:48:42 +0000
commit2f99171de308c53d99a01ac35078f506633a2979 (patch)
tree2ddd499e9fddd491fd07f5b8a5d6abffb30176aa /package/kernel/linux/modules
parent0f301db3fff105887d0a373a792dbaccb9cc8593 (diff)
downloadupstream-2f99171de308c53d99a01ac35078f506633a2979.tar.gz
upstream-2f99171de308c53d99a01ac35078f506633a2979.tar.bz2
upstream-2f99171de308c53d99a01ac35078f506633a2979.zip
kernel: package crypto_engine driver
It is needed for the stm32/stm32mp1 subtarget. Signed-off-by: Thomas Richard <thomas.richard@bootlin.com> Link: https://github.com/openwrt/openwrt/pull/16716 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> (cherry picked from commit 7bcc68ede36dcc66ec6cdb45c3201e0af0f90708) Link: https://github.com/openwrt/openwrt/pull/17097 Signed-off-by: Petr Štetiar <ynezz@true.cz>
Diffstat (limited to 'package/kernel/linux/modules')
-rw-r--r--package/kernel/linux/modules/crypto.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel/linux/modules/crypto.mk
index ce221635470..2257a36c802 100644
--- a/package/kernel/linux/modules/crypto.mk
+++ b/package/kernel/linux/modules/crypto.mk
@@ -249,6 +249,15 @@ endef
$(eval $(call KernelPackage,crypto-echainiv))
+define KernelPackage/crypto-engine
+ TITLE:=Crypto engine
+ KCONFIG:=CONFIG_CRYPTO_ENGINE
+ FILES:=$(LINUX_DIR)/crypto/crypto_engine.ko
+ AUTOLOAD:=$(call AutoLoad,09,crypto_engine)
+ $(call AddDepends/crypto, +kmod-crypto-rsa +kmod-crypto-kpp)
+endef
+
+$(eval $(call KernelPackage,crypto-engine))
define KernelPackage/crypto-essiv
TITLE:=ESSIV support for block encryption