rand: detect if FIPS approved randomness sources are being used.
authorPauli <paul.dale@oracle.com>
Tue, 30 Jun 2020 03:15:05 +0000 (13:15 +1000)
committerPauli <paul.dale@oracle.com>
Fri, 17 Jul 2020 12:16:11 +0000 (22:16 +1000)
commit45554b5c71403fec547fe0f56be558cc615c6966
treeeb0474703a973ce263da049a2650a883b3262819
parent8e78da06660b269fbdf8faba6bc3a356ee3fda5e
rand: detect if FIPS approved randomness sources are being used.

This boils down to the operating system sources and RDRAND.
All other sources are not available in the FIPS module.

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/12325)
providers/implementations/rands/seeding/rand_unix.c