Skip to content

Commit

Permalink
crypto.mk: add crypto_user mod to crypto-user pkg
Browse files Browse the repository at this point in the history
This is needed to export crypto information to netfilter, allowing
openssl afalg engine to obtain information about the drivers being used.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
  • Loading branch information
cotequeiroz committed Oct 17, 2019
1 parent 07d9832 commit 0dbed74
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions package/kernel/linux/modules/crypto.mk
Expand Up @@ -768,6 +768,7 @@ define KernelPackage/crypto-user
TITLE:=CryptoAPI userspace interface
DEPENDS:=+kmod-crypto-hash +kmod-crypto-manager
KCONFIG:= \
CONFIG_CRYPTO_USER \
CONFIG_CRYPTO_USER_API \
CONFIG_CRYPTO_USER_API_AEAD \
CONFIG_CRYPTO_USER_API_HASH \
Expand All @@ -778,8 +779,9 @@ define KernelPackage/crypto-user
$(LINUX_DIR)/crypto/algif_aead.ko \
$(LINUX_DIR)/crypto/algif_hash.ko \
$(LINUX_DIR)/crypto/algif_rng.ko \
$(LINUX_DIR)/crypto/algif_skcipher.ko
AUTOLOAD:=$(call AutoLoad,09,af_alg algif_aead algif_hash algif_rng algif_skcipher)
$(LINUX_DIR)/crypto/algif_skcipher.ko \
$(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)
endef

Expand Down

0 comments on commit 0dbed74

Please sign in to comment.