net-wireless/iwd: don't ask for CRYPTO_*_SSSE3 kernel options on 6.17+

Closes: https://bugs.gentoo.org/964414
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
This commit is contained in:
Ben Kohler 2025-12-09 12:26:00 -06:00
parent e8a2380c8e
commit b86fd289f3
No known key found for this signature in database
GPG Key ID: 7A85BDA4D57605C7
4 changed files with 5 additions and 5 deletions

View File

@ -83,7 +83,7 @@ pkg_setup() {
WARNING_CRYPTO_AES_NI_INTEL="CRYPTO_AES_NI_INTEL: enable for increased performance"
fi
if use cpu_flags_x86_ssse3 && use amd64; then
if use cpu_flags_x86_ssse3 && use amd64 && kernel_is -lt 6 17; then
CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_SHA1_SSSE3 ~CRYPTO_SHA256_SSSE3 ~CRYPTO_SHA512_SSSE3"
WARNING_CRYPTO_SHA1_SSSE3="CRYPTO_SHA1_SSSE3: enable for increased performance"
WARNING_CRYPTO_SHA256_SSSE3="CRYPTO_SHA256_SSSE3: enable for increased performance"

View File

@ -83,7 +83,7 @@ pkg_setup() {
WARNING_CRYPTO_AES_NI_INTEL="CRYPTO_AES_NI_INTEL: enable for increased performance"
fi
if use cpu_flags_x86_ssse3 && use amd64; then
if use cpu_flags_x86_ssse3 && use amd64 && kernel_is -lt 6 17; then
CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_SHA1_SSSE3 ~CRYPTO_SHA256_SSSE3 ~CRYPTO_SHA512_SSSE3"
WARNING_CRYPTO_SHA1_SSSE3="CRYPTO_SHA1_SSSE3: enable for increased performance"
WARNING_CRYPTO_SHA256_SSSE3="CRYPTO_SHA256_SSSE3: enable for increased performance"

View File

@ -83,7 +83,7 @@ pkg_setup() {
WARNING_CRYPTO_AES_NI_INTEL="CRYPTO_AES_NI_INTEL: enable for increased performance"
fi
if use cpu_flags_x86_ssse3 && use amd64; then
if use cpu_flags_x86_ssse3 && use amd64 && kernel_is -lt 6 17; then
CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_SHA1_SSSE3 ~CRYPTO_SHA256_SSSE3 ~CRYPTO_SHA512_SSSE3"
WARNING_CRYPTO_SHA1_SSSE3="CRYPTO_SHA1_SSSE3: enable for increased performance"
WARNING_CRYPTO_SHA256_SSSE3="CRYPTO_SHA256_SSSE3: enable for increased performance"

View File

@ -1,4 +1,4 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@ -83,7 +83,7 @@ pkg_setup() {
WARNING_CRYPTO_AES_NI_INTEL="CRYPTO_AES_NI_INTEL: enable for increased performance"
fi
if use cpu_flags_x86_ssse3 && use amd64; then
if use cpu_flags_x86_ssse3 && use amd64 && kernel_is -lt 6 17; then
CONFIG_CHECK="${CONFIG_CHECK} ~CRYPTO_SHA1_SSSE3 ~CRYPTO_SHA256_SSSE3 ~CRYPTO_SHA512_SSSE3"
WARNING_CRYPTO_SHA1_SSSE3="CRYPTO_SHA1_SSSE3: enable for increased performance"
WARNING_CRYPTO_SHA256_SSSE3="CRYPTO_SHA256_SSSE3: enable for increased performance"