Skip the no derivation functions when in FIPS mode because they are not
applicable.
@@ -257,7 +257,8 @@ static int test_cavs_kats(const struct drbg_kat *test[], int i)
#ifdef FIPS_MODE
/* FIPS mode doesn't support instantiating without a derivation function */
if ((td->flags & USE_DF) == 0)
- return 1;
+ return TEST_skip("instantiating without derivation function "
+ "is not supported in FIPS mode");
#endif
switch (td->type) {
case NO_RESEED:
