RAND_DRBG: add a function for setting the default DRBG type and flags
authorDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Thu, 15 Mar 2018 18:48:43 +0000 (19:48 +0100)
committerDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Fri, 16 Mar 2018 17:31:30 +0000 (18:31 +0100)
commit31393fd9067a1444fe4b73bfac51ab44d8d344e2
treecdc80daa5de09764ed98cc9f72a81629f49a5d29
parent80f2787717c2181438d4dc2da701fe784fd6286e
RAND_DRBG: add a function for setting the default DRBG type and flags

This commit adds a new api RAND_DRBG_set_defaults() which sets the
default type and flags for new DRBG instances. See also #5576.

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5632)
crypto/err/openssl.txt
crypto/rand/drbg_ctr.c
crypto/rand/drbg_lib.c
crypto/rand/rand_err.c
crypto/rand/rand_lcl.h
include/openssl/rand_drbg.h
include/openssl/randerr.h
ssl/ssl_lib.c
util/libcrypto.num