Check requested security strength in DRBG. Add function to retrieve the

security strength.
This commit is contained in:
Dr. Stephen Henson
2011-03-11 17:42:11 +00:00
parent 329c744f51
commit 1b76fac5ae
5 changed files with 26 additions and 5 deletions

View File

@@ -233,6 +233,7 @@ void ERR_load_FIPS_strings(void);
#define FIPS_R_FIPS_SELFTEST_FAILED 106
#define FIPS_R_GENERATE_ERROR 124
#define FIPS_R_INSTANTIATE_ERROR 125
#define FIPS_R_INSUFFICIENT_SECURITY_STRENGTH 132
#define FIPS_R_INVALID_KEY_LENGTH 109
#define FIPS_R_IN_ERROR_STATE 126
#define FIPS_R_KEY_TOO_SHORT 108