kmod-crypto-sha512: fix kernel 6.6 support

This commit is contained in:
coolsnowwolf 2024-02-21 14:41:41 +08:00
parent ca76a0ba65
commit a61217134d
2 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ DEFAULT_PACKAGES.nas:=\
mdadm mdadm
# For router targets # For router targets
DEFAULT_PACKAGES.router:=\ DEFAULT_PACKAGES.router:=\
dnsmasq-full firewall iptables ppp ppp-mod-pppoe kmod-crypto-sha512 \ dnsmasq-full firewall iptables ppp ppp-mod-pppoe \
block-mount coremark kmod-nf-nathelper kmod-nf-nathelper-extra kmod-ipt-raw kmod-tun \ block-mount coremark kmod-nf-nathelper kmod-nf-nathelper-extra kmod-ipt-raw kmod-tun \
iptables-mod-tproxy iptables-mod-extra ipset ip-full default-settings luci luci-newapi \ iptables-mod-tproxy iptables-mod-extra ipset ip-full default-settings luci luci-newapi \
ddns-scripts_aliyun ddns-scripts_dnspod luci-app-ddns luci-app-upnp luci-app-autoreboot \ ddns-scripts_aliyun ddns-scripts_dnspod luci-app-ddns luci-app-upnp luci-app-autoreboot \

View File

@ -830,7 +830,7 @@ define KernelPackage/crypto-rng
TITLE:=CryptoAPI random number generation TITLE:=CryptoAPI random number generation
DEPENDS:=+kmod-crypto-hash +kmod-crypto-hmac \ DEPENDS:=+kmod-crypto-hash +kmod-crypto-hmac \
+(LINUX_5_4||LINUX_5_10):kmod-crypto-sha256 \ +(LINUX_5_4||LINUX_5_10):kmod-crypto-sha256 \
+(LINUX_5_15||LINUX_6_1):kmod-crypto-sha512 +(LINUX_5_15||LINUX_6_1||LINUX_6_6):kmod-crypto-sha512
KCONFIG:= \ KCONFIG:= \
CONFIG_CRYPTO_DRBG \ CONFIG_CRYPTO_DRBG \
CONFIG_CRYPTO_DRBG_HMAC=y \ CONFIG_CRYPTO_DRBG_HMAC=y \