]>
Commit | Line | Data |
---|---|---|
3aa8dc6c | 1 | ## @file\r |
60c944c7 | 2 | # Produces the UEFI Random Number Generator protocol\r |
3aa8dc6c LQ |
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 | |
60c944c7 | 11 | # Copyright (c) 2013 - 2014, Intel Corporation. All rights reserved.<BR>\r |
3b60842c | 12 | # (C) Copyright 2015 Hewlett Packard Enterprise Development LP<BR>\r |
3aa8dc6c LQ |
13 | # This program and the accompanying materials\r |
14 | # are licensed and made available under the terms and conditions of the BSD License\r | |
15 | # which accompanies this distribution. The full text of the license may be found at\r | |
16 | # http://opensource.org/licenses/bsd-license.php\r | |
17 | #\r | |
18 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
19 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
20 | #\r | |
21 | ##\r | |
22 | \r | |
23 | [Defines]\r | |
24 | INF_VERSION = 0x00010005\r | |
25 | BASE_NAME = RngDxe\r | |
26 | FILE_GUID = B981A835-6EE8-4f4c-AE0B-210AA0BFBF01\r | |
27 | MODULE_TYPE = DXE_DRIVER\r | |
28 | VERSION_STRING = 1.0\r | |
29 | ENTRY_POINT = RngDriverEntry\r | |
60c944c7 | 30 | MODULE_UNI_FILE = RngDxe.uni\r |
3aa8dc6c LQ |
31 | \r |
32 | #\r | |
33 | # The following information is for reference only and not required by the build tools.\r | |
34 | #\r | |
35 | # VALID_ARCHITECTURES = IA32 X64\r | |
36 | #\r | |
37 | \r | |
38 | [Sources.common]\r | |
39 | RngDxe.c\r | |
40 | RdRand.c\r | |
b6023fb1 | 41 | RdRand.h\r |
3aa8dc6c | 42 | AesCore.c\r |
b6023fb1 | 43 | AesCore.h\r |
3aa8dc6c | 44 | \r |
3aa8dc6c LQ |
45 | [Packages]\r |
46 | MdePkg/MdePkg.dec\r | |
47 | SecurityPkg/SecurityPkg.dec\r | |
48 | \r | |
49 | [LibraryClasses]\r | |
50 | UefiLib\r | |
51 | UefiBootServicesTableLib\r | |
52 | BaseLib\r | |
53 | DebugLib \r | |
54 | UefiDriverEntryPoint\r | |
55 | TimerLib\r | |
3b60842c | 56 | RngLib\r |
3aa8dc6c LQ |
57 | \r |
58 | [Guids]\r | |
60c944c7 DG |
59 | gEfiRngAlgorithmSp80090Ctr256Guid ## SOMETIMES_PRODUCES ## GUID # Unique ID of the algorithm for RNG\r |
60 | gEfiRngAlgorithmRaw ## SOMETIMES_PRODUCES ## GUID # Unique ID of the algorithm for RNG\r | |
3aa8dc6c LQ |
61 | \r |
62 | [Protocols]\r | |
60c944c7 | 63 | gEfiRngProtocolGuid ## PRODUCES\r |
3aa8dc6c LQ |
64 | \r |
65 | [Depex]\r | |
66 | TRUE\r | |
9a70350f AF |
67 | \r |
68 | [BuildOptions]\r | |
69 | XCODE:*_*_*_CC_FLAGS = -mmmx -msse\r | |
60c944c7 DG |
70 | \r |
71 | [UserExtensions.TianoCore."ExtraFiles"]\r | |
3b60842c | 72 | RngDxeExtra.uni\r |