summaryrefslogtreecommitdiffstats
path: root/MdePkg/Library/DxeRngLib/DxeRngLib.inf
blob: f430b12586ebf141d1e8634c25a5e6b9fa033651 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# @file
# Provides implementation of the library class RngLib that uses the RngProtocol
#
# @copyright
# Copyright (c) Microsoft Corporation. All rights reserved.
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
##

[Defines]
  INF_VERSION     = 1.27
  BASE_NAME       = DxeRngLib
  MODULE_UNI_FILE = DxeRngLib.uni
  FILE_GUID       = FF9F84C5-A33E-44E3-9BB5-0D654B2D4149
  MODULE_TYPE     = DXE_DRIVER
  VERSION_STRING  = 1.0
  LIBRARY_CLASS   = RngLib|DXE_DRIVER DXE_RUNTIME_DRIVER UEFI_APPLICATION UEFI_DRIVER
  CONSTRUCTOR     = DxeRngLibConstructor

[Packages]
  MdePkg/MdePkg.dec

[Sources]
  DxeRngLib.c

[LibraryClasses]
  DebugLib
  MemoryAllocationLib
  UefiBootServicesTableLib

[Protocols]
  gEfiRngProtocolGuid                 ## CONSUMES

[Depex]
  gEfiRngProtocolGuid

[Guids]
  gEfiRngAlgorithmSp80090Ctr256Guid
  gEfiRngAlgorithmSp80090Hash256Guid
  gEfiRngAlgorithmSp80090Hmac256Guid
  gEfiRngAlgorithmRaw

[Guids.AARCH64]
  gEfiRngAlgorithmArmRndr

[FixedPcd]
  gEfiMdePkgTokenSpaceGuid.PcdEnforceSecureRngAlgorithms ## CONSUMES