diff options
Diffstat (limited to 'src/vppinfra/test')
-rw-r--r-- | src/vppinfra/test/aes_cbc.c | 2 | ||||
-rw-r--r-- | src/vppinfra/test/aes_ctr.c | 2 | ||||
-rw-r--r-- | src/vppinfra/test/aes_gcm.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/vppinfra/test/aes_cbc.c b/src/vppinfra/test/aes_cbc.c index bff439ab7b5..be5f8fb176a 100644 --- a/src/vppinfra/test/aes_cbc.c +++ b/src/vppinfra/test/aes_cbc.c @@ -2,7 +2,7 @@ * Copyright(c) 2021 Cisco Systems, Inc. */ -#ifdef __AES__ +#if defined(__AES__) || defined(__ARM_FEATURE_CRYPTO) #include <vppinfra/format.h> #include <vppinfra/test/test.h> #include <vppinfra/crypto/aes_cbc.h> diff --git a/src/vppinfra/test/aes_ctr.c b/src/vppinfra/test/aes_ctr.c index 1bf08b208d5..2892700fb27 100644 --- a/src/vppinfra/test/aes_ctr.c +++ b/src/vppinfra/test/aes_ctr.c @@ -2,7 +2,7 @@ * Copyright(c) 2024 Cisco Systems, Inc. */ -#if defined(__AES__) +#if defined(__AES__) || defined(__ARM_FEATURE_CRYPTO) #include <vppinfra/format.h> #include <vppinfra/test/test.h> #include <vppinfra/crypto/aes_ctr.h> diff --git a/src/vppinfra/test/aes_gcm.c b/src/vppinfra/test/aes_gcm.c index aeaf7cf8c15..caa36b0f710 100644 --- a/src/vppinfra/test/aes_gcm.c +++ b/src/vppinfra/test/aes_gcm.c @@ -2,7 +2,7 @@ * Copyright(c) 2021 Cisco Systems, Inc. */ -#if defined(__AES__) && defined(__PCLMUL__) +#if (defined(__AES__) && defined(__PCLMUL__)) || defined(__ARM_FEATURE_CRYPTO) #include <vppinfra/format.h> #include <vppinfra/test/test.h> #include <vppinfra/crypto/aes_gcm.h> |