UefiPayloadPkg: Add RNG support
Uses the RDRAND instruction if available and install EfiRngProtocol. The protocol may be used by iPXE or the Linux kernel to gather entropy. Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
This commit is contained in:
committed by
Tim Crawford
parent
95c492569f
commit
69ae47ba5d
17
UefiPayloadPkg/Library/BaseRngLib/BaseRngLib.uni
Normal file
17
UefiPayloadPkg/Library/BaseRngLib/BaseRngLib.uni
Normal file
@@ -0,0 +1,17 @@
|
||||
// /** @file
|
||||
// Instance of RNG (Random Number Generator) Library.
|
||||
//
|
||||
// BaseRng Library that uses CPU RdRand instruction access to provide
|
||||
// high-quality random numbers.
|
||||
//
|
||||
// Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>
|
||||
//
|
||||
// SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
//
|
||||
// **/
|
||||
|
||||
|
||||
#string STR_MODULE_ABSTRACT #language en-US "Instance of RNG Library"
|
||||
|
||||
#string STR_MODULE_DESCRIPTION #language en-US "BaseRng Library that uses CPU RdRand instruction access to provide high-quality random numbers"
|
||||
|
Reference in New Issue
Block a user