]> git.proxmox.com Git - mirror_edk2.git/blob - SecurityPkg/RandomNumberGenerator/RngDxe/RngDxe.inf
d57c2d8c6f3480f89211b625c4f7d257cf64e791
[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 - 2014, Intel Corporation. All rights reserved.<BR>
12 # This program and the accompanying materials
13 # are licensed and made available under the terms and conditions of the BSD License
14 # which accompanies this distribution. The full text of the license may be found at
15 # http://opensource.org/licenses/bsd-license.php
16 #
17 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
18 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
19 #
20 ##
21
22 [Defines]
23 INF_VERSION = 0x00010005
24 BASE_NAME = RngDxe
25 FILE_GUID = B981A835-6EE8-4f4c-AE0B-210AA0BFBF01
26 MODULE_TYPE = DXE_DRIVER
27 VERSION_STRING = 1.0
28 ENTRY_POINT = RngDriverEntry
29 MODULE_UNI_FILE = RngDxe.uni
30
31 #
32 # The following information is for reference only and not required by the build tools.
33 #
34 # VALID_ARCHITECTURES = IA32 X64
35 #
36
37 [Sources.common]
38 RngDxe.c
39 RdRand.c
40 RdRand.h
41 AesCore.c
42 AesCore.h
43
44 [Sources.IA32]
45 IA32/RdRandWord.c
46 IA32/AsmRdRand.asm
47 IA32/GccRdRand.c | GCC
48
49 [Sources.X64]
50 X64/RdRandWord.c
51 X64/AsmRdRand.asm
52 X64/GccRdRand.c | GCC
53
54 [Packages]
55 MdePkg/MdePkg.dec
56 SecurityPkg/SecurityPkg.dec
57
58 [LibraryClasses]
59 UefiLib
60 UefiBootServicesTableLib
61 BaseLib
62 DebugLib
63 UefiDriverEntryPoint
64 TimerLib
65
66 [Guids]
67 gEfiRngAlgorithmSp80090Ctr256Guid ## SOMETIMES_PRODUCES ## GUID # Unique ID of the algorithm for RNG
68 gEfiRngAlgorithmRaw ## SOMETIMES_PRODUCES ## GUID # Unique ID of the algorithm for RNG
69
70 [Protocols]
71 gEfiRngProtocolGuid ## PRODUCES
72
73 [Depex]
74 TRUE
75
76 [BuildOptions]
77 XCODE:*_*_*_CC_FLAGS = -mmmx -msse
78
79 [UserExtensions.TianoCore."ExtraFiles"]
80 RngDxeExtra.uni