Merge pull request #7555 from lealem47/forceSHA3

Force SHA3 on with FIPS V5
This commit is contained in:
David Garske 2024-05-17 12:30:20 -07:00 committed by GitHub
commit 15af87af8f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5147,6 +5147,9 @@ AS_CASE([$FIPS_VERSION],
AS_IF([test "$ENABLED_SHA224" != "yes" && (test "$FIPS_VERSION" != "v5-dev" || test "$enable_sha224" != "no")],
[ENABLED_SHA224="yes"; AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_SHA224"])
AS_IF([test "$ENABLED_SHA3" != "yes" && (test "$FIPS_VERSION" != "v5-dev" || test "$enable_sha3" != "no")],
[ENABLED_SHA3="yes"; AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_SHA3"])
AS_IF([test "$ENABLED_WOLFSSH" != "yes" && (test "$FIPS_VERSION" != "v5-dev" || test "$enable_ssh" != "no")],
[enable_ssh="yes"])