diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2011-03-11 17:42:11 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2011-03-11 17:42:11 +0000 |
commit | 1b76fac5ae55d2d307f635af4775a7c9149c8551 (patch) | |
tree | b14020eec6bf0d3f468161ccdef8c623bc9b13c8 /crypto/fips_err.h | |
parent | 329c744f519c67aaf8a240e38b5c44a8ce5e0dfd (diff) |
Check requested security strength in DRBG. Add function to retrieve the
security strength.
Diffstat (limited to 'crypto/fips_err.h')
-rw-r--r-- | crypto/fips_err.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/fips_err.h b/crypto/fips_err.h index 8bde7e8712..07a13e208e 100644 --- a/crypto/fips_err.h +++ b/crypto/fips_err.h @@ -128,6 +128,7 @@ static ERR_STRING_DATA FIPS_str_reasons[]= {ERR_REASON(FIPS_R_FIPS_SELFTEST_FAILED) ,"fips selftest failed"}, {ERR_REASON(FIPS_R_GENERATE_ERROR) ,"generate error"}, {ERR_REASON(FIPS_R_INSTANTIATE_ERROR) ,"instantiate error"}, +{ERR_REASON(FIPS_R_INSUFFICIENT_SECURITY_STRENGTH),"insufficient security strength"}, {ERR_REASON(FIPS_R_INVALID_KEY_LENGTH) ,"invalid key length"}, {ERR_REASON(FIPS_R_IN_ERROR_STATE) ,"in error state"}, {ERR_REASON(FIPS_R_KEY_TOO_SHORT) ,"key too short"}, |