kernel: Add AEAD and RNG support to kmod-crypto-user
authorRosen Penev <rosenp@gmail.com>
Mon, 20 May 2019 18:11:49 +0000 (11:11 -0700)
committerChristian Lamparter <chunkeey@gmail.com>
Sat, 15 Jun 2019 17:55:31 +0000 (19:55 +0200)
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>
package/kernel/linux/modules/crypto.mk

index 9cab04c6edb8776e0a92b0992e1290dbcb947ca6..4e843e1a5e878a75701a9398871adb74ccba8972 100644 (file)
@@ -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