SecurityPkg.dsc 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406
  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. # SPDX-License-Identifier: BSD-2-Clause-Patent
  8. #
  9. ##
  10. [Defines]
  11. PLATFORM_NAME = SecurityPkg
  12. PLATFORM_GUID = B2C4614D-AE76-47ba-B876-5988BFED064F
  13. PLATFORM_VERSION = 0.98
  14. DSC_SPECIFICATION = 0x00010005
  15. OUTPUT_DIRECTORY = Build/SecurityPkg
  16. SUPPORTED_ARCHITECTURES = IA32|X64|EBC|ARM|AARCH64|RISCV64|LOONGARCH64
  17. BUILD_TARGETS = DEBUG|RELEASE|NOOPT
  18. SKUID_IDENTIFIER = DEFAULT
  19. !include MdePkg/MdeLibs.dsc.inc
  20. [LibraryClasses]
  21. DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
  22. DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
  23. BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
  24. SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
  25. TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
  26. BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
  27. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  28. PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
  29. UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
  30. PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
  31. PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
  32. PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
  33. DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
  34. UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
  35. UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
  36. DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
  37. UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
  38. DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
  39. UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
  40. UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
  41. ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
  42. OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
  43. HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
  44. UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
  45. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  46. IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
  47. TpmCommLib|SecurityPkg/Library/TpmCommLib/TpmCommLib.inf
  48. PlatformSecureLib|SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf
  49. TcgPhysicalPresenceLib|SecurityPkg/Library/DxeTcgPhysicalPresenceLib/DxeTcgPhysicalPresenceLib.inf
  50. TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
  51. Tpm12CommandLib|SecurityPkg/Library/Tpm12CommandLib/Tpm12CommandLib.inf
  52. Tpm2CommandLib|SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf
  53. Tcg2PhysicalPresenceLib|SecurityPkg/Library/DxeTcg2PhysicalPresenceLib/DxeTcg2PhysicalPresenceLib.inf
  54. TcgPpVendorLib|SecurityPkg/Library/TcgPpVendorLibNull/TcgPpVendorLibNull.inf
  55. Tcg2PpVendorLib|SecurityPkg/Library/Tcg2PpVendorLibNull/Tcg2PpVendorLibNull.inf
  56. RngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf
  57. PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
  58. PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
  59. S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
  60. SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
  61. LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf
  62. PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
  63. TcgStorageCoreLib|SecurityPkg/Library/TcgStorageCoreLib/TcgStorageCoreLib.inf
  64. TcgStorageOpalLib|SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalLib.inf
  65. ResetSystemLib|MdeModulePkg/Library/BaseResetSystemLibNull/BaseResetSystemLibNull.inf
  66. VariableKeyLib|SecurityPkg/Library/VariableKeyLibNull/VariableKeyLibNull.inf
  67. RpmcLib|SecurityPkg/Library/RpmcLibNull/RpmcLibNull.inf
  68. TcgEventLogRecordLib|SecurityPkg/Library/TcgEventLogRecordLib/TcgEventLogRecordLib.inf
  69. MmUnblockMemoryLib|MdePkg/Library/MmUnblockMemoryLib/MmUnblockMemoryLibNull.inf
  70. SecureBootVariableLib|SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.inf
  71. PlatformPKProtectionLib|SecurityPkg/Library/PlatformPKProtectionLibVarPolicy/PlatformPKProtectionLibVarPolicy.inf
  72. SecureBootVariableProvisionLib|SecurityPkg/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.inf
  73. TdxLib|MdePkg/Library/TdxLib/TdxLib.inf
  74. [LibraryClasses.ARM, LibraryClasses.AARCH64]
  75. #
  76. # It is not possible to prevent the ARM compiler for generic intrinsic functions.
  77. # This library provides the intrinsic functions generate by a given compiler.
  78. # And NULL mean link this library into all ARM images.
  79. #
  80. NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
  81. # Add support for GCC stack protector
  82. NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
  83. ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.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/VariableKeyLibNull/VariableKeyLibNull.inf
  235. SecurityPkg/Library/RpmcLibNull/RpmcLibNull.inf
  236. SecurityPkg/Library/PlatformPKProtectionLibVarPolicy/PlatformPKProtectionLibVarPolicy.inf
  237. #
  238. # Other
  239. #
  240. SecurityPkg/Library/DxeRsa2048Sha256GuidedSectionExtractLib/DxeRsa2048Sha256GuidedSectionExtractLib.inf
  241. SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/PeiRsa2048Sha256GuidedSectionExtractLib.inf
  242. SecurityPkg/Library/FmpAuthenticationLibPkcs7/FmpAuthenticationLibPkcs7.inf
  243. SecurityPkg/Library/FmpAuthenticationLibRsa2048Sha256/FmpAuthenticationLibRsa2048Sha256.inf
  244. SecurityPkg/Library/PeiTpmMeasurementLib/PeiTpmMeasurementLib.inf
  245. SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
  246. SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf
  247. SecurityPkg/Library/Tcg2PpVendorLibNull/Tcg2PpVendorLibNull.inf
  248. SecurityPkg/Library/TcgPpVendorLibNull/TcgPpVendorLibNull.inf
  249. SecurityPkg/Library/TcgEventLogRecordLib/TcgEventLogRecordLib.inf
  250. [Components.IA32, Components.X64, Components.ARM, Components.AARCH64]
  251. SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
  252. SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.inf
  253. SecurityPkg/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.inf
  254. SecurityPkg/EnrollFromDefaultKeysApp/EnrollFromDefaultKeysApp.inf
  255. SecurityPkg/VariableAuthenticated/SecureBootDefaultKeysDxe/SecureBootDefaultKeysDxe.inf
  256. [Components.IA32, Components.X64, Components.AARCH64]
  257. #
  258. # Random Number Generator
  259. #
  260. SecurityPkg/RandomNumberGenerator/RngDxe/RngDxe.inf
  261. [Components.X64]
  262. SecurityPkg/Library/HashLibTdx/HashLibTdx.inf
  263. SecurityPkg/Library/SecTpmMeasurementLib/SecTpmMeasurementLibTdx.inf
  264. [Components.IA32, Components.X64]
  265. SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
  266. #
  267. # TPM
  268. #
  269. SecurityPkg/Tcg/TcgPei/TcgPei.inf
  270. SecurityPkg/Tcg/TcgDxe/TcgDxe.inf
  271. SecurityPkg/Tcg/TcgConfigDxe/TcgConfigDxe.inf {
  272. <LibraryClasses>
  273. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  274. }
  275. #
  276. # TPM2
  277. #
  278. SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
  279. SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
  280. SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf
  281. SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf
  282. SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf
  283. SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf {
  284. <LibraryClasses>
  285. Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf
  286. Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf
  287. }
  288. SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf {
  289. <LibraryClasses>
  290. Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterPei.inf
  291. NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf
  292. NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
  293. NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
  294. NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf
  295. NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf
  296. NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf
  297. }
  298. SecurityPkg/Tcg/Tcg2PlatformPei/Tcg2PlatformPei.inf {
  299. <LibraryClasses>
  300. TpmPlatformHierarchyLib|SecurityPkg/Library/PeiDxeTpmPlatformHierarchyLib/PeiDxeTpmPlatformHierarchyLib.inf
  301. }
  302. SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf {
  303. <LibraryClasses>
  304. Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterDxe.inf
  305. NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf
  306. NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
  307. NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
  308. NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf
  309. NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf
  310. NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf
  311. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  312. }
  313. SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf {
  314. <LibraryClasses>
  315. Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
  316. }
  317. SecurityPkg/Tcg/Tcg2PlatformDxe/Tcg2PlatformDxe.inf {
  318. <LibraryClasses>
  319. TpmPlatformHierarchyLib|SecurityPkg/Library/PeiDxeTpmPlatformHierarchyLib/PeiDxeTpmPlatformHierarchyLib.inf
  320. }
  321. #
  322. # Hash2
  323. #
  324. SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.inf
  325. #
  326. # PKCS7 Verification
  327. #
  328. SecurityPkg/Pkcs7Verify/Pkcs7VerifyDxe/Pkcs7VerifyDxe.inf
  329. [Components.IA32, Components.X64]
  330. SecurityPkg/Tcg/MemoryOverwriteRequestControlLock/TcgMorLockSmm.inf
  331. SecurityPkg/Tcg/TcgSmm/TcgSmm.inf
  332. SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.inf
  333. SecurityPkg/Tcg/Tcg2Smm/Tcg2StandaloneMm.inf
  334. SecurityPkg/Tcg/Tcg2Smm/Tcg2MmDependencyDxe.inf
  335. SecurityPkg/Tcg/Tcg2Acpi/Tcg2Acpi.inf
  336. SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresenceLib.inf
  337. SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/StandaloneMmTcg2PhysicalPresenceLib.inf
  338. #
  339. # Opal Password solution
  340. #
  341. SecurityPkg/Tcg/Opal/OpalPassword/OpalPasswordDxe.inf
  342. SecurityPkg/Tcg/Opal/OpalPassword/OpalPasswordPei.inf
  343. #
  344. # HDD Password solution
  345. #
  346. SecurityPkg/HddPassword/HddPasswordDxe.inf
  347. SecurityPkg/HddPassword/HddPasswordPei.inf
  348. #
  349. # Common FV checker/verifier/reporter
  350. #
  351. SecurityPkg/FvReportPei/FvReportPei.inf
  352. [BuildOptions]
  353. MSFT:*_*_IA32_DLINK_FLAGS = /ALIGN:256
  354. INTEL:*_*_IA32_DLINK_FLAGS = /ALIGN:256
  355. *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES