summaryrefslogtreecommitdiff
path: root/SecurityPkg/Library
diff options
context:
space:
mode:
authorStar Zeng <star.zeng@intel.com>2016-11-17 16:41:08 +0800
committerStar Zeng <star.zeng@intel.com>2016-11-21 10:38:30 +0800
commit697c30b157c90c9c1a6c6610d73a49e4f5fd56b3 (patch)
tree9cb7deafac8e980f2a80b6bee0ae605b9326de09 /SecurityPkg/Library
parentbe93a17bbd1e8dd83904653aec17728641d67048 (diff)
downloadedk2-697c30b157c90c9c1a6c6610d73a49e4f5fd56b3.zip
edk2-697c30b157c90c9c1a6c6610d73a49e4f5fd56b3.tar.gz
edk2-697c30b157c90c9c1a6c6610d73a49e4f5fd56b3.tar.bz2
SecurityPkg TPM2: Make IsHashAlgSupportedInHashAlgorithmMask external
Current IsHashAlgSupportedInHashAlgorithmMask is only an internal function, this patch makes it external for coming consumer. Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Chao Zhang <chao.b.zhang@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com> Reviewed-by : Chao Zhang <chao.b.zhang@intel.com>
Diffstat (limited to 'SecurityPkg/Library')
-rw-r--r--SecurityPkg/Library/Tpm2CommandLib/Tpm2Help.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/SecurityPkg/Library/Tpm2CommandLib/Tpm2Help.c b/SecurityPkg/Library/Tpm2CommandLib/Tpm2Help.c
index be95fd6..95d4f7c 100644
--- a/SecurityPkg/Library/Tpm2CommandLib/Tpm2Help.c
+++ b/SecurityPkg/Library/Tpm2CommandLib/Tpm2Help.c
@@ -175,6 +175,7 @@ CopyAuthSessionResponse (
@retval FALSE Hash algorithm is not supported.
**/
BOOLEAN
+EFIAPI
IsHashAlgSupportedInHashAlgorithmMask(
IN TPMI_ALG_HASH HashAlg,
IN UINT32 HashAlgorithmMask