From b065981e15d454351e04e2c27ad2c13745a1bf7a Mon Sep 17 00:00:00 2001 From: Robert Marko Date: Thu, 7 Mar 2024 14:47:13 +0100 Subject: [PATCH] kernel: crypto: package geniv as a separate module for 6.6 In kernel 6.5 geniv was split from AEAD config symbol, in order to manage its dependencies on other code. So, lets do the same in OpenWrt and split it from aead module so others can depend on geniv directly. Signed-off-by: Robert Marko --- package/kernel/linux/modules/crypto.mk | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel/linux/modules/crypto.mk index f61f258603..335930cfaa 100644 --- a/package/kernel/linux/modules/crypto.mk +++ b/package/kernel/linux/modules/crypto.mk @@ -891,6 +891,19 @@ endef $(eval $(call KernelPackage,crypto-rng)) +define KernelPackage/crypto-geniv + TITLE:=CryptoAPI Shared IV generator + HIDDEN:=1 + DEPENDS:=+kmod-crypto-rng +kmod-crypto-aead @LINUX_6_6 + KCONFIG:=CONFIG_CRYPTO_GENIV + FILES:=$(LINUX_DIR)/crypto/geniv.ko + AUTOLOAD:=$(call AutoLoad,09,geniv) + $(call AddDepends/crypto) +endef + +$(eval $(call KernelPackage,crypto-geniv)) + + define KernelPackage/crypto-seqiv TITLE:=CryptoAPI Sequence Number IV Generator DEPENDS:=+kmod-crypto-aead +kmod-crypto-rng -- 2.30.2