Add DRBG random method
authorRich Salz <rsalz@openssl.org>
Tue, 27 Jun 2017 16:04:37 +0000 (12:04 -0400)
committerRich Salz <rsalz@openssl.org>
Wed, 19 Jul 2017 07:25:16 +0000 (03:25 -0400)
commit12fb8c3d2dd00f3d4f1b084385403d26ed64a596
tree7fc90f8f80e16ab4e8b79def2162a56dd2d704dc
parent0299f3f790437d124d15f60489c774407325f82b
Add DRBG random method

Ported from the last FIPS release, with DUAL_EC and SHA1 and the
self-tests removed.  Since only AES-CTR is supported, other code
simplifications were done.  Removed the "entropy blocklen" concept.

Moved internal functions to new include/internal/rand.h.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/3789)
19 files changed:
crypto/err/openssl.txt
crypto/rand/build.info
crypto/rand/drbg_lib.c [new file with mode: 0644]
crypto/rand/drbg_rand.c [new file with mode: 0644]
crypto/rand/ossl_rand.c
crypto/rand/rand_err.c
crypto/rand/rand_lcl.h
crypto/rand/rand_lib.c
include/internal/rand.h [new file with mode: 0644]
include/openssl/crypto.h
include/openssl/ossl_typ.h
include/openssl/rand.h
include/openssl/randerr.h
test/build.info
test/drbgtest.c [new file with mode: 0644]
test/drbgtest.h [new file with mode: 0644]
test/recipes/05-test_rand.t
util/libcrypto.num
util/mkdef.pl