$(eval $(call KernelPackage,crypto-kpp))
+define KernelPackage/crypto-lib-aescfb
+ TITLE:=AES cipher operations feedback mode library
+ DEPENDS:=@LINUX_6_12
+ KCONFIG:=CONFIG_CRYPTO_LIB_AESCFB
+ FILES:=$(LINUX_DIR)/lib/crypto/libaescfb.ko
+ AUTOLOAD:=$(call AutoLoad,09,libaescfb)
+ $(call AddDepends/crypto)
+endef
+
+$(eval $(call KernelPackage,crypto-lib-aescfb))
+
define KernelPackage/crypto-lib-chacha20
TITLE:=ChaCha library interface
KCONFIG:=CONFIG_CRYPTO_LIB_CHACHA
SUBMENU:=$(OTHER_MENU)
TITLE:=TPM Hardware Support
DEPENDS:= +kmod-random-core +kmod-asn1-decoder \
- +kmod-asn1-encoder +kmod-oid-registry
+ +kmod-asn1-encoder +kmod-oid-registry \
+ +LINUX_6_12:kmod-crypto-ecdh \
+ +LINUX_6_12:kmod-crypto-kpp \
+ +LINUX_6_12:kmod-crypto-lib-aescfb
KCONFIG:= CONFIG_TCG_TPM
FILES:= $(LINUX_DIR)/drivers/char/tpm/tpm.ko
AUTOLOAD:=$(call AutoLoad,10,tpm,1)