aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2019-05-20 11:11:49 -0700
committerChristian Lamparter <chunkeey@gmail.com>2019-06-15 19:55:31 +0200
commit481fbc37245114b13ffb57ddca4edc3572727530 (patch)
tree384e3cfef57b7e990dfa2c0dbef51b09b34c30b7 /package/kernel
parent696c511fb480be04a0ab4563b06b5e1b0d7eb684 (diff)
downloadupstream-481fbc37245114b13ffb57ddca4edc3572727530.tar.gz
upstream-481fbc37245114b13ffb57ddca4edc3572727530.tar.bz2
upstream-481fbc37245114b13ffb57ddca4edc3572727530.zip
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>
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/linux/modules/crypto.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel/linux/modules/crypto.mk
index 9cab04c6ed..4e843e1a5e 100644
--- a/package/kernel/linux/modules/crypto.mk
+++ b/package/kernel/linux/modules/crypto.mk
@@ -733,13 +733,17 @@ define KernelPackage/crypto-user
DEPENDS:=+kmod-crypto-hash +kmod-crypto-manager
KCONFIG:= \
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
- 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)
endef