MdePkg/ArmTrngLib: Add NULL instance of Arm TRNG Library
Bugzilla: 3668 (https://bugzilla.tianocore.org/show_bug.cgi?id=3668) The Arm True Random Number Generator (TRNG) library defines an interface to access the entropy source on a platform. On platforms that do not have access to an entropy source, a NULL instance of the TRNG library may be useful to satisfy the build dependency. Therefore, add a NULL instance of the Arm TRNG library. Signed-off-by: Pierre Gondois <pierre.gondois@arm.com> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
This commit is contained in:
committed by
mergify[bot]
parent
cbce5a1a93
commit
ef4cf3d88d
12
MdePkg/Library/BaseArmTrngLibNull/BaseArmTrngLibNull.uni
Normal file
12
MdePkg/Library/BaseArmTrngLibNull/BaseArmTrngLibNull.uni
Normal file
@@ -0,0 +1,12 @@
|
||||
// /** @file
|
||||
// Null Instance of the Arm TRNG (True Random Number Generator) Library.
|
||||
//
|
||||
// Copyright (c) 2021 - 2022, Arm Limited. All rights reserved.<BR>
|
||||
//
|
||||
// SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
//
|
||||
// **/
|
||||
|
||||
#string STR_MODULE_ABSTRACT #language en-US "Null instance of TRNG Library"
|
||||
|
||||
#string STR_MODULE_DESCRIPTION #language en-US "This library instance should be used with modules that inherit an (indirect) dependency on the ArmTrngLib class, but never actually call ArmTrngLib APIs for consuming Entropy."
|
Reference in New Issue
Block a user