1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-19 14:08:17 +02:00

kernel: Add AEAD and RNG support to kmod-crypto-user

Now that kernel 3.18 is gone, we can safely add these features.

Tested on Turris Omnia.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2019-05-20 11:11:49 -07:00 committed by Christian Lamparter
parent 696c511fb4
commit 481fbc3724

@ -733,13 +733,17 @@ define KernelPackage/crypto-user
DEPENDS:=+kmod-crypto-hash +kmod-crypto-manager DEPENDS:=+kmod-crypto-hash +kmod-crypto-manager
KCONFIG:= \ KCONFIG:= \
CONFIG_CRYPTO_USER_API \ CONFIG_CRYPTO_USER_API \
CONFIG_CRYPTO_USER_API_AEAD \
CONFIG_CRYPTO_USER_API_HASH \ CONFIG_CRYPTO_USER_API_HASH \
CONFIG_CRYPTO_USER_API_RNG \
CONFIG_CRYPTO_USER_API_SKCIPHER CONFIG_CRYPTO_USER_API_SKCIPHER
FILES:= \ FILES:= \
$(LINUX_DIR)/crypto/af_alg.ko \ $(LINUX_DIR)/crypto/af_alg.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_skcipher.ko $(LINUX_DIR)/crypto/algif_skcipher.ko
AUTOLOAD:=$(call AutoLoad,09,af_alg algif_hash algif_skcipher) AUTOLOAD:=$(call AutoLoad,09,af_alg algif_aead algif_hash algif_rng algif_skcipher)
$(call AddDepends/crypto) $(call AddDepends/crypto)
endef endef