• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1## @file
2#  This library doesn't produce any library class. The constructor function uses
3#  ExtractGuidedSectionLib service to register an RSA 2048 SHA 256 guided section handler
4#  that parses RSA 2048 SHA 256 encapsulation section and extracts raw data.
5#
6#  It uses the BaseCrypyLib based on OpenSSL to authenticate the signature.
7#
8# Copyright (c) 2013 - 2015, Intel Corporation. All rights reserved.<BR>
9#
10#  This program and the accompanying materials
11#  are licensed and made available under the terms and conditions of the BSD License
12#  which accompanies this distribution. The full text of the license may be found at
13#  http://opensource.org/licenses/bsd-license.php
14#  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
15#  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
16#
17##
18
19[Defines]
20  INF_VERSION                    = 0x00010005
21  BASE_NAME                      = DxeRsa2048Sha256GuidedSectionExtractLib
22  FILE_GUID                      = 0AD6C423-4732-4cf3-9CE3-0A5416D634A5
23  MODULE_TYPE                    = DXE_DRIVER
24  VERSION_STRING                 = 1.0
25  LIBRARY_CLASS                  = NULL|DXE_CORE DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER
26  CONSTRUCTOR                    = DxeRsa2048Sha256GuidedSectionExtractLibConstructor
27  MODULE_UNI_FILE                = DxeRsa2048Sha256GuidedSectionExtractLib.uni
28
29#
30# The following information is for reference only and not required by the build tools.
31#
32#  VALID_ARCHITECTURES           = IA32 X64 IPF
33#
34
35[Sources]
36  DxeRsa2048Sha256GuidedSectionExtractLib.c
37
38[Packages]
39  MdePkg/MdePkg.dec
40  CryptoPkg/CryptoPkg.dec
41  SecurityPkg/SecurityPkg.dec
42
43[LibraryClasses]
44  ExtractGuidedSectionLib
45  UefiBootServicesTableLib
46  DebugLib
47  BaseMemoryLib
48  MemoryAllocationLib
49  BaseCryptLib
50  PcdLib
51  PerformanceLib
52
53[Pcd]
54  gEfiSecurityPkgTokenSpaceGuid.PcdRsa2048Sha256PublicKeyBuffer    ## SOMETIMES_CONSUMES
55
56[Protocols]
57  gEfiSecurityPolicyProtocolGuid                   ## SOMETIMES_CONSUMES (Set platform override AUTH status if exist)
58
59[Guids]
60  gEfiCertTypeRsa2048Sha256Guid  ## PRODUCES       ## UNDEFINED  # Specifies RSA 2048 SHA 256 authentication algorithm.
61  gEfiHashAlgorithmSha256Guid    ## SOMETIMES_CONSUMES ## UNDEFINED
62