SecurityPkg.dsc 20 KB

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