test: add test for generation of random data in chunks.
authorPauli <paul.dale@oracle.com>
Thu, 11 Jun 2020 01:07:13 +0000 (11:07 +1000)
committerPauli <paul.dale@oracle.com>
Wed, 24 Jun 2020 10:07:46 +0000 (20:07 +1000)
commit1c19ff3ce85ee22afcf87d28ce2cababef02a123
treed774327a46e5950f8167ac88b87c6075c3bbbc6b
parentc9ed9307f2dfaba01b3c3b9e489fe358e6070b50
test: add test for generation of random data in chunks.

THe EVP_RAND wrapper works with the underlying RNG to produce the amount of
random data requested even if it is larger than the largest single generation
the source allows.  This test verified that this works.

Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/11682)
test/evp_extra_test.c