]> git.ipfire.org Git - thirdparty/openssl.git/commit
evp_test: add a new global "Test-Entropy" line to allow deterministic `random` input.
authorPauli <ppzgs1@gmail.com>
Wed, 9 Jul 2025 02:50:02 +0000 (12:50 +1000)
committerPauli <ppzgs1@gmail.com>
Wed, 23 Jul 2025 08:22:53 +0000 (18:22 +1000)
commitd73d40af3757e29460076d6a3c997298f5263527
tree6e00d25eb1b15f653d9f82e6e92f25c2ad845270
parent7bf4b30bcc8eb576790abc68a741d9687bd79853
evp_test: add a new global "Test-Entropy" line to allow deterministic `random` input.

When specified, this directive replaces the public and private DRBGs
with a generator that returns the specified bytes.  If more bytes are
requested than are specified, the generator loops around the supplied
bytes to satisfy the request.

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/27997)
test/evp_test.c