Add extensive DRBG selftest data and option to corrupt it in fips_test_suite.

This commit is contained in:
Dr. Stephen Henson
2011-03-16 15:52:12 +00:00
parent 8cd3d99f57
commit fbbabb646c
9 changed files with 859 additions and 13 deletions

View File

@@ -315,6 +315,13 @@ int FIPS_mode_set(int onoff)
goto end;
}
if (!FIPS_selftest_drbg())
{
fips_selftest_fail = 1;
ret = 0;
goto end;
}
/* Perform RNG KAT before seeding */
if (!FIPS_selftest_rng())
{