Merge a07878a3215d359783523ff4ddec90c5d77c5856 into 4fdb917aae2fb5876e04f88621630712a906a067

This commit is contained in:
Manuel Pégourié-Gonnard 2026-10-27 10:45:59 -04:00 committed by GitHub
commit aa1d8e08e8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -56,7 +56,7 @@ component_test_aesni () { # ~ 60s
make clean
make CC=gcc CFLAGS='-O2 -Werror'
# check that there is no AESNI code present
./programs/test/selftest aes | not grep -q "AESNI code"
./programs/test/selftest aes | not grep -q "AESNI code" -
not grep -q "AES note: using AESNI" ./programs/test/selftest
grep -q "AES note: built-in implementation." ./programs/test/selftest
@ -66,8 +66,8 @@ component_test_aesni () { # ~ 60s
msg "AES tests, test AESNI only"
make clean
make CC=gcc CFLAGS='-Werror -Wall -Wextra -mpclmul -msse2 -maes'
./programs/test/selftest aes | grep -q "AES note: using AESNI"
./programs/test/selftest aes | not grep -q "AES note: built-in implementation."
./programs/test/selftest aes | grep -q "AES note: using AESNI" -
./programs/test/selftest aes | not grep -q "AES note: built-in implementation." -
grep -q "AES note: using AESNI" ./programs/test/selftest
not grep -q "AES note: built-in implementation." ./programs/test/selftest
}
@ -105,7 +105,7 @@ component_test_aesni_m32 () { # ~ 60s
make clean
make CC=gcc CFLAGS='-m32 -Werror -Wall -Wextra -mpclmul -msse2 -maes' LDFLAGS='-m32'
./programs/test/selftest aes | grep -q "AES note: using AESNI"
./programs/test/selftest aes | not grep -q "AES note: built-in implementation."
./programs/test/selftest aes | not grep -q "AES note: built-in implementation." -
grep -q "AES note: using AESNI" ./programs/test/selftest
not grep -q "AES note: built-in implementation." ./programs/test/selftest
not grep -q "AES note: using VIA Padlock" ./programs/test/selftest