Bugzilla: 3668 (https://bugzilla.tianocore.org/show_bug.cgi?id=3668) The Arm True Random Number Generator Firmware, Interface 1.0, Platform Design Document (https://developer.arm.com/documentation/den0098/latest/) defines an interface between an Operating System (OS) executing at EL1 and Firmware (FW) exposing a conditioned entropy source that is provided by a TRNG back end. The conditioned entropy, that is provided by the Arm TRNG interface, is commonly used to seed deterministic random number generators. This patch adds an ArmTrngLib library that implements the Arm TRNG interface. Acked-by: Leif Lindholm <quic_llindhol@quicinc.com> Signed-off-by: Pierre Gondois <pierre.gondois@arm.com>
30 lines
615 B
INI
30 lines
615 B
INI
## @file
|
|
# Arm Firmware TRNG interface library.
|
|
#
|
|
# Copyright (c) 2021 - 2022, Arm Limited. All rights reserved.<BR>
|
|
#
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
##
|
|
|
|
[Defines]
|
|
INF_VERSION = 1.29
|
|
BASE_NAME = ArmTrngLib
|
|
FILE_GUID = 10DE97C9-28E4-4C9B-A53E-8D7D1B0DD4E0
|
|
VERSION_STRING = 1.0
|
|
MODULE_TYPE = BASE
|
|
LIBRARY_CLASS = ArmTrngLib
|
|
CONSTRUCTOR = ArmTrngLibConstructor
|
|
|
|
[Sources]
|
|
ArmTrngDefs.h
|
|
ArmTrngLib.c
|
|
|
|
[Packages]
|
|
ArmPkg/ArmPkg.dec
|
|
MdePkg/MdePkg.dec
|
|
|
|
[LibraryClasses]
|
|
ArmMonitorLib
|
|
BaseLib
|
|
BaseMemoryLib
|