aboutsummaryrefslogtreecommitdiffstats
path: root/src/vppinfra/test
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2024-01-15 11:37:33 +0100
committerAndrew Yourtchenko <ayourtch@gmail.com>2024-01-16 17:40:40 +0000
commit7e9513b8fcc838114ca58a093c751f3a50bafed6 (patch)
tree1ab9ff01cc06b1b28a56ec7704400c69af0f633f /src/vppinfra/test
parent4a515d35a8702fafb1119e3dc4f969160b0e4372 (diff)
vppinfra: enable AES tests on ARM
Type: improvement Change-Id: I30f3b2924ab219a8bace87f358b1b823e8bc83bb Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vppinfra/test')
-rw-r--r--src/vppinfra/test/aes_cbc.c2
-rw-r--r--src/vppinfra/test/aes_ctr.c2
-rw-r--r--src/vppinfra/test/aes_gcm.c2
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>