SecurityPkg.dsc 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409
  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. VariableKeyLib|SecurityPkg/Library/VariableKeyLibNull/VariableKeyLibNull.inf
  68. RpmcLib|SecurityPkg/Library/RpmcLibNull/RpmcLibNull.inf
  69. TcgEventLogRecordLib|SecurityPkg/Library/TcgEventLogRecordLib/TcgEventLogRecordLib.inf
  70. MmUnblockMemoryLib|MdePkg/Library/MmUnblockMemoryLib/MmUnblockMemoryLibNull.inf
  71. SecureBootVariableLib|SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.inf
  72. PlatformPKProtectionLib|SecurityPkg/Library/PlatformPKProtectionLibVarPolicy/PlatformPKProtectionLibVarPolicy.inf
  73. SecureBootVariableProvisionLib|SecurityPkg/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.inf
  74. TdxLib|MdePkg/Library/TdxLib/TdxLib.inf
  75. [LibraryClasses.ARM, LibraryClasses.AARCH64]
  76. #
  77. # It is not possible to prevent the ARM compiler for generic intrinsic functions.
  78. # This library provides the intrinsic functions generate by a given compiler.
  79. # And NULL mean link this library into all ARM images.
  80. #
  81. NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
  82. # Add support for GCC stack protector
  83. NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
  84. ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf
  85. ArmTrngLib|MdePkg/Library/BaseArmTrngLibNull/BaseArmTrngLibNull.inf
  86. [LibraryClasses.ARM]
  87. RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
  88. [LibraryClasses.RISCV64]
  89. RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
  90. [LibraryClasses.X64.SEC]
  91. HashLib|SecurityPkg/Library/HashLibTdx/HashLibTdx.inf
  92. TpmMeasurementLib|SecurityPkg/Library/SecTpmMeasurementLib/SecTpmMeasurementLibTdx.inf
  93. [LibraryClasses.X64.DXE_DRIVER]
  94. HashLib|SecurityPkg/Library/HashLibTdx/HashLibTdx.inf
  95. [LibraryClasses.common.PEIM]
  96. PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
  97. PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
  98. PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
  99. HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
  100. MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
  101. !ifdef CONTINUOUS_INTEGRATION
  102. BaseCryptLib|CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf
  103. !else
  104. IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
  105. OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
  106. BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
  107. !endif
  108. HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf
  109. ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
  110. Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf
  111. Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf
  112. Tcg2PhysicalPresenceLib|SecurityPkg/Library/PeiTcg2PhysicalPresenceLib/PeiTcg2PhysicalPresenceLib.inf
  113. TpmMeasurementLib|SecurityPkg/Library/PeiTpmMeasurementLib/PeiTpmMeasurementLib.inf
  114. RngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf
  115. [LibraryClasses.common.DXE_DRIVER]
  116. HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
  117. ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
  118. !ifdef CONTINUOUS_INTEGRATION
  119. BaseCryptLib|CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf
  120. !else
  121. IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
  122. OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
  123. BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
  124. !endif
  125. HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
  126. Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf
  127. Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
  128. FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
  129. [LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.DXE_RUNTIME_DRIVER, LibraryClasses.common.DXE_SAL_DRIVER,]
  130. HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
  131. DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
  132. HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
  133. Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf
  134. Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
  135. [LibraryClasses.common.DXE_RUNTIME_DRIVER]
  136. ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
  137. !ifdef CONTINUOUS_INTEGRATION
  138. BaseCryptLib|CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf
  139. !else
  140. IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
  141. OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
  142. BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
  143. !endif
  144. HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
  145. Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf
  146. Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
  147. [LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.UEFI_APPLICATION]
  148. !ifdef CONTINUOUS_INTEGRATION
  149. BaseCryptLib|CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf
  150. !else
  151. IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
  152. OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
  153. BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
  154. !endif
  155. HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
  156. HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
  157. Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf
  158. Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
  159. [LibraryClasses.common.DXE_SMM_DRIVER]
  160. HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
  161. SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
  162. MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
  163. MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
  164. ReportStatusCodeLib|MdeModulePkg/Library/SmmReportStatusCodeLib/SmmReportStatusCodeLib.inf
  165. SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
  166. !ifdef CONTINUOUS_INTEGRATION
  167. BaseCryptLib|CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf
  168. !else
  169. IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
  170. OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
  171. BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
  172. !endif
  173. Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf
  174. Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
  175. Tcg2PhysicalPresenceLib|SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresenceLib.inf
  176. SmmIoLib|MdePkg/Library/SmmIoLib/SmmIoLib.inf
  177. [LibraryClasses.common.MM_STANDALONE]
  178. StandaloneMmDriverEntryPoint|MdePkg/Library/StandaloneMmDriverEntryPoint/StandaloneMmDriverEntryPoint.inf
  179. MmServicesTableLib|MdePkg/Library/StandaloneMmServicesTableLib/StandaloneMmServicesTableLib.inf
  180. Tcg2PhysicalPresenceLib|SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/StandaloneMmTcg2PhysicalPresenceLib.inf
  181. MemLib|StandaloneMmPkg/Library/StandaloneMmMemLib/StandaloneMmMemLib.inf
  182. HobLib|StandaloneMmPkg/Library/StandaloneMmHobLib/StandaloneMmHobLib.inf
  183. MemoryAllocationLib|StandaloneMmPkg/Library/StandaloneMmMemoryAllocationLib/StandaloneMmMemoryAllocationLib.inf
  184. [PcdsDynamicDefault.common.DEFAULT]
  185. gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid|{0xb6, 0xe5, 0x01, 0x8b, 0x19, 0x4f, 0xe8, 0x46, 0xab, 0x93, 0x1c, 0x53, 0x67, 0x1b, 0x90, 0xcc}
  186. gEfiSecurityPkgTokenSpaceGuid.PcdTpm2InitializationPolicy|1
  187. gEfiSecurityPkgTokenSpaceGuid.PcdTpm2SelfTestPolicy|1
  188. gEfiSecurityPkgTokenSpaceGuid.PcdTpm2ScrtmPolicy|1
  189. gEfiSecurityPkgTokenSpaceGuid.PcdTpmInitializationPolicy|1
  190. gEfiSecurityPkgTokenSpaceGuid.PcdTpmScrtmPolicy|1
  191. gEfiSecurityPkgTokenSpaceGuid.PcdTpm2HashMask|3
  192. gEfiSecurityPkgTokenSpaceGuid.PcdTcg2HashAlgorithmBitmap|3
  193. [PcdsDynamicHii.common.DEFAULT]
  194. gEfiSecurityPkgTokenSpaceGuid.PcdTcgPhysicalPresenceInterfaceVer|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x0|"1.3"|NV,BS
  195. gEfiSecurityPkgTokenSpaceGuid.PcdTpm2AcpiTableRev|L"TCG2_VERSION"|gTcg2ConfigFormSetGuid|0x8|3|NV,BS
  196. [Components]
  197. SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
  198. SecurityPkg/Library/DxeImageAuthenticationStatusLib/DxeImageAuthenticationStatusLib.inf
  199. #
  200. # TPM
  201. #
  202. SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.inf
  203. SecurityPkg/Library/TpmCommLib/TpmCommLib.inf
  204. SecurityPkg/Library/DxeTcgPhysicalPresenceLib/DxeTcgPhysicalPresenceLib.inf
  205. SecurityPkg/Library/Tpm12CommandLib/Tpm12CommandLib.inf
  206. SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf
  207. SecurityPkg/Library/Tpm12DeviceLibTcg/Tpm12DeviceLibTcg.inf
  208. SecurityPkg/Tcg/PhysicalPresencePei/PhysicalPresencePei.inf
  209. SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.inf
  210. #
  211. # TPM2
  212. #
  213. SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf
  214. SecurityPkg/Library/DxeTcg2PhysicalPresenceLib/DxeTcg2PhysicalPresenceLib.inf
  215. SecurityPkg/Library/PeiTcg2PhysicalPresenceLib/PeiTcg2PhysicalPresenceLib.inf
  216. SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
  217. SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf
  218. SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf
  219. SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
  220. SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf
  221. SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf
  222. SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpmStandaloneMm.inf
  223. SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterDxe.inf
  224. SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterPei.inf
  225. SecurityPkg/Library/HashLibTpm2/HashLibTpm2.inf
  226. SecurityPkg/Library/PeiDxeTpmPlatformHierarchyLib/PeiDxeTpmPlatformHierarchyLib.inf
  227. SecurityPkg/Library/PeiDxeTpmPlatformHierarchyLibNull/PeiDxeTpmPlatformHierarchyLib.inf
  228. #
  229. # TCG Storage.
  230. #
  231. SecurityPkg/Library/TcgStorageCoreLib/TcgStorageCoreLib.inf
  232. SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalLib.inf
  233. #
  234. # Variable Confidentiality & Integrity
  235. #
  236. SecurityPkg/Library/VariableKeyLibNull/VariableKeyLibNull.inf
  237. SecurityPkg/Library/RpmcLibNull/RpmcLibNull.inf
  238. SecurityPkg/Library/PlatformPKProtectionLibVarPolicy/PlatformPKProtectionLibVarPolicy.inf
  239. #
  240. # Other
  241. #
  242. SecurityPkg/Library/DxeRsa2048Sha256GuidedSectionExtractLib/DxeRsa2048Sha256GuidedSectionExtractLib.inf
  243. SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/PeiRsa2048Sha256GuidedSectionExtractLib.inf
  244. SecurityPkg/Library/FmpAuthenticationLibPkcs7/FmpAuthenticationLibPkcs7.inf
  245. SecurityPkg/Library/FmpAuthenticationLibRsa2048Sha256/FmpAuthenticationLibRsa2048Sha256.inf
  246. SecurityPkg/Library/PeiTpmMeasurementLib/PeiTpmMeasurementLib.inf
  247. SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
  248. SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf
  249. SecurityPkg/Library/Tcg2PpVendorLibNull/Tcg2PpVendorLibNull.inf
  250. SecurityPkg/Library/TcgPpVendorLibNull/TcgPpVendorLibNull.inf
  251. SecurityPkg/Library/TcgEventLogRecordLib/TcgEventLogRecordLib.inf
  252. [Components.IA32, Components.X64, Components.ARM, Components.AARCH64]
  253. SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
  254. SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.inf
  255. SecurityPkg/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.inf
  256. SecurityPkg/EnrollFromDefaultKeysApp/EnrollFromDefaultKeysApp.inf
  257. SecurityPkg/VariableAuthenticated/SecureBootDefaultKeysDxe/SecureBootDefaultKeysDxe.inf
  258. [Components.IA32, Components.X64, Components.AARCH64, Components.ARM]
  259. #
  260. # Random Number Generator
  261. #
  262. SecurityPkg/RandomNumberGenerator/RngDxe/RngDxe.inf
  263. [Components.X64]
  264. SecurityPkg/Library/HashLibTdx/HashLibTdx.inf
  265. SecurityPkg/Library/SecTpmMeasurementLib/SecTpmMeasurementLibTdx.inf
  266. [Components.IA32, Components.X64]
  267. SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
  268. #
  269. # TPM
  270. #
  271. SecurityPkg/Tcg/TcgPei/TcgPei.inf
  272. SecurityPkg/Tcg/TcgDxe/TcgDxe.inf
  273. SecurityPkg/Tcg/TcgConfigDxe/TcgConfigDxe.inf {
  274. <LibraryClasses>
  275. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  276. }
  277. #
  278. # TPM2
  279. #
  280. SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
  281. SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
  282. SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf
  283. SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf
  284. SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf
  285. SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf {
  286. <LibraryClasses>
  287. Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf
  288. Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf
  289. }
  290. SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf {
  291. <LibraryClasses>
  292. Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterPei.inf
  293. NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf
  294. NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
  295. NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
  296. NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf
  297. NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf
  298. NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf
  299. }
  300. SecurityPkg/Tcg/Tcg2PlatformPei/Tcg2PlatformPei.inf {
  301. <LibraryClasses>
  302. TpmPlatformHierarchyLib|SecurityPkg/Library/PeiDxeTpmPlatformHierarchyLib/PeiDxeTpmPlatformHierarchyLib.inf
  303. }
  304. SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf {
  305. <LibraryClasses>
  306. Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterDxe.inf
  307. NULL|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf
  308. NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
  309. NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
  310. NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf
  311. NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf
  312. NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf
  313. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  314. }
  315. SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf {
  316. <LibraryClasses>
  317. Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
  318. }
  319. SecurityPkg/Tcg/Tcg2PlatformDxe/Tcg2PlatformDxe.inf {
  320. <LibraryClasses>
  321. TpmPlatformHierarchyLib|SecurityPkg/Library/PeiDxeTpmPlatformHierarchyLib/PeiDxeTpmPlatformHierarchyLib.inf
  322. }
  323. #
  324. # Hash2
  325. #
  326. SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.inf
  327. #
  328. # PKCS7 Verification
  329. #
  330. SecurityPkg/Pkcs7Verify/Pkcs7VerifyDxe/Pkcs7VerifyDxe.inf
  331. [Components.IA32, Components.X64]
  332. SecurityPkg/Tcg/MemoryOverwriteRequestControlLock/TcgMorLockSmm.inf
  333. SecurityPkg/Tcg/TcgSmm/TcgSmm.inf
  334. SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.inf
  335. SecurityPkg/Tcg/Tcg2Smm/Tcg2StandaloneMm.inf
  336. SecurityPkg/Tcg/Tcg2Smm/Tcg2MmDependencyDxe.inf
  337. SecurityPkg/Tcg/Tcg2Acpi/Tcg2Acpi.inf
  338. SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresenceLib.inf
  339. SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/StandaloneMmTcg2PhysicalPresenceLib.inf
  340. #
  341. # Opal Password solution
  342. #
  343. SecurityPkg/Tcg/Opal/OpalPassword/OpalPasswordDxe.inf
  344. SecurityPkg/Tcg/Opal/OpalPassword/OpalPasswordPei.inf
  345. #
  346. # HDD Password solution
  347. #
  348. SecurityPkg/HddPassword/HddPasswordDxe.inf
  349. SecurityPkg/HddPassword/HddPasswordPei.inf
  350. #
  351. # Common FV checker/verifier/reporter
  352. #
  353. SecurityPkg/FvReportPei/FvReportPei.inf
  354. [BuildOptions]
  355. MSFT:*_*_IA32_DLINK_FLAGS = /ALIGN:256
  356. INTEL:*_*_IA32_DLINK_FLAGS = /ALIGN:256
  357. *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES