SecurityPkg.dsc 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410
  1. ## @file
  2. # Security Module Package for All Architectures.
  3. #
  4. # Copyright (c) 2009 - 2021, Intel Corporation. All rights reserved.<BR>
  5. # (C) Copyright 2015-2020 Hewlett Packard Enterprise Development LP<BR>
  6. # Copyright (c) 2022, Loongson Technology Corporation Limited. All rights reserved.<BR>
  7. # Copyright (c) 2021 - 2022, Arm Limited. All rights reserved.<BR>
  8. # SPDX-License-Identifier: BSD-2-Clause-Patent
  9. #
  10. ##
  11. [Defines]
  12. PLATFORM_NAME = SecurityPkg
  13. PLATFORM_GUID = B2C4614D-AE76-47ba-B876-5988BFED064F
  14. PLATFORM_VERSION = 0.98
  15. DSC_SPECIFICATION = 0x00010005
  16. OUTPUT_DIRECTORY = Build/SecurityPkg
  17. SUPPORTED_ARCHITECTURES = IA32|X64|EBC|ARM|AARCH64|RISCV64|LOONGARCH64
  18. BUILD_TARGETS = DEBUG|RELEASE|NOOPT
  19. SKUID_IDENTIFIER = DEFAULT
  20. !include MdePkg/MdeLibs.dsc.inc
  21. [LibraryClasses]
  22. DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
  23. DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
  24. BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
  25. SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
  26. TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
  27. BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
  28. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  29. PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
  30. UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
  31. PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
  32. PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
  33. PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
  34. DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
  35. UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
  36. UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
  37. DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
  38. UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
  39. DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
  40. UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
  41. UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
  42. ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
  43. OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
  44. HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
  45. UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
  46. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  47. IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
  48. TpmCommLib|SecurityPkg/Library/TpmCommLib/TpmCommLib.inf
  49. PlatformSecureLib|SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf
  50. TcgPhysicalPresenceLib|SecurityPkg/Library/DxeTcgPhysicalPresenceLib/DxeTcgPhysicalPresenceLib.inf
  51. TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
  52. Tpm12CommandLib|SecurityPkg/Library/Tpm12CommandLib/Tpm12CommandLib.inf
  53. Tpm2CommandLib|SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf
  54. Tcg2PhysicalPresenceLib|SecurityPkg/Library/DxeTcg2PhysicalPresenceLib/DxeTcg2PhysicalPresenceLib.inf
  55. TcgPpVendorLib|SecurityPkg/Library/TcgPpVendorLibNull/TcgPpVendorLibNull.inf
  56. Tcg2PpVendorLib|SecurityPkg/Library/Tcg2PpVendorLibNull/Tcg2PpVendorLibNull.inf
  57. RngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf
  58. PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
  59. PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
  60. S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
  61. SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
  62. LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf
  63. PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
  64. TcgStorageCoreLib|SecurityPkg/Library/TcgStorageCoreLib/TcgStorageCoreLib.inf
  65. TcgStorageOpalLib|SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalLib.inf
  66. ResetSystemLib|MdeModulePkg/Library/BaseResetSystemLibNull/BaseResetSystemLibNull.inf
  67. TcgEventLogRecordLib|SecurityPkg/Library/TcgEventLogRecordLib/TcgEventLogRecordLib.inf
  68. MmUnblockMemoryLib|MdePkg/Library/MmUnblockMemoryLib/MmUnblockMemoryLibNull.inf
  69. SecureBootVariableLib|SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.inf
  70. PlatformPKProtectionLib|SecurityPkg/Library/PlatformPKProtectionLibVarPolicy/PlatformPKProtectionLibVarPolicy.inf
  71. SecureBootVariableProvisionLib|SecurityPkg/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.inf
  72. TdxLib|MdePkg/Library/TdxLib/TdxLib.inf
  73. [LibraryClasses.ARM, LibraryClasses.AARCH64]
  74. #
  75. # It is not possible to prevent the ARM compiler for generic intrinsic functions.
  76. # This library provides the intrinsic functions generate by a given compiler.
  77. # And NULL mean link this library into all ARM images.
  78. #
  79. NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
  80. # Add support for GCC stack protector
  81. NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
  82. ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf
  83. ArmTrngLib|MdePkg/Library/BaseArmTrngLibNull/BaseArmTrngLibNull.inf
  84. [LibraryClasses.ARM]
  85. RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
  86. [LibraryClasses.RISCV64]
  87. RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
  88. [LibraryClasses.X64.SEC]
  89. HashLib|SecurityPkg/Library/HashLibTdx/HashLibTdx.inf
  90. TpmMeasurementLib|SecurityPkg/Library/SecTpmMeasurementLib/SecTpmMeasurementLibTdx.inf
  91. [LibraryClasses.X64.DXE_DRIVER]
  92. HashLib|SecurityPkg/Library/HashLibTdx/HashLibTdx.inf
  93. [LibraryClasses.common.PEIM]
  94. PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
  95. PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
  96. PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
  97. HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
  98. MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
  99. !ifdef CONTINUOUS_INTEGRATION
  100. BaseCryptLib|CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf
  101. !else
  102. IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
  103. OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
  104. BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
  105. !endif
  106. HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf
  107. ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
  108. Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf
  109. Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf
  110. Tcg2PhysicalPresenceLib|SecurityPkg/Library/PeiTcg2PhysicalPresenceLib/PeiTcg2PhysicalPresenceLib.inf
  111. TpmMeasurementLib|SecurityPkg/Library/PeiTpmMeasurementLib/PeiTpmMeasurementLib.inf
  112. RngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf
  113. [LibraryClasses.common.DXE_DRIVER]
  114. HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
  115. ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
  116. !ifdef CONTINUOUS_INTEGRATION
  117. BaseCryptLib|CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf
  118. !else
  119. IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
  120. OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
  121. BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
  122. !endif
  123. HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
  124. Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf
  125. Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
  126. FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
  127. [LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.DXE_RUNTIME_DRIVER, LibraryClasses.common.DXE_SAL_DRIVER,]
  128. HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
  129. DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
  130. HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
  131. Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf
  132. Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
  133. [LibraryClasses.common.DXE_RUNTIME_DRIVER]
  134. ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
  135. !ifdef CONTINUOUS_INTEGRATION
  136. BaseCryptLib|CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf
  137. !else
  138. IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
  139. OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
  140. BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
  141. !endif
  142. HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
  143. Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf
  144. Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
  145. [LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.UEFI_APPLICATION]
  146. !ifdef CONTINUOUS_INTEGRATION
  147. BaseCryptLib|CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf
  148. !else
  149. IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
  150. OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
  151. BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
  152. !endif
  153. HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
  154. HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
  155. Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf
  156. Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
  157. [LibraryClasses.common.DXE_SMM_DRIVER]
  158. HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
  159. SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
  160. MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
  161. MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
  162. ReportStatusCodeLib|MdeModulePkg/Library/SmmReportStatusCodeLib/SmmReportStatusCodeLib.inf
  163. SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
  164. !ifdef CONTINUOUS_INTEGRATION
  165. BaseCryptLib|CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf
  166. !else
  167. IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
  168. OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
  169. BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
  170. !endif
  171. Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf
  172. Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
  173. Tcg2PhysicalPresenceLib|SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresenceLib.inf
  174. SmmIoLib|MdePkg/Library/SmmIoLib/SmmIoLib.inf
  175. [LibraryClasses.common.MM_STANDALONE]
  176. StandaloneMmDriverEntryPoint|MdePkg/Library/StandaloneMmDriverEntryPoint/StandaloneMmDriverEntryPoint.inf
  177. MmServicesTableLib|MdePkg/Library/StandaloneMmServicesTableLib/StandaloneMmServicesTableLib.inf
  178. Tcg2PhysicalPresenceLib|SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/StandaloneMmTcg2PhysicalPresenceLib.inf
  179. MemLib|StandaloneMmPkg/Library/StandaloneMmMemLib/StandaloneMmMemLib.inf
  180. HobLib|StandaloneMmPkg/Library/StandaloneMmHobLib/StandaloneMmHobLib.inf
  181. MemoryAllocationLib|StandaloneMmPkg/Library/StandaloneMmMemoryAllocationLib/StandaloneMmMemoryAllocationLib.inf
  182. [PcdsDynamicDefault.common.DEFAULT]
  183. gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid|{0xb6, 0xe5, 0x01, 0x8b, 0x19, 0x4f, 0xe8, 0x46, 0xab, 0x93, 0x1c, 0x53, 0x67, 0x1b, 0x90, 0xcc}
  184. gEfiSecurityPkgTokenSpaceGuid.PcdTpm2InitializationPolicy|1
  185. gEfiSecurityPkgTokenSpaceGuid.PcdTpm2SelfTestPolicy|1
  186. gEfiSecurityPkgTokenSpaceGuid.PcdTpm2ScrtmPolicy|1
  187. gEfiSecurityPkgTokenSpaceGuid.PcdTpmInitializationPolicy|1
  188. gEfiSecurityPkgTokenSpaceGuid.PcdTpmScrtmPolicy|1
  189. gEfiSecurityPkgTokenSpaceGuid.PcdTpm2HashMask|3
  190. gEfiSecurityPkgTokenSpaceGuid.PcdTcg2HashAlgorithmBitmap|3
  191. [PcdsDynamicHii.common.DEFAULT]
  192. gEfiSecurityPkgTokenSpaceGuid.PcdTcgPhysicalPresenceInterfaceVer|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x0|"1.3"|NV,BS
  193. gEfiSecurityPkgTokenSpaceGuid.PcdTpm2AcpiTableRev|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x8|3|NV,BS
  194. [Components]
  195. SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
  196. SecurityPkg/Library/DxeImageAuthenticationStatusLib/DxeImageAuthenticationStatusLib.inf
  197. #
  198. # TPM
  199. #
  200. SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.inf
  201. SecurityPkg/Library/TpmCommLib/TpmCommLib.inf
  202. SecurityPkg/Library/DxeTcgPhysicalPresenceLib/DxeTcgPhysicalPresenceLib.inf
  203. SecurityPkg/Library/Tpm12CommandLib/Tpm12CommandLib.inf
  204. SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf
  205. SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf
  206. SecurityPkg/Tcg/PhysicalPresencePei/PhysicalPresencePei.inf
  207. SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.inf
  208. #
  209. # TPM2
  210. #
  211. SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf
  212. SecurityPkg/Library/DxeTcg2PhysicalPresenceLib/DxeTcg2PhysicalPresenceLib.inf
  213. SecurityPkg/Library/PeiTcg2PhysicalPresenceLib/PeiTcg2PhysicalPresenceLib.inf
  214. SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
  215. SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf
  216. SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf
  217. SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
  218. SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf
  219. SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf
  220. SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpmStandaloneMm.inf
  221. SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterDxe.inf
  222. SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterPei.inf
  223. SecurityPkg/Library/HashLibTpm2/HashLibTpm2.inf
  224. SecurityPkg/Library/PeiDxeTpmPlatformHierarchyLib/PeiDxeTpmPlatformHierarchyLib.inf
  225. SecurityPkg/Library/PeiDxeTpmPlatformHierarchyLibNull/PeiDxeTpmPlatformHierarchyLib.inf
  226. #
  227. # TCG Storage.
  228. #
  229. SecurityPkg/Library/TcgStorageCoreLib/TcgStorageCoreLib.inf
  230. SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalLib.inf
  231. #
  232. # Variable Confidentiality & Integrity
  233. #
  234. SecurityPkg/Library/PlatformPKProtectionLibVarPolicy/PlatformPKProtectionLibVarPolicy.inf
  235. #
  236. # Other
  237. #
  238. SecurityPkg/Library/DxeRsa2048Sha256GuidedSectionExtractLib/DxeRsa2048Sha256GuidedSectionExtractLib.inf
  239. SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/PeiRsa2048Sha256GuidedSectionExtractLib.inf
  240. SecurityPkg/Library/FmpAuthenticationLibPkcs7/FmpAuthenticationLibPkcs7.inf
  241. SecurityPkg/Library/FmpAuthenticationLibRsa2048Sha256/FmpAuthenticationLibRsa2048Sha256.inf
  242. SecurityPkg/Library/PeiTpmMeasurementLib/PeiTpmMeasurementLib.inf
  243. SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
  244. SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf
  245. SecurityPkg/Library/Tcg2PpVendorLibNull/Tcg2PpVendorLibNull.inf
  246. SecurityPkg/Library/TcgPpVendorLibNull/TcgPpVendorLibNull.inf
  247. SecurityPkg/Library/TcgEventLogRecordLib/TcgEventLogRecordLib.inf
  248. [Components.IA32, Components.X64, Components.ARM, Components.AARCH64]
  249. SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
  250. SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.inf
  251. SecurityPkg/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.inf
  252. SecurityPkg/EnrollFromDefaultKeysApp/EnrollFromDefaultKeysApp.inf
  253. SecurityPkg/VariableAuthenticated/SecureBootDefaultKeysDxe/SecureBootDefaultKeysDxe.inf
  254. [Components.IA32, Components.X64, Components.AARCH64, Components.ARM]
  255. #
  256. # Random Number Generator
  257. #
  258. SecurityPkg/RandomNumberGenerator/RngDxe/RngDxe.inf
  259. [Components.X64]
  260. SecurityPkg/Library/HashLibTdx/HashLibTdx.inf
  261. SecurityPkg/Library/SecTpmMeasurementLib/SecTpmMeasurementLibTdx.inf
  262. SecurityPkg/Tcg/TdTcg2Dxe/TdTcg2Dxe.inf {
  263. <LibraryClasses>
  264. HashLib|SecurityPkg/Library/HashLibTdx/HashLibTdx.inf
  265. NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf
  266. }
  267. [Components.IA32, Components.X64]
  268. SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
  269. #
  270. # TPM
  271. #
  272. SecurityPkg/Tcg/TcgPei/TcgPei.inf
  273. SecurityPkg/Tcg/TcgDxe/TcgDxe.inf
  274. SecurityPkg/Tcg/TcgConfigDxe/TcgConfigDxe.inf {
  275. <LibraryClasses>
  276. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  277. }
  278. #
  279. # TPM2
  280. #
  281. SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
  282. SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
  283. SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf
  284. SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf
  285. SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf
  286. SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf {
  287. <LibraryClasses>
  288. Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf
  289. Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf
  290. }
  291. SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf {
  292. <LibraryClasses>
  293. Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterPei.inf
  294. NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf
  295. NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
  296. NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
  297. NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf
  298. NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf
  299. NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf
  300. }
  301. SecurityPkg/Tcg/Tcg2PlatformPei/Tcg2PlatformPei.inf {
  302. <LibraryClasses>
  303. TpmPlatformHierarchyLib|SecurityPkg/Library/PeiDxeTpmPlatformHierarchyLib/PeiDxeTpmPlatformHierarchyLib.inf
  304. }
  305. SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf {
  306. <LibraryClasses>
  307. Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterDxe.inf
  308. NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf
  309. NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
  310. NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
  311. NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf
  312. NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf
  313. NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf
  314. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  315. }
  316. SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf {
  317. <LibraryClasses>
  318. Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
  319. }
  320. SecurityPkg/Tcg/Tcg2PlatformDxe/Tcg2PlatformDxe.inf {
  321. <LibraryClasses>
  322. TpmPlatformHierarchyLib|SecurityPkg/Library/PeiDxeTpmPlatformHierarchyLib/PeiDxeTpmPlatformHierarchyLib.inf
  323. }
  324. #
  325. # Hash2
  326. #
  327. SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.inf
  328. #
  329. # PKCS7 Verification
  330. #
  331. SecurityPkg/Pkcs7Verify/Pkcs7VerifyDxe/Pkcs7VerifyDxe.inf
  332. [Components.IA32, Components.X64]
  333. SecurityPkg/Tcg/MemoryOverwriteRequestControlLock/TcgMorLockSmm.inf
  334. SecurityPkg/Tcg/TcgSmm/TcgSmm.inf
  335. SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.inf
  336. SecurityPkg/Tcg/Tcg2Smm/Tcg2StandaloneMm.inf
  337. SecurityPkg/Tcg/Tcg2Smm/Tcg2MmDependencyDxe.inf
  338. SecurityPkg/Tcg/Tcg2Acpi/Tcg2Acpi.inf
  339. SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresenceLib.inf
  340. SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/StandaloneMmTcg2PhysicalPresenceLib.inf
  341. #
  342. # Opal Password solution
  343. #
  344. SecurityPkg/Tcg/Opal/OpalPassword/OpalPasswordDxe.inf
  345. SecurityPkg/Tcg/Opal/OpalPassword/OpalPasswordPei.inf
  346. #
  347. # HDD Password solution
  348. #
  349. SecurityPkg/HddPassword/HddPasswordDxe.inf
  350. SecurityPkg/HddPassword/HddPasswordPei.inf
  351. #
  352. # Common FV checker/verifier/reporter
  353. #
  354. SecurityPkg/FvReportPei/FvReportPei.inf
  355. [BuildOptions]
  356. MSFT:*_*_IA32_DLINK_FLAGS = /ALIGN:256
  357. INTEL:*_*_IA32_DLINK_FLAGS = /ALIGN:256
  358. *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES