Private\r
Library/Include\r
Library/OpensslLib/openssl/include\r
- Library/OpensslLib/openssl/crypto/include\r
\r
[LibraryClasses]\r
## @libraryclass Provides basic library functions for cryptographic primitives.\r
#\r
HashApiLib|Include/Library/HashApiLib.h\r
\r
+[LibraryClasses.common.Private]\r
+ ## @libraryclass Provides library functions from the openssl project.\r
+ #\r
+ OpensslLib|Private/Library/OpensslLib.h\r
+\r
+ ## @libraryclass Provides compiler intrinsic functions required to link openssl project.\r
+ #\r
+ InstrinsicLib|Private/Library/IntrinsicLib.h\r
+\r
[Protocols]\r
## EDK II Crypto DXE protocol\r
# 2C2275C9-3A7B-426F-BE54-2D22BD9D1092\r
Pcd/PcdCryptoServiceFamilyEnable.h\r
}\r
\r
-[PcdsFixedAtBuild, PcdsPatchableInModule, PcdsDynamic, PcdsDynamicEx]\r
## This PCD indicates the HASH algorithm to calculate hash of data\r
# Based on the value set, the required algorithm is chosen to calculate\r
# the hash of data.<BR>\r
# The default hashing algorithm for BaseHashApiLib is set to SHA256.<BR>\r
- # 0x00000001 - MD4.<BR>\r
- # 0x00000002 - MD5.<BR>\r
- # 0x00000003 - SHA1.<BR>\r
- # 0x00000004 - SHA256.<BR>\r
- # 0x00000005 - SHA384.<BR>\r
- # 0x00000006 - SHA512.<BR>\r
- # 0x00000007 - SM3_256.<BR>\r
+ # 0x00000001 - HASH_ALG_SHA1.<BR>\r
+ # 0x00000002 - HASH_ALG_SHA256.<BR>\r
+ # 0x00000004 - HASH_ALG_SHA384.<BR>\r
+ # 0x00000008 - HASH_ALG_SHA512.<BR>\r
+ # 0x00000010 - HASH_ALG_SM3_256.<BR>\r
# @Prompt Set policy for hashing unsigned image for Secure Boot.\r
- # @ValidRange 0x80000001 | 0x00000001 - 0x00000007\r
- gEfiCryptoPkgTokenSpaceGuid.PcdHashApiLibPolicy|0x04|UINT8|0x00000001\r
+ # @ValidList 0x80000001 | 0x00000001, 0x00000002, 0x00000004, 0x00000008, 0x00000010\r
+ gEfiCryptoPkgTokenSpaceGuid.PcdHashApiLibPolicy|0x00000002|UINT32|0x00000001\r
\r
[UserExtensions.TianoCore."ExtraFiles"]\r
CryptoPkgExtra.uni\r