|
@@ -745,7 +745,6 @@ then
|
|
|
test "$enable_psk" = "" && enable_psk=yes
|
|
|
test "$enable_cmac" = "" && enable_cmac=yes
|
|
|
test "$enable_siphash" = "" && enable_siphash=yes
|
|
|
- test "$enable_aesxts" = "" && enable_aesxts=yes
|
|
|
test "$enable_ocsp" = "" && enable_ocsp=yes
|
|
|
test "$enable_ocspstapling" = "" && test "$enable_ocsp" != "no" && enable_ocspstapling=yes
|
|
|
test "$enable_ocspstapling2" = "" && test "$enable_ocsp" != "no" && enable_ocspstapling2=yes
|
|
@@ -787,6 +786,7 @@ then
|
|
|
test "$enable_session_ticket" = "" && enable_session_ticket=yes
|
|
|
test "$enable_earlydata" = "" && enable_earlydata=yes
|
|
|
test "$enable_ech" = "" && enable_ech=yes
|
|
|
+ test "$enable_srtp" = "" && enable_srtp=yes
|
|
|
|
|
|
if test "$ENABLED_32BIT" != "yes"
|
|
|
then
|
|
@@ -861,7 +861,8 @@ then
|
|
|
fi
|
|
|
fi
|
|
|
|
|
|
- if test "$ENABLED_FIPS" = "no" || test "$ENABLED_FIPS" = "dev"; then
|
|
|
+ if test "$ENABLED_FIPS" = "no" || test "$FIPS_VERSION" = "dev"; then
|
|
|
+ test "$enable_aesxts" = "" && enable_aesxts=yes
|
|
|
test "$enable_aessiv" = "" && enable_aessiv=yes
|
|
|
fi
|
|
|
|
|
@@ -933,7 +934,6 @@ then
|
|
|
test "$enable_psk" = "" && enable_psk=yes
|
|
|
test "$enable_cmac" = "" && enable_cmac=yes
|
|
|
test "$enable_siphash" = "" && enable_siphash=yes
|
|
|
- test "$enable_aesxts" = "" && enable_aesxts=yes
|
|
|
test "$enable_ocsp" = "" && enable_ocsp=yes
|
|
|
test "$enable_ocspstapling" = "" && test "$enable_ocsp" != "no" && enable_ocspstapling=yes
|
|
|
test "$enable_ocspstapling2" = "" && test "$enable_ocsp" != "no" && enable_ocspstapling2=yes
|
|
@@ -959,6 +959,7 @@ then
|
|
|
test "$enable_cryptocb" = "" && enable_cryptocb=yes
|
|
|
test "$enable_anon" = "" && enable_anon=yes
|
|
|
test "$enable_ssh" = "" && test "$enable_hmac" != "no" && enable_ssh=yes
|
|
|
+ test "$enable_srtp_kdf" = "" && enable_srtp_kdf=yes
|
|
|
|
|
|
if test "$ENABLED_32BIT" != "yes"
|
|
|
then
|
|
@@ -1001,7 +1002,8 @@ then
|
|
|
fi
|
|
|
fi
|
|
|
|
|
|
- if test "$ENABLED_FIPS" = "no" || test "$ENABLED_FIPS" = "dev"; then
|
|
|
+ if test "$ENABLED_FIPS" = "no" || test "$FIPS_VERSION" = "dev"; then
|
|
|
+ test "$enable_aesxts" = "" && enable_aesxts=yes
|
|
|
test "$enable_aessiv" = "" && enable_aessiv=yes
|
|
|
fi
|
|
|
|
|
@@ -4848,13 +4850,6 @@ AC_ARG_ENABLE([xts],
|
|
|
[ ENABLED_AESXTS=$enableval ]
|
|
|
)
|
|
|
|
|
|
-AS_IF([test "x$ENABLED_AESXTS" = "xyes"],
|
|
|
- [AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_AES_XTS -DWOLFSSL_AES_DIRECT"])
|
|
|
-AS_IF([test "x$ENABLED_AESXTS" = "xyes" && test "x$ENABLED_INTELASM" = "xyes"],
|
|
|
- [AM_CCASFLAGS="$AM_CCASFLAGS -DWOLFSSL_AES_XTS"])
|
|
|
-AS_IF([test "x$ENABLED_AESXTS" = "xyes" && test "x$ENABLED_AESNI" = "xyes"],
|
|
|
- [AM_CCASFLAGS="$AM_CCASFLAGS -DWOLFSSL_AES_XTS"])
|
|
|
-
|
|
|
# Web Server Build
|
|
|
AC_ARG_ENABLE([webserver],
|
|
|
[AS_HELP_STRING([--enable-webserver],[Enable Web Server (default: disabled)])],
|
|
@@ -4953,6 +4948,9 @@ AS_CASE([$FIPS_VERSION],
|
|
|
AS_IF([test "$ENABLED_AESCCM" != "yes" && (test "$FIPS_VERSION" != "dev" || test "$enable_aesccm" != "no")],
|
|
|
[ENABLED_AESCCM="yes"; AM_CFLAGS="$AM_CFLAGS -DHAVE_AESCCM"])
|
|
|
|
|
|
+ AS_IF([test "$ENABLED_AESXTS" = "yes" && (test "$FIPS_VERSION" != "dev" || test "$enable_aesxts" != "yes")],
|
|
|
+ [ENABLED_AESXTS="no"])
|
|
|
+
|
|
|
AS_IF([test "$ENABLED_RSAPSS" != "yes" && (test "$FIPS_VERSION" != "dev" || test "$enable_rsapss" != "no")],
|
|
|
[ENABLED_RSAPSS="yes"; AM_CFLAGS="$AM_CFLAGS -DWC_RSA_PSS"])
|
|
|
|
|
@@ -4994,7 +4992,8 @@ AS_CASE([$FIPS_VERSION],
|
|
|
AS_IF([(test "$ENABLED_AESCCM" = "yes" && test "$HAVE_AESCCM_PORT" != "yes") ||
|
|
|
(test "$ENABLED_AESCTR" = "yes" && test "$HAVE_AESCTR_PORT" != "yes") ||
|
|
|
(test "$ENABLED_AESGCM" = "yes" && test "$HAVE_AESGCM_PORT" != "yes") ||
|
|
|
- (test "$ENABLED_AESOFB" = "yes" && test "$HAVE_AESOFB_PORT" != "yes")],
|
|
|
+ (test "$ENABLED_AESOFB" = "yes" && test "$HAVE_AESOFB_PORT" != "yes") ||
|
|
|
+ (test "$ENABLED_AESXTS" = "yes" && test "$HAVE_AESXTS_PORT" != "yes")],
|
|
|
[AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_AES_DIRECT -DHAVE_AES_ECB"])
|
|
|
],
|
|
|
|
|
@@ -5100,6 +5099,14 @@ AS_CASE([$SELFTEST_VERSION],
|
|
|
])
|
|
|
|
|
|
|
|
|
+AS_IF([test "x$ENABLED_AESXTS" = "xyes"],
|
|
|
+ [AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_AES_XTS -DWOLFSSL_AES_DIRECT"])
|
|
|
+AS_IF([test "x$ENABLED_AESXTS" = "xyes" && test "x$ENABLED_INTELASM" = "xyes"],
|
|
|
+ [AM_CCASFLAGS="$AM_CCASFLAGS -DWOLFSSL_AES_XTS"])
|
|
|
+AS_IF([test "x$ENABLED_AESXTS" = "xyes" && test "x$ENABLED_AESNI" = "xyes"],
|
|
|
+ [AM_CCASFLAGS="$AM_CCASFLAGS -DWOLFSSL_AES_XTS"])
|
|
|
+
|
|
|
+
|
|
|
# Set SHA-3 flags
|
|
|
if test "$ENABLED_SHA3" != "no" && test "$ENABLED_32BIT" = "no"
|
|
|
then
|