]> git.proxmox.com Git - mirror_edk2.git/blob - SecurityPkg/RandomNumberGenerator/RngDxe/RngDxe.inf
SecurityPkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / SecurityPkg / RandomNumberGenerator / RngDxe / RngDxe.inf
1 ## @file
2 # Produces the UEFI Random Number Generator protocol
3 #
4 # This module will leverage Intel Secure Key technology to produce the Random
5 # Number Generator protocol, which is used to provide high-quality random numbers
6 # for use in applications, or entropy for seeding other random number generators.
7 # Refer to http://software.intel.com/en-us/articles/intel-digital-random-number
8 # -generator-drng-software-implementation-guide/ for more information about Intel
9 # Secure Key technology.
10 #
11 # Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.<BR>
12 # (C) Copyright 2015 Hewlett Packard Enterprise Development LP<BR>
13 # SPDX-License-Identifier: BSD-2-Clause-Patent
14 #
15 ##
16
17 [Defines]
18 INF_VERSION = 0x00010005
19 BASE_NAME = RngDxe
20 FILE_GUID = B981A835-6EE8-4f4c-AE0B-210AA0BFBF01
21 MODULE_TYPE = DXE_DRIVER
22 VERSION_STRING = 1.0
23 ENTRY_POINT = RngDriverEntry
24 MODULE_UNI_FILE = RngDxe.uni
25
26 #
27 # The following information is for reference only and not required by the build tools.
28 #
29 # VALID_ARCHITECTURES = IA32 X64
30 #
31
32 [Sources.common]
33 RngDxe.c
34 RdRand.c
35 RdRand.h
36 AesCore.c
37 AesCore.h
38
39 [Packages]
40 MdePkg/MdePkg.dec
41 SecurityPkg/SecurityPkg.dec
42
43 [LibraryClasses]
44 UefiLib
45 UefiBootServicesTableLib
46 BaseLib
47 DebugLib
48 UefiDriverEntryPoint
49 TimerLib
50 RngLib
51
52 [Guids]
53 gEfiRngAlgorithmSp80090Ctr256Guid ## SOMETIMES_PRODUCES ## GUID # Unique ID of the algorithm for RNG
54 gEfiRngAlgorithmRaw ## SOMETIMES_PRODUCES ## GUID # Unique ID of the algorithm for RNG
55
56 [Protocols]
57 gEfiRngProtocolGuid ## PRODUCES
58
59 [Depex]
60 TRUE
61
62 [BuildOptions]
63 XCODE:*_*_*_CC_FLAGS = -mmmx -msse
64
65 [UserExtensions.TianoCore."ExtraFiles"]
66 RngDxeExtra.uni