Provide rand_bytes_ex and rand_priv_bytes_ex
authorMatt Caswell <matt@openssl.org>
Fri, 28 Jun 2019 10:23:46 +0000 (11:23 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 2 Jul 2019 15:49:18 +0000 (16:49 +0100)
commit6694e51dbaecc7b331a6f0fa484d77008367c59c
treeccdf725bf70880fa175a726a9eae987515cfaa20
parentf690ef151c0c3becc234daebf0418e04ff80580e
Provide rand_bytes_ex and rand_priv_bytes_ex

We provider internal versions of RAND_bytes() and RAND_priv_bytes() which
have the addition of taking an OPENSSL_CTX as a parameter.

Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/9193)
crypto/err/openssl.txt
crypto/include/internal/rand_int.h
crypto/rand/rand_err.c
crypto/rand/rand_lib.c
doc/internal/man3/rand_bytes_ex.pod [new file with mode: 0644]
include/openssl/randerr.h