rand: add set0 calls for the private and public DRBGs
authorPauli <pauli@openssl.org>
Mon, 26 Sep 2022 05:20:14 +0000 (15:20 +1000)
committerPauli <pauli@openssl.org>
Tue, 1 Nov 2022 21:42:46 +0000 (08:42 +1100)
commit7c8187d43d043c6a66559ed341ff1e01b8711093
treebdea35ee96714c54f48e8247699562d4cd4bf47e
parent950968982a0c75d7c380f9d5a81e7d71b953af5a
rand: add set0 calls for the private and public DRBGs

The FIPS 140-3 DSA and ECDSA tests need to be known answer tests which means
the entropy needs to be cooked.  This permits this.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/19510)
crypto/evp/evp_rand.c
crypto/rand/rand_lib.c
doc/man3/EVP_RAND.pod
doc/man3/RAND_get0_primary.pod
include/openssl/evp.h
include/openssl/rand.h
util/libcrypto.num