mu_tiano_plus/SecurityPkg/RandomNumberGenerator
Michael Kubacki d9ff93b9eb
[CHERRY-PICK] SecurityPkg: Add RngPei (#278)
## Description

The `RngPei` PEIM can be used if RNG should be provided over a dynamic
binary interface to other PEIMs on a platform.

(cherry picked from mu_basecore/release/202311)

- [x] Impacts functionality?
- [ ] Impacts security?
- [ ] Breaking change?
- [ ] Includes tests?
- [ ] Includes documentation?

## How This Was Tested

- SecurityPkg CI
- Verify RNG linked with RngLib is executed as expected
- Verify random numbers are generated successfully with a valid RngLib

## Integration Instructions

Use the `RngPei` module if a platform needs to produce `gEfiRngPpiGuid`.

The platform should usually link a different `RngLib` instance to
`RngPei`
than other PEIMs that may use the RNG PPI produced since `RngPei` is
responsible
for producing the PPI.

For example, a `RngLib` instance that uses the rdrand instruction may be
linked
against `RngPei` and a `RngLib` instance that uses the RNG PPI may be
linked
against other PEIMs.

Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
2024-06-05 07:11:32 +00:00
..
RngDxe [CHERRY-PICK] SecurityPkg/RngDxe: Simplify Rng algorithm selection for Arm 2024-01-30 22:31:54 -05:00
RngPei [CHERRY-PICK] SecurityPkg: Add RngPei (#278) 2024-06-05 07:11:32 +00:00