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 = PeiRsa2048Sha256GuidedSectionExtractLib 22 FILE_GUID = FD5F2C91-4878-4007-BBA1-1B91DD325438 23 MODULE_TYPE = PEIM 24 VERSION_STRING = 1.0 25 LIBRARY_CLASS = NULL|PEI_CORE PEIM 26 CONSTRUCTOR = PeiRsa2048Sha256GuidedSectionExtractLibConstructor 27 MODULE_UNI_FILE = PeiRsa2048Sha256GuidedSectionExtractLib.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 PeiRsa2048Sha256GuidedSectionExtractLib.c 37 38[Packages] 39 MdePkg/MdePkg.dec 40 CryptoPkg/CryptoPkg.dec 41 SecurityPkg/SecurityPkg.dec 42 43[LibraryClasses] 44 ExtractGuidedSectionLib 45 DebugLib 46 BaseMemoryLib 47 MemoryAllocationLib 48 BaseCryptLib 49 PcdLib 50 PerformanceLib 51 52[Pcd] 53 gEfiSecurityPkgTokenSpaceGuid.PcdRsa2048Sha256PublicKeyBuffer ## SOMETIMES_CONSUMES 54 55[Guids] 56 gEfiCertTypeRsa2048Sha256Guid ## PRODUCES ## UNDEFINED # Specifies RSA 2048 SHA 256 authentication algorithm. 57 gEfiHashAlgorithmSha256Guid ## SOMETIMES_CONSUMES ## UNDEFINED 58