diff options
author | Kurt Roeckx <kurt@roeckx.be> | 2017-11-17 15:00:35 +0100 |
---|---|---|
committer | Dr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> | 2018-01-29 12:42:06 +0100 |
commit | 20928ff635772182fe8696d618a19f9101a5370f (patch) | |
tree | 26305c173b7eddf05cbace4a2f4aa750d930c968 /include | |
parent | 1af66bb7241268f96554136387126d280efab75d (diff) |
Add RAND_DRBG_bytes
Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/4752)
Diffstat (limited to 'include')
-rw-r--r-- | include/internal/rand.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/internal/rand.h b/include/internal/rand.h index 2f9a8015be..9fdd0973fe 100644 --- a/include/internal/rand.h +++ b/include/internal/rand.h @@ -42,6 +42,8 @@ int RAND_DRBG_reseed(RAND_DRBG *drbg, int RAND_DRBG_generate(RAND_DRBG *drbg, unsigned char *out, size_t outlen, int prediction_resistance, const unsigned char *adin, size_t adinlen); +int RAND_DRBG_bytes(RAND_DRBG *drbg, unsigned char *out, size_t outlen); + int RAND_DRBG_set_reseed_interval(RAND_DRBG *drbg, unsigned int interval); int RAND_DRBG_set_reseed_time_interval(RAND_DRBG *drbg, time_t interval); |