summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Richard2024-11-05 09:38:49 +0000
committerHauke Mehrtens2024-11-23 14:53:21 +0000
commit7bcc68ede36dcc66ec6cdb45c3201e0af0f90708 (patch)
treefed52b9d22d8af0a2b5019090460e87dfecbc15d
parent6b9df468f05fefa21a8cbce2fdb2e59692b4d246 (diff)
downloadopenwrt-7bcc68ede36dcc66ec6cdb45c3201e0af0f90708.tar.gz
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>
-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 ce22163547..2257a36c80 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