## @file\r
-# Module that produces the UEFI Random Number Generator protocol.\r
+# Produces the UEFI Random Number Generator protocol\r
#\r
# This module will leverage Intel Secure Key technology to produce the Random\r
# Number Generator protocol, which is used to provide high-quality random numbers\r
# -generator-drng-software-implementation-guide/ for more information about Intel\r
# Secure Key technology.\r
#\r
-# Copyright (c) 2013, Intel Corporation. All rights reserved.<BR>\r
-# This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution. The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+# Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.<BR>\r
+# (C) Copyright 2015 Hewlett Packard Enterprise Development LP<BR>\r
+# SPDX-License-Identifier: BSD-2-Clause-Patent\r
#\r
##\r
\r
MODULE_TYPE = DXE_DRIVER\r
VERSION_STRING = 1.0\r
ENTRY_POINT = RngDriverEntry\r
+ MODULE_UNI_FILE = RngDxe.uni\r
\r
#\r
# The following information is for reference only and not required by the build tools.\r
[Sources.common]\r
RngDxe.c\r
RdRand.c\r
+ RdRand.h\r
AesCore.c\r
-\r
-[Sources.IA32]\r
- IA32/RdRandWord.c\r
- IA32/AsmRdRand.asm | MSFT\r
- IA32/GccRdRand.c | GCC\r
-\r
-[Sources.X64]\r
- X64/RdRandWord.c\r
- X64/AsmRdRand.asm | MSFT\r
- X64/GccRdRand.c | GCC\r
+ AesCore.h\r
\r
[Packages]\r
MdePkg/MdePkg.dec\r
UefiLib\r
UefiBootServicesTableLib\r
BaseLib\r
- DebugLib \r
+ DebugLib\r
UefiDriverEntryPoint\r
TimerLib\r
+ RngLib\r
\r
[Guids]\r
- gEfiRngAlgorithmSp80090Hash256Guid\r
- gEfiRngAlgorithmSp80090Hmac256Guid\r
- gEfiRngAlgorithmSp80090Ctr256Guid\r
- gEfiRngAlgorithmX9313DesGuid\r
- gEfiRngAlgorithmX931AesGuid\r
- gEfiRngAlgorithmRaw\r
+ gEfiRngAlgorithmSp80090Ctr256Guid ## SOMETIMES_PRODUCES ## GUID # Unique ID of the algorithm for RNG\r
+ gEfiRngAlgorithmRaw ## SOMETIMES_PRODUCES ## GUID # Unique ID of the algorithm for RNG\r
\r
[Protocols]\r
- gEfiRngProtocolGuid ## PRODUCES\r
+ gEfiRngProtocolGuid ## PRODUCES\r
\r
[Depex]\r
TRUE\r
+\r
+[BuildOptions]\r
+ XCODE:*_*_*_CC_FLAGS = -mmmx -msse\r
+\r
+[UserExtensions.TianoCore."ExtraFiles"]\r
+ RngDxeExtra.uni\r