[OpenWrt-Devel] [PATCH] kernel: Add AEAD and RNG support to kmod-crypto-user
Rosen Penev
rosenp at gmail.com
Sun May 12 20:34:32 EDT 2019
Now that kernel 3.18 is gone, we can safely add these features.
Tested on Turris Omnia.
Signed-off-by: Rosen Penev <rosenp at gmail.com>
---
package/kernel/linux/modules/crypto.mk | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel/linux/modules/crypto.mk
index e5b02df479..70f9edcc09 100644
--- a/package/kernel/linux/modules/crypto.mk
+++ b/package/kernel/linux/modules/crypto.mk
@@ -734,14 +734,18 @@ define KernelPackage/crypto-user
KCONFIG:= \
CONFIG_CRYPTO_USER \
CONFIG_CRYPTO_USER_API \
+ CONFIG_CRYPTO_USER_API_AEAD \
CONFIG_CRYPTO_USER_API_HASH \
+ CONFIG_CRYPTO_USER_API_RNG \
CONFIG_CRYPTO_USER_API_SKCIPHER
FILES:= \
$(LINUX_DIR)/crypto/af_alg.ko \
+ $(LINUX_DIR)/crypto/algif_aead.ko \
$(LINUX_DIR)/crypto/algif_hash.ko \
+ $(LINUX_DIR)/crypto/algif_rng.ko \
$(LINUX_DIR)/crypto/algif_skcipher.ko \
$(LINUX_DIR)/crypto/crypto_user.ko
- AUTOLOAD:=$(call AutoLoad,09,af_alg algif_hash algif_skcipher, crypto_user)
+ AUTOLOAD:=$(call AutoLoad,09,af_alg algif_aead algif_hash algif_rng algif_skcipher, crypto_user)
$(call AddDepends/crypto)
endef
--
2.17.1
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list