random: add RDSEED as a provably unique entropy sourceNIST SP800-90B allows for only a single entropy source to be claimedin a FIPS-140-3 certificate. In addition, only hardware sources thathave
random: add RDSEED as a provably unique entropy sourceNIST SP800-90B allows for only a single entropy source to be claimedin a FIPS-140-3 certificate. In addition, only hardware sources thathave a NIST Entropy Source Validation (ESV) certificate, backed bya SP800-90B Entropy Assessment Report, are usable. Intel has obtainedESV certificates for several of their processors, so RDSEED is aFIPS-140-3 suitable entropy source.However, even though RDRAND is seeded by RDSEED internally, RDRANDwould need a RBG certificate and CAVP testing run on the DRBG in orderto use it for FIPS-140-3 (SP800-90B) purposes. So we need to knowdown in the CSPRNG-subsystem which source the entropy came from.In light of the potential issues surrounding AMD Zen 5 CPU's RDSEEDimplementation[*], allow RDSEED to be disabled in loader.conf.[*] https://www.phoronix.com/news/AMD-EPYC-Turin-RDSEED-BugReviewed by: cemMFC after: 3 daysSponsored by: Juniper NetworksDifferential Revision: https://reviews.freebsd.org/D53150
show more ...