VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/CryptoPkg/CryptoPkg.dec@ 103303

最後變更 在這個檔案從103303是 101291,由 vboxsync 提交於 17 月 前

EFI/FirmwareNew: Make edk2-stable202308 build on all supported platforms (using gcc at least, msvc not tested yet), bugref:4643

  • 屬性 svn:eol-style 設為 native
檔案大小: 3.6 KB
 
1## @file
2# Package for cryptography modules.
3#
4# This Package provides cryptographic-related libraries for UEFI security modules.
5# It also provides a test application to test libraries.
6#
7# Copyright (c) 2009 - 2020, Intel Corporation. All rights reserved.<BR>
8# SPDX-License-Identifier: BSD-2-Clause-Patent
9#
10##
11
12[Defines]
13 DEC_SPECIFICATION = 0x00010005
14 PACKAGE_NAME = CryptoPkg
15 PACKAGE_UNI_FILE = CryptoPkg.uni
16 PACKAGE_GUID = 36470E80-36F2-4ba0-8CC8-937C7D9FF888
17 PACKAGE_VERSION = 0.98
18
19[Includes]
20 Include
21
22[Includes.Common.Private]
23 Private
24 Library/Include
25 Library/OpensslLib/openssl/include
26 Library/OpensslLib/openssl/providers/common/include
27 Library/OpensslLib/openssl/providers/implementations/include
28 Library/OpensslLib/OpensslGen/include
29 Library/OpensslLib/OpensslGen/providers/common/include
30
31[LibraryClasses]
32 ## @libraryclass Provides basic library functions for cryptographic primitives.
33 ##
34 BaseCryptLib|Include/Library/BaseCryptLib.h
35
36 ## @libraryclass Provides TLS library functions for EFI TLS protocol.
37 ##
38 TlsLib|Include/Library/TlsLib.h
39
40 ## @libraryclass Provides Unified API for different hash implementations.
41 #
42 HashApiLib|Include/Library/HashApiLib.h
43
44[LibraryClasses.common.Private]
45 ## @libraryclass Provides library functions from the openssl project.
46 #
47 OpensslLib|Private/Library/OpensslLib.h
48
49 ## @libraryclass Provides compiler intrinsic functions required to link openssl project.
50 #
51 InstrinsicLib|Private/Library/IntrinsicLib.h
52
53[Protocols]
54 ## EDK II Crypto DXE protocol
55 # 2C2275C9-3A7B-426F-BE54-2D22BD9D1092
56 gEdkiiCryptoProtocolGuid = { 0x2C2275C9, 0x3A7B, 0x426F, { 0xBE, 0x54, 0x2D, 0x22, 0xBD, 0x9D, 0x10, 0x92 }}
57
58 ## EDK II Crypto SMM protocol
59 # F46B2EB2-E0D7-4C96-A3B1-CB7C572EB300
60 gEdkiiSmmCryptoProtocolGuid = { 0xF46B2EB2, 0xE0D7, 0x4C96, { 0xA3, 0xB1, 0xc, 0x61, 0xbb, 0x24, 0x5c, 0x42 }}
61
62[Ppis]
63 ## EDK II Crypto PPI
64 # 7DCE671B-C223-446A-A705-ED637AAF6771
65 gEdkiiCryptoPpiGuid = { 0x7DCE671B, 0xC223, 0x446A, { 0xA7, 0x05, 0xED, 0x63, 0x7A, 0xAF, 0x67, 0x71 }}
66
67[Guids]
68 ## Crypto package token space guid.
69 gEfiCryptoPkgTokenSpaceGuid = { 0x6bd7de60, 0x9ef7, 0x4899, { 0x97, 0xd0, 0xab, 0xff, 0xfd, 0xe9, 0x70, 0xf2 } }
70
71[PcdsFixedAtBuild]
72 ## Enable/Disable the families and individual services produced by the
73 # EDK II Crypto Protocols/PPIs. The default is all services disabled.
74 # This Structured PCD is associated with PCD_CRYPTO_SERVICE_FAMILY_ENABLE
75 # structure that is defined in Include/Pcd/PcdCryptoServiceFamilyEnable.h.
76 # @Prompt Enable/Disable EDK II Crypto Protocol/PPI services
77 gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable|{0x00}|PCD_CRYPTO_SERVICE_FAMILY_ENABLE|0x00000002 {
78 <Packages>
79 CryptoPkg/CryptoPkg.dec
80 <HeaderFiles>
81 Pcd/PcdCryptoServiceFamilyEnable.h
82 }
83
84 ## This PCD indicates the HASH algorithm to calculate hash of data
85 # Based on the value set, the required algorithm is chosen to calculate
86 # the hash of data.<BR>
87 # The default hashing algorithm for BaseHashApiLib is set to SHA256.<BR>
88 # 0x00000001 - HASH_ALG_SHA1.<BR>
89 # 0x00000002 - HASH_ALG_SHA256.<BR>
90 # 0x00000004 - HASH_ALG_SHA384.<BR>
91 # 0x00000008 - HASH_ALG_SHA512.<BR>
92 # 0x00000010 - HASH_ALG_SM3_256.<BR>
93 # @Prompt Set policy for hashing unsigned image for Secure Boot.
94 # @ValidList 0x80000001 | 0x00000001, 0x00000002, 0x00000004, 0x00000008, 0x00000010
95 gEfiCryptoPkgTokenSpaceGuid.PcdHashApiLibPolicy|0x00000002|UINT32|0x00000001
96
97[UserExtensions.TianoCore."ExtraFiles"]
98 CryptoPkgExtra.uni
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette