Disable PQ fuzz tests when in FIPS mode
@@ -57,8 +57,13 @@ fi
FIPS_TEST_MSG=""
if [ -n "${S2N_TEST_IN_FIPS_MODE}" ];
then
+ if [[ $TEST_NAME == *bike* ]] || [[ $TEST_NAME == *sike* ]]; then
+ printf "Skipping %s because PQ crypto is not supported in FIPS mode...\n" ${TEST_NAME}
+ exit 0
+ else
FIPS_TEST_MSG=" FIPS test"
fi
+fi
# Make directory if it doesn't exist
mkdir -p "./corpus/${TEST_NAME}"
