From a1645d684afd6559a56de41bc417dde7354811fa Mon Sep 17 00:00:00 2001 From: kaleb-himes Date: Fri, 21 Jun 2024 15:38:03 -0400 Subject: [PATCH] 448 streaming base on ENABLED flag and below FIPS section --- configure.ac | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/configure.ac b/configure.ac index 8d5e0c8f6..8f1f08591 100644 --- a/configure.ac +++ b/configure.ac @@ -4103,18 +4103,6 @@ AC_ARG_ENABLE([ed448-stream], [ ENABLED_ED448_STREAM=no ] ) -if test "$ENABLED_ED448_STREAM" != "no" -then - if test "$ENABLED_ED448" = "no" - then - AC_MSG_ERROR([ED448 verify streaming enabled but ED448 is disabled]) - else - AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_ED448_STREAMING_VERIFY" - AM_CCASFLAGS="$AM_CCASFLAGS -DWOLFSSL_ED448_STREAMING_VERIFY" - fi -fi - - # FP ECC, Fixed Point cache ECC AC_ARG_ENABLE([fpecc], [AS_HELP_STRING([--enable-fpecc],[Enable Fixed Point cache ECC (default: disabled)])], @@ -5614,6 +5602,18 @@ then ENABLED_CERTS=yes fi +if test "$ENABLED_ED448_STREAM" != "no" +then + if test "$ENABLED_ED448" = "no" + then + AC_MSG_ERROR([ED448 verify streaming enabled but ED448 is disabled]) + else + AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_ED448_STREAMING_VERIFY" + AM_CCASFLAGS="$AM_CCASFLAGS -DWOLFSSL_ED448_STREAMING_VERIFY" + fi +fi + + # SRTP-KDF if test "$ENABLED_SRTP" = "yes" then