HomeFreeBSD

Add support for new Intel on-CPU Bull Mountain random number
rS240135Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

Add support for new Intel on-CPU Bull Mountain random number
generator, found on IvyBridge and supposedly later CPUs, accessible
with RDRAND instruction.

From the Intel whitepapers and articles about Bull Mountain, it seems
that we do not need to perform post-processing of RDRAND results, like
AES-encryption of the data with random IV and keys, which was done for
Padlock. Intel claims that sanitization is performed in hardware.

Make both Padlock and Bull Mountain random generators support code
covered by kernel config options, for the benefit of people who prefer
minimal kernels. Also add the tunables to disable hardware generator
even if detected.

Reviewed by: markm, secteam (simon)
Tested by: bapt, Michael Moll <kvedulv@kvedulv.de>
MFC after: 3 weeks

Details

Provenance
kibAuthored on
Parents
rS240134: Whitespace cleanup.
Branches
Unknown
Tags
Unknown

Event Timeline