Publish the RAND_DRBG API
authorDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Mon, 5 Mar 2018 22:45:44 +0000 (23:45 +0100)
committerDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Thu, 15 Mar 2018 17:58:38 +0000 (18:58 +0100)
commit6decf9436f77ff65ed8ed773268663a9273cfbc8
treed22016d214eff4f34e7ffa34f754cf0d25552379
parentf297e4ecc3e5bd9f460ffc99f38680e34d6d4d2f
Publish the RAND_DRBG API

Fixes #4403

This commit moves the internal header file "internal/rand.h" to
<openssl/rand_drbg.h>, making the RAND_DRBG API public.
The RAND_POOL API remains private, its function prototypes were
moved to "internal/rand_int.h" and converted to lowercase.

Documentation for the new API is work in progress on GitHub #5461.

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5462)
23 files changed:
crypto/err/openssl.txt
crypto/evp/e_aes.c
crypto/evp/e_aes_cbc_hmac_sha1.c
crypto/evp/e_aes_cbc_hmac_sha256.c
crypto/evp/e_aria.c
crypto/evp/e_des.c
crypto/evp/e_des3.c
crypto/evp/evp_enc.c
crypto/evp/p_seal.c
crypto/include/internal/rand_int.h
crypto/rand/drbg_ctr.c
crypto/rand/drbg_lib.c
crypto/rand/rand_err.c
crypto/rand/rand_lcl.h
crypto/rand/rand_lib.c
crypto/rand/rand_unix.c
crypto/rand/rand_vms.c
crypto/rand/rand_win.c
include/openssl/ossl_typ.h
include/openssl/rand_drbg.h [moved from include/internal/rand.h with 73% similarity]
ssl/ssl_lib.c
util/libcrypto.num
util/mkdef.pl