Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: 7518b93f7715cf427f17025b809597fd2b3b436f
https://github.com/tianocore/edk2/commit/7518b93f7715cf427f17025b809597fd2b3b436f
Author: Michael Kubacki <[email protected]>
Date: 2025-02-06 (Thu, 06 Feb 2025)
Changed paths:
A MdePkg/Include/Guid/Rng.h
M MdePkg/Include/Protocol/Rng.h
Log Message:
-----------
MdePkg: Split RNG protocol definitions
Move the structure definition to a common location that can be shared
with the RNG PPI. Move the algorithms to a common header that can be
referenced independent of the protocol.
Include the algorithm header in the interface header since the
algorithms are directly used in the interface and for compatibility
with existing code.
Signed-off-by: Michael Kubacki <[email protected]>
Commit: de5c1198c1c8ded24f546d1da42ad5c139f2e9d8
https://github.com/tianocore/edk2/commit/de5c1198c1c8ded24f546d1da42ad5c139f2e9d8
Author: Michael Kubacki <[email protected]>
Date: 2025-02-06 (Thu, 06 Feb 2025)
Changed paths:
A MdePkg/Include/Ppi/Rng.h
M MdePkg/MdePkg.dec
Log Message:
-----------
MdePkg: Add Random Number Generator (RNG) PPI
REF:https://github.com/tianocore/edk2/issues/10529
Adds a new PPI that serves the same purpose as EFI_RNG_PROTOCOL in
DXE. This PPI can be produced by a PEIM to provide a dynamic interface
to RNG services in PEI.
Signed-off-by: Michael Kubacki <[email protected]>
Commit: bcab6996a011fc96124e2831a9461b70ef0c36f3
https://github.com/tianocore/edk2/commit/bcab6996a011fc96124e2831a9461b70ef0c36f3
Author: Michael Kubacki <[email protected]>
Date: 2025-02-06 (Thu, 06 Feb 2025)
Changed paths:
A MdePkg/Library/PeiRngLib/PeiRngLib.c
A MdePkg/Library/PeiRngLib/PeiRngLib.inf
A MdePkg/Library/PeiRngLib/PeiRngLib.uni
M MdePkg/MdePkg.dsc
Log Message:
-----------
MdePkg: Add PeiRngLib
REF:https://github.com/tianocore/edk2/issues/10529
Adds a new PEI library instance for RngLib that uses the RNG services
provided by the RNG PPI.
This library instance will add a DEPEX on gEfiRngPpiGuid on modules
it links against. It can be used to allow PEIMs to get RNG support
over a dynamic interface.
Signed-off-by: Michael Kubacki <[email protected]>
Commit: edf1450f3e3958bf5585f7847453d1eae635d0aa
https://github.com/tianocore/edk2/commit/edf1450f3e3958bf5585f7847453d1eae635d0aa
Author: Michael Kubacki <[email protected]>
Date: 2025-02-06 (Thu, 06 Feb 2025)
Changed paths:
A SecurityPkg/RandomNumberGenerator/RngPei/RngPei.c
A SecurityPkg/RandomNumberGenerator/RngPei/RngPei.inf
A SecurityPkg/RandomNumberGenerator/RngPei/RngPei.uni
M SecurityPkg/SecurityPkg.dsc
Log Message:
-----------
SecurityPkg: Add RngPei
REF:https://github.com/tianocore/edk2/issues/10529
The `RngPei` PEIM can be used if RNG should be provided over a
dynamic binary interface to other PEIMs on a platform.
Tested with:
- 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 <[email protected]>
Compare: https://github.com/tianocore/edk2/compare/15e225d06a1f...edf1450f3e39
To unsubscribe from these emails, change your notification settings at
https://github.com/tianocore/edk2/settings/notifications
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits