Implement peer review feedback

This commit is contained in:
kaleb-himes
2024-03-22 19:04:16 -04:00
parent 8485f88688
commit 84e5ccece5

View File

@@ -426,7 +426,7 @@ AS_CASE([$ENABLED_FIPS],
],
# Should always remain one ahead of the latest so as not to be confused with
# the latest
[ready],[
[ready|v6-ready],[
FIPS_VERSION="ready"
HAVE_FIPS_VERSION=6
HAVE_FIPS_VERSION_MAJOR=7
@@ -5379,7 +5379,7 @@ fi
# Set SHAKE128 flags
# FIPS traditionally does not support SHAKE 128, v6 does
AS_IF([test "x$ENABLED_FIPS" = "xyes" && test "x$HAVE_FIPS_VERSION" != "x6"],
AS_IF([test "x$ENABLED_FIPS" = "xyes" && test $HAVE_FIPS_VERSION -lt 6],
[ENABLED_SHAKE128="no"])
if test "$ENABLED_SHAKE128" != "no" && test "$ENABLED_32BIT" = "no"
@@ -5395,7 +5395,7 @@ fi
# Set SHAKE256 flags
# FIPS traditionally does not support SHAKE 256, v6 does
AS_IF([test "x$ENABLED_FIPS" = "xyes" && test "x$HAVE_FIPS_VERSION" != "x6"],
AS_IF([test "x$ENABLED_FIPS" = "xyes" && test $HAVE_FIPS_VERSION -lt 6],
[ENABLED_SHAKE256="no"])
if test "$ENABLED_SHAKE256" != "no" && test "$ENABLED_32BIT" = "no"