diff options
author | Jiewen Yao <jiewen.yao@intel.com> | 2016-09-14 10:07:45 +0800 |
---|---|---|
committer | Star Zeng <star.zeng@intel.com> | 2016-09-21 18:20:18 +0800 |
commit | 77e55cf4e283942766d6178eca375aeec055bff2 (patch) | |
tree | cff9a89ca41c3c6a3d98f4c1a38839fb68ebc8aa /SecurityPkg/Include | |
parent | f28ab8494664411ac9b3ec22b82d714d8a3ca4c1 (diff) | |
download | edk2-77e55cf4e283942766d6178eca375aeec055bff2.tar.gz edk2-77e55cf4e283942766d6178eca375aeec055bff2.tar.bz2 edk2-77e55cf4e283942766d6178eca375aeec055bff2.zip |
SecurityPkg/TPM2: Move GetDigestListSize() to Tpm2CommandLib
This patch just moves function GetDigestListSize() from
drivers to library and no functionality change.
Cc: Chao B Zhang <chao.b.zhang@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiewen Yao <jiewen.yao@intel.com>
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Chao Zhang <chao.b.zhang@intel.com>
Diffstat (limited to 'SecurityPkg/Include')
-rw-r--r-- | SecurityPkg/Include/Library/Tpm2CommandLib.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/SecurityPkg/Include/Library/Tpm2CommandLib.h b/SecurityPkg/Include/Library/Tpm2CommandLib.h index 1a837fd11f..563cfc26e3 100644 --- a/SecurityPkg/Include/Library/Tpm2CommandLib.h +++ b/SecurityPkg/Include/Library/Tpm2CommandLib.h @@ -989,6 +989,19 @@ GetHashSizeFromAlgo ( );
/**
+ Get TPML_DIGEST_VALUES data size.
+
+ @param[in] DigestList TPML_DIGEST_VALUES data.
+
+ @return TPML_DIGEST_VALUES data size.
+**/
+UINT32
+EFIAPI
+GetDigestListSize(
+ IN TPML_DIGEST_VALUES *DigestList
+ );
+
+/**
This function get digest from digest list.
@param[in] HashAlg Digest algorithm
|