SmmCryptLib.inf 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. ## @file
  2. # Cryptographic Library Instance for SMM driver.
  3. #
  4. # Caution: This module requires additional review when modified.
  5. # This library will have external input - signature.
  6. # This external input must be validated carefully to avoid security issues such as
  7. # buffer overflow or integer overflow.
  8. #
  9. # Note: SHA-384 Digest functions, SHA-512 Digest functions,
  10. # RSA external functions, PKCS#7 SignedData sign functions, Diffie-Hellman functions, and
  11. # authenticode signature verification functions are not supported in this instance.
  12. #
  13. # Copyright (c) 2010 - 2022, Intel Corporation. All rights reserved.<BR>
  14. # SPDX-License-Identifier: BSD-2-Clause-Patent
  15. #
  16. ##
  17. [Defines]
  18. INF_VERSION = 0x00010005
  19. BASE_NAME = SmmCryptLib
  20. MODULE_UNI_FILE = SmmCryptLib.uni
  21. FILE_GUID = 028080a3-8958-4a62-a1a8-0fa1da162007
  22. MODULE_TYPE = DXE_SMM_DRIVER
  23. VERSION_STRING = 1.0
  24. PI_SPECIFICATION_VERSION = 0x0001000A
  25. LIBRARY_CLASS = BaseCryptLib|DXE_SMM_DRIVER SMM_CORE MM_STANDALONE
  26. #
  27. # The following information is for reference only and not required by the build tools.
  28. #
  29. # VALID_ARCHITECTURES = IA32 X64 ARM AARCH64
  30. #
  31. [Sources]
  32. InternalCryptLib.h
  33. Hash/CryptMd5.c
  34. Hash/CryptSha1.c
  35. Hash/CryptSha256.c
  36. Hash/CryptSm3.c
  37. Hash/CryptSha512.c
  38. Hash/CryptSha3.c
  39. Hash/CryptXkcp.c
  40. Hash/CryptCShake256.c
  41. Hash/CryptParallelHash.c
  42. Hash/CryptDispatchApMm.c
  43. Hmac/CryptHmac.c
  44. Kdf/CryptHkdf.c
  45. Cipher/CryptAes.c
  46. Cipher/CryptAeadAesGcmNull.c
  47. Pk/CryptRsaBasic.c
  48. Pk/CryptRsaExtNull.c
  49. Pk/CryptPkcs1Oaep.c
  50. Pk/CryptPkcs5Pbkdf2.c
  51. Pk/CryptPkcs7SignNull.c
  52. Pk/CryptPkcs7VerifyCommon.c
  53. Pk/CryptPkcs7VerifyBase.c
  54. Pk/CryptPkcs7VerifyEku.c
  55. Pk/CryptDhNull.c
  56. Pk/CryptX509.c
  57. Pk/CryptAuthenticodeNull.c
  58. Pk/CryptTsNull.c
  59. Pk/CryptRsaPss.c
  60. Pk/CryptRsaPssSignNull.c
  61. Pk/CryptEcNull.c
  62. Pem/CryptPem.c
  63. Bn/CryptBnNull.c
  64. SysCall/CrtWrapper.c
  65. SysCall/ConstantTimeClock.c
  66. SysCall/BaseMemAllocation.c
  67. [Sources.Ia32]
  68. Rand/CryptRandTsc.c
  69. [Sources.X64]
  70. Rand/CryptRandTsc.c
  71. [Sources.ARM]
  72. Rand/CryptRand.c
  73. [Sources.AARCH64]
  74. Rand/CryptRand.c
  75. [Packages]
  76. MdePkg/MdePkg.dec
  77. CryptoPkg/CryptoPkg.dec
  78. [LibraryClasses]
  79. BaseLib
  80. BaseMemoryLib
  81. MemoryAllocationLib
  82. OpensslLib
  83. IntrinsicLib
  84. PrintLib
  85. MmServicesTableLib
  86. SynchronizationLib
  87. #
  88. # Remove these [BuildOptions] after this library is cleaned up
  89. #
  90. [BuildOptions]
  91. #
  92. # suppress the following warnings so we do not break the build with warnings-as-errors:
  93. #
  94. XCODE:*_*_*_CC_FLAGS = -mmmx -msse -std=c99
  95. GCC:*_CLANG35_*_CC_FLAGS = -std=c99
  96. GCC:*_CLANG38_*_CC_FLAGS = -std=c99
  97. GCC:*_CLANGPDB_*_CC_FLAGS = -std=c99 -Wno-error=incompatible-pointer-types