const struct drbg_kat *td = test[i];
int rv = 0;
+#ifdef FIPS_MODE
+ /* FIPS mode doesn't support instantiating without a derivation function */
+ if ((td->flags & USE_DF) == 0)
+ return TEST_skip("instantiating without derivation function "
+ "is not supported in FIPS mode");
+#endif
switch (td->type) {
case NO_RESEED:
if (!single_kat_no_reseed(td))
if (!single_kat_pr_true(td))
goto err;
break;
- default: /* cant happen */
+ default: /* cant happen */
goto err;
}
rv = 1;