]> git.proxmox.com Git - mirror_edk2.git/blame - CryptoPkg/CryptoPkg.dsc
CryptoPkg/BaseHashApiLib: Implement Unified Hash Calculation API
[mirror_edk2.git] / CryptoPkg / CryptoPkg.dsc
CommitLineData
97f98500
HT
1## @file\r
2# Cryptographic Library Package for UEFI Security Implementation.\r
3#\r
3feea54e 4# Copyright (c) 2009 - 2020, Intel Corporation. All rights reserved.<BR>\r
2009f6b4 5# SPDX-License-Identifier: BSD-2-Clause-Patent\r
630f67dd 6#\r
97f98500
HT
7##\r
8\r
9################################################################################\r
10#\r
11# Defines Section - statements that will be processed to create a Makefile.\r
12#\r
13################################################################################\r
14[Defines]\r
15 PLATFORM_NAME = CryptoPkg\r
16 PLATFORM_GUID = E1063286-6C8C-4c25-AEF0-67A9A5B6E6B6\r
cd9349ac 17 PLATFORM_VERSION = 0.98\r
97f98500
HT
18 DSC_SPECIFICATION = 0x00010005\r
19 OUTPUT_DIRECTORY = Build/CryptoPkg\r
94d67262 20 SUPPORTED_ARCHITECTURES = IA32|X64|ARM|AARCH64\r
e7efd897 21 BUILD_TARGETS = DEBUG|RELEASE|NOOPT\r
97f98500
HT
22 SKUID_IDENTIFIER = DEFAULT\r
23\r
24################################################################################\r
25#\r
26# Library Class section - list of all Library Classes needed by this Platform.\r
27#\r
28################################################################################\r
29[LibraryClasses]\r
30 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
31 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
32 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
33 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
34 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
630f67dd 35 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
97f98500
HT
36 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
37 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
38 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
39 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
40 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
41 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
42 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
43 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
44\r
45 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r
46 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r
3feea54e 47 HashApiLib|CryptoPkg/Library/BaseHashApiLib/BaseHashApiLib.inf\r
97f98500 48\r
d1984abc 49[LibraryClasses.ARM, LibraryClasses.AARCH64]\r
8e01b449 50 #\r
51 # It is not possible to prevent the ARM compiler for generic intrinsic functions.\r
52 # This library provides the instrinsic functions generate by a given compiler.\r
d1984abc
RC
53 # [LibraryClasses.ARM, LibraryClasses.AARCH64] and NULL mean link this library\r
54 # into all ARM and AARCH64 images.\r
8e01b449 55 #\r
56 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf\r
57\r
2f7cd8de
RC
58 # Add support for stack protector\r
59 NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf\r
60\r
8fb0d2e3
AB
61[LibraryClasses.ARM]\r
62 ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf\r
63\r
97f98500
HT
64[LibraryClasses.common.PEIM]\r
65 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf\r
66\r
67[LibraryClasses.common.DXE_DRIVER]\r
68 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r
69\r
70[LibraryClasses.common.DXE_RUNTIME_DRIVER]\r
71 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf\r
72\r
b7d320f8 73[LibraryClasses.common.DXE_SMM_DRIVER]\r
74 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf\r
75\r
97f98500
HT
76[LibraryClasses.common.UEFI_DRIVER]\r
77 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r
78\r
79[LibraryClasses.common.UEFI_APPLICATION]\r
80 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r
81\r
82################################################################################\r
83#\r
84# Pcd Section - list of all EDK II PCD Entries defined by this Platform\r
85#\r
86################################################################################\r
87[PcdsFeatureFlag]\r
97f98500
HT
88 gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE\r
89 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE\r
90\r
91[PcdsFixedAtBuild]\r
97f98500
HT
92 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0f\r
93 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000000\r
94 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x06\r
97f98500
HT
95\r
96###################################################################################################\r
97#\r
98# Components Section - list of the modules and components that will be processed by compilation\r
99# tools and the EDK II tools to generate PE32/PE32+/Coff image files.\r
100#\r
101# Note: The EDK II DSC file is not used to specify how compiled binary images get placed\r
102# into firmware volume images. This section is just a list of modules to compile from\r
103# source into UEFI-compliant binaries.\r
104# It is the FDF file that contains information on combining binary files into firmware\r
105# volume images, whose concept is beyond UEFI and is described in PI specification.\r
106# Binary modules do not need to be listed in this section, as they should be\r
107# specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),\r
108# Logo (Logo.bmp), and etc.\r
109# There may also be modules listed in this section that are not required in the FDF file,\r
110# When a module listed here is excluded from FDF file, then UEFI-compliant binary will be\r
111# generated for it, but the binary will not be put into any firmware volume.\r
112#\r
113###################################################################################################\r
114[Components]\r
115 CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r
116 CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf\r
117 CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf\r
d95de082 118 CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf\r
412c9638 119 CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r
9396cdfe 120 CryptoPkg/Library/TlsLib/TlsLib.inf\r
79cd636f 121 CryptoPkg/Library/TlsLibNull/TlsLibNull.inf\r
a18f784c 122 CryptoPkg/Library/OpensslLib/OpensslLib.inf\r
a860eb96 123 CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf\r
3feea54e 124 CryptoPkg/Library/BaseHashApiLib/BaseHashApiLib.inf\r
97f98500 125\r
a8c44645 126[Components.IA32, Components.X64]\r
127 CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf\r
128\r
5c8075fc
HW
129[BuildOptions]\r
130 *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES\r