kernel: add crypto_user mod to crypto-user pkg

This is needed to export crypto information to netfilter, allowing
the alt. afalg openssl engine to obtain information about the drivers
being used.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
This commit is contained in:
Eneas U de Queiroz 2019-11-06 18:22:51 -03:00 committed by Daniel Golle
parent f4853f7cca
commit 3540a37a97
1 changed files with 4 additions and 2 deletions

View File

@ -768,6 +768,7 @@ define KernelPackage/crypto-user
TITLE:=CryptoAPI userspace interface TITLE:=CryptoAPI userspace interface
DEPENDS:=+kmod-crypto-hash +kmod-crypto-manager DEPENDS:=+kmod-crypto-hash +kmod-crypto-manager
KCONFIG:= \ KCONFIG:= \
CONFIG_CRYPTO_USER \
CONFIG_CRYPTO_USER_API \ CONFIG_CRYPTO_USER_API \
CONFIG_CRYPTO_USER_API_AEAD \ CONFIG_CRYPTO_USER_API_AEAD \
CONFIG_CRYPTO_USER_API_HASH \ CONFIG_CRYPTO_USER_API_HASH \
@ -778,8 +779,9 @@ define KernelPackage/crypto-user
$(LINUX_DIR)/crypto/algif_aead.ko \ $(LINUX_DIR)/crypto/algif_aead.ko \
$(LINUX_DIR)/crypto/algif_hash.ko \ $(LINUX_DIR)/crypto/algif_hash.ko \
$(LINUX_DIR)/crypto/algif_rng.ko \ $(LINUX_DIR)/crypto/algif_rng.ko \
$(LINUX_DIR)/crypto/algif_skcipher.ko $(LINUX_DIR)/crypto/algif_skcipher.ko \
AUTOLOAD:=$(call AutoLoad,09,af_alg algif_aead algif_hash algif_rng algif_skcipher) $(LINUX_DIR)/crypto/crypto_user.ko
AUTOLOAD:=$(call AutoLoad,09,af_alg algif_aead algif_hash algif_rng algif_skcipher crypto_user)
$(call AddDepends/crypto) $(call AddDepends/crypto)
endef endef