diff options
author | Pauli <paul.dale@oracle.com> | 2020-11-20 08:45:34 +1000 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2020-12-09 12:20:32 +1000 |
commit | 81aef6ba720971c09ad68f89d418c8d3d3f904f7 (patch) | |
tree | 9fc56b7a13bdf242e4b1683cc4002ee66ab5c878 /providers/defltprov.c | |
parent | d8975dec0c3f41a491345f8a3c02612eaf8b30f7 (diff) |
rand: add a provider side seed source.
This allows the operating system sources that OpenSSL supports to be
used directly as RNGs. It also allows DRBG seeding to be explicitly
specified rather than being left to a fall back case.
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13455)
Diffstat (limited to 'providers/defltprov.c')
-rw-r--r-- | providers/defltprov.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/providers/defltprov.c b/providers/defltprov.c index 9a662738d8..3cd7dffee8 100644 --- a/providers/defltprov.c +++ b/providers/defltprov.c @@ -362,6 +362,7 @@ static const OSSL_ALGORITHM deflt_rands[] = { { "CTR-DRBG", "provider=default", ossl_drbg_ctr_functions }, { "HASH-DRBG", "provider=default", ossl_drbg_hash_functions }, { "HMAC-DRBG", "provider=default", ossl_drbg_ossl_hmac_functions }, + { "SEED-SRC", "provider=default", ossl_seed_src_functions }, { "TEST-RAND", "provider=default", ossl_test_rng_functions }, { NULL, NULL, NULL } }; |