Fix tests on Arm when NEON is unavailable
I forgot a CPU capability check in X25519Test.NeonABI. Change-Id: Ie2fa4a7b04a7eb152aa3b720687ec529e5dd5b0f Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/60745 Reviewed-by: Adam Langley <agl@google.com> Auto-Submit: David Benjamin <davidben@google.com> Commit-Queue: Adam Langley <agl@google.com>
This commit is contained in:
committed by
Boringssl LUCI CQ
parent
ae88f198a4
commit
acfb1062f4
@@ -218,6 +218,10 @@ TEST(X25519Test, Wycheproof) {
|
||||
|
||||
#if defined(BORINGSSL_X25519_NEON) && defined(SUPPORTS_ABI_TEST)
|
||||
TEST(X25519Test, NeonABI) {
|
||||
if (!CRYPTO_is_NEON_capable()) {
|
||||
GTEST_SKIP() << "Can't test ABI of NEON code without NEON";
|
||||
}
|
||||
|
||||
static const uint8_t kScalar[32] = {
|
||||
0xa5, 0x46, 0xe3, 0x6b, 0xf0, 0x52, 0x7c, 0x9d, 0x3b, 0x16, 0x15,
|
||||
0x4b, 0x82, 0x46, 0x5e, 0xdd, 0x62, 0x14, 0x4c, 0x0a, 0xc1, 0xfc,
|
||||
|
||||
Reference in New Issue
Block a user