From 7eaff41e61f49f59fac55ab42031a9161eea0f08 Mon Sep 17 00:00:00 2001 From: Sean Parkinson Date: Mon, 13 Nov 2023 07:40:40 +1000 Subject: [PATCH] AES bitsliced, ARMASM: config needs WOLFSSL_AES_DIRECT defined AES bitsliced needs WOLFSSL_AES_DIRECT defined when compiling for ARMASM as there are different APIs used. --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 6e91fa579..bf8d2e7e7 100644 --- a/configure.ac +++ b/configure.ac @@ -8707,6 +8707,9 @@ then AM_CFLAGS="$AM_CFLAGS -DNO_MD5 -DNO_OLD_TLS" fi +AS_IF([test "x$ENABLED_AESBS" = "xyes" && test "x$ENABLED_ARMASM" = "xyes"], + [AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_AES_DIRECT"]) + if test "$ENABLED_HMAC" = "no" then AM_CFLAGS="$AM_CFLAGS -DNO_HMAC"