Avoid two memory allocations in each RAND_DRBG_bytes
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Sat, 27 Oct 2018 09:31:21 +0000 (11:31 +0200)
committerBernd Edlinger <bernd.edlinger@hotmail.de>
Mon, 5 Nov 2018 21:52:24 +0000 (22:52 +0100)
commit939ef2ea114235f94124832c804161f735cec6c8
tree2d5fd20370f1ef981faf9d1d0b68a17b8638b000
parentc40c1ef4f3c3a6a4d7878bbf8b13742a5bffd963
Avoid two memory allocations in each RAND_DRBG_bytes

Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/7518)
crypto/include/internal/rand_int.h
crypto/rand/drbg_lib.c
crypto/rand/rand_lcl.h
crypto/rand/rand_lib.c