To make the description more clear, update the description
for parameter Buffer of GetDigestListSize() to
"Buffer to hold copied TPML_DIGEST_VALUES compact binary.".

Cc: Jiewen Yao <jiewen....@intel.com>
Cc: Chao Zhang <chao.b.zh...@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.z...@intel.com>
---
 SecurityPkg/Include/Library/Tpm2CommandLib.h  | 2 +-
 SecurityPkg/Library/Tpm2CommandLib/Tpm2Help.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/SecurityPkg/Include/Library/Tpm2CommandLib.h 
b/SecurityPkg/Include/Library/Tpm2CommandLib.h
index 699270f127a1..f7a04f20929a 100644
--- a/SecurityPkg/Include/Library/Tpm2CommandLib.h
+++ b/SecurityPkg/Include/Library/Tpm2CommandLib.h
@@ -1038,7 +1038,7 @@ IsHashAlgSupportedInHashAlgorithmMask(
 /**
   Copy TPML_DIGEST_VALUES into a buffer
 
-  @param[in,out] Buffer             Buffer to hold TPML_DIGEST_VALUES.
+  @param[in,out] Buffer             Buffer to hold copied TPML_DIGEST_VALUES 
compact binary.
   @param[in]     DigestList         TPML_DIGEST_VALUES to be copied.
   @param[in]     HashAlgorithmMask  HASH bits corresponding to the desired 
digests to copy.
 
diff --git a/SecurityPkg/Library/Tpm2CommandLib/Tpm2Help.c 
b/SecurityPkg/Library/Tpm2CommandLib/Tpm2Help.c
index 9aa77af97af1..64d3c531ff92 100644
--- a/SecurityPkg/Library/Tpm2CommandLib/Tpm2Help.c
+++ b/SecurityPkg/Library/Tpm2CommandLib/Tpm2Help.c
@@ -239,7 +239,7 @@ IsHashAlgSupportedInHashAlgorithmMask(
 /**
   Copy TPML_DIGEST_VALUES into a buffer
 
-  @param[in,out] Buffer             Buffer to hold TPML_DIGEST_VALUES.
+  @param[in,out] Buffer             Buffer to hold copied TPML_DIGEST_VALUES 
compact binary.
   @param[in]     DigestList         TPML_DIGEST_VALUES to be copied.
   @param[in]     HashAlgorithmMask  HASH bits corresponding to the desired 
digests to copy.
 
-- 
2.7.0.windows.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to