Home | History | Annotate | Download | only in Hash2DxeCrypto
      1 ## @file

      2 #  Produces the UEFI HASH2 protocol

      3 #

      4 #  This module will use EDKII crypto libary to HASH2 protocol.

      5 #

      6 #  (C) Copyright 2015 Hewlett-Packard Development Company, L.P.<BR>

      7 #  Copyright (c) 2015, 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                      = Hash2DxeCrypto
     21   FILE_GUID                      = 63E3BDCF-2AC7-4ac0-9B92-03A7541422FF
     22   MODULE_TYPE                    = UEFI_DRIVER
     23   VERSION_STRING                 = 1.0
     24   ENTRY_POINT                    = Hash2DriverEntryPoint
     25   MODULE_UNI_FILE                = Hash2DxeCrypto.uni
     26 
     27 #

     28 # The following information is for reference only and not required by the build tools.

     29 #

     30 #  VALID_ARCHITECTURES           = IA32 X64 IPF

     31 #

     32 
     33 [Sources.common]
     34   Hash2DxeCrypto.c
     35   Driver.h
     36   Driver.c
     37 
     38 [Packages]
     39   MdePkg/MdePkg.dec
     40   CryptoPkg/CryptoPkg.dec
     41 
     42 [LibraryClasses]
     43   UefiBootServicesTableLib
     44   BaseLib
     45   BaseMemoryLib
     46   BaseCryptLib
     47   MemoryAllocationLib
     48   UefiDriverEntryPoint
     49   DebugLib
     50   UefiLib
     51 
     52 [Guids]
     53   gEfiHashAlgorithmMD5Guid              ## CONSUMES               ## GUID

     54   gEfiHashAlgorithmSha1Guid             ## CONSUMES               ## GUID

     55   gEfiHashAlgorithmSha256Guid           ## CONSUMES               ## GUID

     56   gEfiHashAlgorithmSha384Guid           ## CONSUMES               ## GUID

     57   gEfiHashAlgorithmSha512Guid           ## CONSUMES               ## GUID

     58 
     59 [Protocols]
     60   gEfiHash2ProtocolGuid                 ## PRODUCES

     61   gEfiHash2ServiceBindingProtocolGuid   ## PRODUCES

     62 
     63 [UserExtensions.TianoCore."ExtraFiles"]
     64   Hash2DxeCryptoExtra.uni