]> git.proxmox.com Git - mirror_edk2.git/blobdiff - CryptoPkg/CryptoPkg.dec
CryptoPkg/BaseHashApiLib: Align BaseHashApiLib with TPM 2.0 Implementation
[mirror_edk2.git] / CryptoPkg / CryptoPkg.dec
index 8bd63a76dd2266520b59eff1ba514104cf672287..82437fef6d893e4404c6f7b40d09bd7b84bcabd3 100644 (file)
   #  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