aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-01-18 23:35:12 +0000
committerFelix Fietkau <nbd@openwrt.org>2016-01-18 23:35:12 +0000
commitcd5d3f92402aeffa4a10c123469a36990df62dd7 (patch)
treecd3729ab321d97092a01008106dd3857fbe0a11c
parent2e7b00069a72915c4992c4afcffd0c83f2fc0d86 (diff)
downloadupstream-cd5d3f92402aeffa4a10c123469a36990df62dd7.tar.gz
upstream-cd5d3f92402aeffa4a10c123469a36990df62dd7.tar.bz2
upstream-cd5d3f92402aeffa4a10c123469a36990df62dd7.zip
kernel/modules: add missing symbol for crypto-rng
Since CRYPTO_DRBG_MENU was added in r48277, CRYPTO_DRBG_HMAC is missing. It does not appear in kernel_menuconfig and defaults to yes, so enable it in crypto-rng as well and add dependencies to HMAC and SHA256. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> SVN-Revision: 48341
-rw-r--r--package/kernel/linux/modules/crypto.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel/linux/modules/crypto.mk
index d84c802f91..7c710531cc 100644
--- a/package/kernel/linux/modules/crypto.mk
+++ b/package/kernel/linux/modules/crypto.mk
@@ -100,10 +100,11 @@ $(eval $(call KernelPackage,crypto-wq))
define KernelPackage/crypto-rng
TITLE:=CryptoAPI random number generation
- DEPENDS:=+kmod-crypto-hash
+ DEPENDS:=+kmod-crypto-hash +kmod-crypto-hmac +kmod-crypto-sha256
KCONFIG:= \
- CONFIG_CRYPTO_DRBG_MENU \
CONFIG_CRYPTO_DRBG \
+ CONFIG_CRYPTO_DRBG_HMAC=y \
+ CONFIG_CRYPTO_DRBG_MENU \
CONFIG_CRYPTO_JITTERENTROPY \
CONFIG_CRYPTO_RNG2
FILES:= \