[openwrt/openwrt] kernel: package crypto_engine driver

LEDE Commits lede-commits at lists.infradead.org
Thu Nov 28 10:58:25 PST 2024


ynezz pushed a commit to openwrt/openwrt.git, branch openwrt-24.10:
https://git.openwrt.org/2f99171de308c53d99a01ac35078f506633a2979

commit 2f99171de308c53d99a01ac35078f506633a2979
Author: Thomas Richard <thomas.richard at bootlin.com>
AuthorDate: Tue Nov 5 10:38:49 2024 +0100

    kernel: package crypto_engine driver
    
    It is needed for the stm32/stm32mp1 subtarget.
    
    Signed-off-by: Thomas Richard <thomas.richard at bootlin.com>
    Link: https://github.com/openwrt/openwrt/pull/16716
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
    (cherry picked from commit 7bcc68ede36dcc66ec6cdb45c3201e0af0f90708)
    Link: https://github.com/openwrt/openwrt/pull/17097
    Signed-off-by: Petr Štetiar <ynezz at true.cz>
---
 package/kernel/linux/modules/crypto.mk | 9 +++++++++
 1 file changed, 9 insertions(+)

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




More information about the lede-commits mailing list