1## @file
2#  UEFI RNG (Random Number Generator) Protocol test application.
3#
4#  This application can print out the supported RNG algorithm in UEFI RNG Protocol.
5#  And then it will do a generation test on the supported RNG algorithm.
6#
7#  Copyright (c) 2013 - 2014, Intel Corporation. All rights reserved.<BR>
8#  This program and the accompanying materials
9#  are licensed and made available under the terms and conditions of the BSD License
10#  which accompanies this distribution. The full text of the license may be found at
11#  http://opensource.org/licenses/bsd-license.php
12#
13#  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
14#  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15#
16##
17
18[Defines]
19  INF_VERSION                    = 0x00010005
20  BASE_NAME                      = RngTest
21  FILE_GUID                      = B8AC7FB2-4211-4c2b-B62F-504421666C87
22  MODULE_TYPE                    = UEFI_APPLICATION
23  VERSION_STRING                 = 1.0
24  ENTRY_POINT                    = UefiMain
25  MODULE_UNI_FILE                = RngTest.uni
26
27#
28# The following information is for reference only and not required by the build tools.
29#
30#  VALID_ARCHITECTURES           = IA32 X64
31#
32
33[Sources]
34  RngTest.c
35
36[Packages]
37  MdePkg/MdePkg.dec
38  MdeModulePkg/MdeModulePkg.dec
39  SecurityPkg/SecurityPkg.dec
40
41[LibraryClasses]
42  UefiApplicationEntryPoint
43  UefiLib
44
45[Protocols]
46  gEfiRngProtocolGuid            ## CONSUMES
47
48[Guids]
49  gEfiRngAlgorithmSp80090Hash256Guid    ## SOMETIMES_CONSUMES    ## GUID        # Unique ID of the algorithm for RNG
50  gEfiRngAlgorithmSp80090Hmac256Guid    ## SOMETIMES_CONSUMES    ## GUID        # Unique ID of the algorithm for RNG
51  gEfiRngAlgorithmSp80090Ctr256Guid     ## SOMETIMES_CONSUMES    ## GUID        # Unique ID of the algorithm for RNG
52  gEfiRngAlgorithmX9313DesGuid          ## SOMETIMES_CONSUMES    ## GUID        # Unique ID of the algorithm for RNG
53  gEfiRngAlgorithmX931AesGuid           ## SOMETIMES_CONSUMES    ## GUID        # Unique ID of the algorithm for RNG
54  gEfiRngAlgorithmRaw                   ## SOMETIMES_CONSUMES    ## GUID        # Unique ID of the algorithm for RNG
55
56  [UserExtensions.TianoCore."ExtraFiles"]
57  RngTestExtra.uni