]>
Commit | Line | Data |
---|---|---|
1 | ## @file\r | |
2 | # Produces the UEFI Random Number Generator protocol\r | |
3 | #\r | |
4 | # This module will leverage Intel Secure Key technology to produce the Random\r | |
5 | # Number Generator protocol, which is used to provide high-quality random numbers\r | |
6 | # for use in applications, or entropy for seeding other random number generators.\r | |
7 | # Refer to http://software.intel.com/en-us/articles/intel-digital-random-number\r | |
8 | # -generator-drng-software-implementation-guide/ for more information about Intel\r | |
9 | # Secure Key technology.\r | |
10 | #\r | |
11 | # Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.<BR>\r | |
12 | # (C) Copyright 2015 Hewlett Packard Enterprise Development LP<BR>\r | |
13 | # Copyright (c) 2021 - 2022, Arm Limited. All rights reserved.<BR>\r | |
14 | # SPDX-License-Identifier: BSD-2-Clause-Patent\r | |
15 | #\r | |
16 | ##\r | |
17 | \r | |
18 | [Defines]\r | |
19 | INF_VERSION = 0x00010005\r | |
20 | BASE_NAME = RngDxe\r | |
21 | FILE_GUID = B981A835-6EE8-4f4c-AE0B-210AA0BFBF01\r | |
22 | MODULE_TYPE = DXE_DRIVER\r | |
23 | VERSION_STRING = 1.0\r | |
24 | ENTRY_POINT = RngDriverEntry\r | |
25 | UNLOAD_IMAGE = RngDriverUnLoad\r | |
26 | MODULE_UNI_FILE = RngDxe.uni\r | |
27 | \r | |
28 | #\r | |
29 | # The following information is for reference only and not required by the build tools.\r | |
30 | #\r | |
31 | # VALID_ARCHITECTURES = IA32 X64 AARCH64 ARM\r | |
32 | #\r | |
33 | \r | |
34 | [Sources.common]\r | |
35 | RngDxe.c\r | |
36 | RngDxeInternals.h\r | |
37 | \r | |
38 | [Sources.IA32, Sources.X64]\r | |
39 | Rand/RngDxe.c\r | |
40 | Rand/RdRand.c\r | |
41 | Rand/AesCore.c\r | |
42 | Rand/AesCore.h\r | |
43 | \r | |
44 | [Sources.AARCH64, Sources.ARM]\r | |
45 | ArmRngDxe.c\r | |
46 | ArmTrng.c\r | |
47 | \r | |
48 | [Sources.AARCH64]\r | |
49 | AArch64/AArch64Algo.c\r | |
50 | \r | |
51 | [Sources.ARM]\r | |
52 | Arm/ArmAlgo.c\r | |
53 | \r | |
54 | [Packages]\r | |
55 | MdeModulePkg/MdeModulePkg.dec\r | |
56 | MdePkg/MdePkg.dec\r | |
57 | SecurityPkg/SecurityPkg.dec\r | |
58 | \r | |
59 | [LibraryClasses]\r | |
60 | UefiLib\r | |
61 | UefiBootServicesTableLib\r | |
62 | BaseLib\r | |
63 | DebugLib\r | |
64 | UefiDriverEntryPoint\r | |
65 | TimerLib\r | |
66 | RngLib\r | |
67 | \r | |
68 | [LibraryClasses.AARCH64, LibraryClasses.ARM]\r | |
69 | ArmTrngLib\r | |
70 | \r | |
71 | [Guids]\r | |
72 | gEfiRngAlgorithmSp80090Hash256Guid ## SOMETIMES_PRODUCES ## GUID # Unique ID of the algorithm for RNG\r | |
73 | gEfiRngAlgorithmSp80090Hmac256Guid ## SOMETIMES_PRODUCES ## GUID # Unique ID of the algorithm for RNG\r | |
74 | gEfiRngAlgorithmSp80090Ctr256Guid ## SOMETIMES_PRODUCES ## GUID # Unique ID of the algorithm for RNG\r | |
75 | gEfiRngAlgorithmX9313DesGuid ## SOMETIMES_PRODUCES ## GUID # Unique ID of the algorithm for RNG\r | |
76 | gEfiRngAlgorithmX931AesGuid ## SOMETIMES_PRODUCES ## GUID # Unique ID of the algorithm for RNG\r | |
77 | gEfiRngAlgorithmRaw ## SOMETIMES_PRODUCES ## GUID # Unique ID of the algorithm for RNG\r | |
78 | \r | |
79 | [Protocols]\r | |
80 | gEfiRngProtocolGuid ## PRODUCES\r | |
81 | \r | |
82 | [Pcd]\r | |
83 | gEfiSecurityPkgTokenSpaceGuid.PcdCpuRngSupportedAlgorithm ## CONSUMES\r | |
84 | \r | |
85 | [Depex]\r | |
86 | TRUE\r | |
87 | \r | |
88 | [BuildOptions]\r | |
89 | XCODE:*_*_*_CC_FLAGS = -mmmx -msse\r | |
90 | \r | |
91 | [UserExtensions.TianoCore."ExtraFiles"]\r | |
92 | RngDxeExtra.uni\r |