summaryrefslogtreecommitdiffstats
path: root/crypto/rand/rand_err.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2018-04-13 16:23:58 +0200
committerRichard Levitte <levitte@openssl.org>2018-04-13 23:48:41 +0200
commit560096f804a3712eea161726a8f085beefe8838a (patch)
tree43846e89a9031794cc692ecc0f96fc8c66b53385 /crypto/rand/rand_err.c
parent5bc6bcf82d2adce982e04837b0810b1a6cd55a19 (diff)
make update
Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/5948)
Diffstat (limited to 'crypto/rand/rand_err.c')
-rw-r--r--crypto/rand/rand_err.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/crypto/rand/rand_err.c b/crypto/rand/rand_err.c
index 4286bf482a..31480a6828 100644
--- a/crypto/rand/rand_err.c
+++ b/crypto/rand/rand_err.c
@@ -25,6 +25,8 @@ static const ERR_STRING_DATA RAND_str_functs[] = {
"RAND_DRBG_generate"},
{ERR_PACK(ERR_LIB_RAND, RAND_F_RAND_DRBG_GET_ENTROPY, 0),
"rand_drbg_get_entropy"},
+ {ERR_PACK(ERR_LIB_RAND, RAND_F_RAND_DRBG_GET_NONCE, 0),
+ "rand_drbg_get_nonce"},
{ERR_PACK(ERR_LIB_RAND, RAND_F_RAND_DRBG_INSTANTIATE, 0),
"RAND_DRBG_instantiate"},
{ERR_PACK(ERR_LIB_RAND, RAND_F_RAND_DRBG_NEW, 0), "RAND_DRBG_new"},
@@ -107,6 +109,10 @@ static const ERR_STRING_DATA RAND_str_reasons[] = {
"request too large for drbg"},
{ERR_PACK(ERR_LIB_RAND, 0, RAND_R_RESEED_ERROR), "reseed error"},
{ERR_PACK(ERR_LIB_RAND, 0, RAND_R_SELFTEST_FAILURE), "selftest failure"},
+ {ERR_PACK(ERR_LIB_RAND, 0, RAND_R_TOO_LITTLE_NONCE_REQUESTED),
+ "too little nonce requested"},
+ {ERR_PACK(ERR_LIB_RAND, 0, RAND_R_TOO_MUCH_NONCE_REQUESTED),
+ "too much nonce requested"},
{ERR_PACK(ERR_LIB_RAND, 0, RAND_R_UNSUPPORTED_DRBG_FLAGS),
"unsupported drbg flags"},
{ERR_PACK(ERR_LIB_RAND, 0, RAND_R_UNSUPPORTED_DRBG_TYPE),