mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-21 09:42:09 +00:00
kernel: crypto: crypto-rng: select SHA512 for >= 5.14.0
drbg swtiched to use HMAC(SHA-512) since 5.14.0
5261cdf457
Signed-off-by: Glen Huang <me@glenhuang.com>
This commit is contained in:
parent
ec6f80663e
commit
e1c0bda3fc
@ -827,7 +827,9 @@ $(eval $(call KernelPackage,crypto-rmd160))
|
|||||||
|
|
||||||
define KernelPackage/crypto-rng
|
define KernelPackage/crypto-rng
|
||||||
TITLE:=CryptoAPI random number generation
|
TITLE:=CryptoAPI random number generation
|
||||||
DEPENDS:=+kmod-crypto-hash +kmod-crypto-hmac +kmod-crypto-sha256
|
DEPENDS:=+kmod-crypto-hash +kmod-crypto-hmac \
|
||||||
|
+LINUX_5_10:kmod-crypto-sha256 \
|
||||||
|
+LINUX_5_15:kmod-crypto-sha512
|
||||||
KCONFIG:= \
|
KCONFIG:= \
|
||||||
CONFIG_CRYPTO_DRBG \
|
CONFIG_CRYPTO_DRBG \
|
||||||
CONFIG_CRYPTO_DRBG_HMAC=y \
|
CONFIG_CRYPTO_DRBG_HMAC=y \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user